Skip to content

Access control lists (ACLs) Questions

Practice questions for Access control lists (ACLs) topic in HashiCorp Certified: Consul Associate (003). 24 questions covering this domain.

24 questions6 easy11 medium7 hard
Q1
hard

A security engineer needs to assign multiple ACL policies to a single Consul token so that a service identity has all the permissions it needs. Which ...

Q2
easy

Which command initializes the Consul ACL system for the first time and returns the initial management token?

Q3
easy

A Consul operator wants to run CLI commands without specifying a token on every command. Which environment variable should they set to provide the tok...

Q4
medium

An operator creates a Consul ACL policy with the rule below. Which operations does this policy permit on the `web` service?\n\n```hcl\nservice "web" {...

Q5
medium

A Consul operator wants agent ACL tokens to survive agent restarts so they are not lost when the agent process is stopped and restarted. Which agent c...

Q6
hard

A team discovers that a Consul agent's ACL token was compromised. They immediately want to revoke that token and replace it with a new one. What is th...

Q7
medium

During an outage, servers are unavailable to validate normal tokens. Which token is intended for operators who still need access to privileged agent e...

Q8
medium

Why does the ACL reference strongly recommend configuring a dedicated `dns` token instead of relying on the `default` token for DNS responses?

Q9
easy

Why would an ACL administrator attach policies to a role and then attach the role to tokens instead of attaching every policy directly to each token?

Q10
hard

A secondary datacenter cannot reach the primary ACL authority. Its `down_policy` is `extend-cache`. How does Consul evaluate requests?

Q11
hard

An operator preconfigures `acl.tokens.initial_management` on all servers in the primary datacenter. When is that token installed?

Q12
medium

ACLs are enabled and a service is registered from a local config file without a `token` field inside the service definition. Which token does the agen...

Q13
medium

What is the main purpose of a node identity in Consul ACLs?

Q14
medium

An agent is configured with acl.tokens.default. What happens when a request does not provide any explicit token?

Q15
medium

Why would an ACL administrator attach a service identity to a token or role?

Q16
hard

A team tunes ACL caches and wants to understand the default staleness tradeoff. Which statement matches the reference?

Q17
hard

What changes when acl.enable_key_list_policy is set to true?

Q18
easy

When an application sends a Consul API request and ACLs are enabled, which token field is the credential that authenticates the request?

Q19
easy

When ACLs are enabled, which ACL token field is the credential that authenticates API and CLI requests, while the other is mainly useful for audit ide...

Q20
medium

A primary datacenter server has acl.tokens.initial_management configured. When is that well-known initial management token installed?

Sign in to see all 24 questions

Create a free account to browse all questions — completely free during our launch phase.