Courseiva

CCNA Access Control Configuration Questions

19 questions · Access Control Configuration · All types, answers revealed

1
MCQmedium

An organization wants to enforce that a specific group of users can only request secrets if a manager approves the request via a Control Group. Which object must be created to define the approval workflow?

A.Sentinel Policy
B.Identity Group
C.Control Group Policy
D.Auth Method
E.ACL Namespace
AnswerC

A Control Group Policy is the Vault object that wraps specified paths, requiring authoriser approval before the requesting user's token can read the secret. Creating it defines the approval workflow, satisfying the requirement that a manager authorise each secrets request.

Why this answer

To enforce that a specific group of users can only request secrets if a manager approves via a Control Group, you must create a Control Group Policy. This policy defines the approval workflow, including the required number of approvals and the authorized approvers. Control Groups are a Vault Enterprise feature that adds an additional authorization step for sensitive operations.

Exam trap

Vault Enterprise often tests the misconception that Sentinel Policies alone can enforce approval workflows, or that Identity Groups define the workflow. The trap is confusing the object that defines the approval process.

How to eliminate wrong answers

Option A is wrong because Sentinel Policies are for fine-grained policy enforcement but do not inherently provide an approval workflow; they can be used in conjunction with Control Groups but are not the object that defines the approval workflow. Option B is wrong because an Identity Group is used to group users for policy assignment, not to define approval workflows. Option D is wrong because an Auth Method is used for authentication, not authorization approval.

Option E is wrong because an ACL Namespace is not a Vault object; namespaces are used for multi-tenancy, and ACLs are policies.

2
Multi-Selecthard

Which THREE features are specific to Vault Enterprise when managing access control?

Select 3 answers
A.Namespaces
B.Token Auth Method
C.Sentinel Policies
D.KV v2 Secrets Engine
E.Replication
AnswersA, C, E

Namespaces partition a single Vault cluster into isolated tenants, each with its own auth methods, secrets engines and policies. This multi-tenancy isolation is Enterprise-only, satisfying the question's requirement for access-control features specific to Vault Enterprise.

Why this answer

Namespaces (A) are a Vault Enterprise-only feature that lets you create isolated tenants within a single Vault cluster, each with its own auth methods, secrets engines, policies, and tokens, which is why it is correct for enterprise access control. Sentinel Policies (C) are also Enterprise-only; Sentinel is HashiCorp's policy-as-code framework that adds fine-grained, condition-based governance (e.g., time-of-day, MFA, CIDR checks) on top of standard Vault ACL policies. Replication (E) is Enterprise-only as well, providing Performance Replication and Disaster Recovery Replication to distribute and protect Vault data across clusters, a capability tied to enterprise access and availability management.

Token Auth Method (B) is a built-in, open-source auth method available in all Vault editions, and KV v2 Secrets Engine (D) is likewise an open-source secrets engine, so neither is specific to Vault Enterprise.

Exam trap

The trap is assuming that commonly used features like Token Auth or KV v2 are Enterprise-only; candidates must distinguish Community Edition features from Enterprise-exclusive ones.

3
MCQeasy

What is the effect of setting 'token_ttl' on a Role?

A.It sets the initial duration for the token.
B.It restricts the number of uses.
C.It forces the token to be renewable.
D.It changes the token type.
E.It prevents the token from being revoked.
AnswerA

token_ttl sets the initial lease duration assigned when the token is issued, after which it expires unless renewed. This satisfies the stem's requirement to control the token's starting lifetime, distinct from token_max_ttl, which caps total renewal.

Why this answer

Setting 'token_ttl' on a Vault role defines the initial Time-To-Live (TTL) for tokens issued under that role. This TTL is the starting lease duration before any renewal occurs. It does not affect the token's type, renewability, or number of uses; those are controlled by separate parameters like 'token_type', 'token_num_uses', and 'token_explicit_max_ttl'.

Exam trap

Vault Enterprise often tests the distinction between 'token_ttl' (initial TTL) and 'token_max_ttl' (maximum TTL), as well as other token parameters like 'token_num_uses' and 'token_type', causing candidates to confuse the purpose of each setting.

How to eliminate wrong answers

Option B is wrong because the number of uses is controlled by 'token_num_uses', not 'token_ttl'. Option C is wrong because renewability is determined by 'token_renewable' (or the token type), not by the TTL value. Option D is wrong because the token type (e.g., service, batch) is set via 'token_type', not 'token_ttl'.

Option E is wrong because token revocation is independent of TTL; tokens can be revoked manually or via lease revocation regardless of TTL.

4
MCQmedium

What is the result of assigning a policy with 'deny' capability to a path that is also covered by an 'allowed' capability in a different policy?

A.The user is denied access.
B.The policy is considered invalid.
C.The user is allowed access.
D.The user receives a 403 Forbidden error.
E.Access is determined by the order of policy assignment.
AnswerA

Vault evaluates deny as an absolute override: any matching deny capability wins regardless of allow elsewhere. A single policy denying the path therefore blocks access, even where another policy grants it, satisfying the stem's conflicting-policy scenario.

Why this answer

Vault evaluates all policies attached to a token and applies a strict precedence order where 'deny' always wins over any other capability, regardless of which policy or path it appears in. Even if another policy grants 'read', 'create', or 'sudo' on the same path, the presence of a 'deny' capability in any attached policy overrides all allows. This is a deliberate security design so that a single restrictive policy cannot be silently bypassed by a permissive one.

Exam trap

Vault Enterprise often tests the misconception that policies are merged with 'most permissive wins' or that policy attachment order matters — in reality, deny is an absolute override regardless of order or other grants.

How to eliminate wrong answers

Option B is wrong because a policy containing 'deny' is perfectly valid syntax and is accepted by Vault — it is not rejected as malformed. Option C is wrong because Vault does not merge capabilities with an 'allow wins' rule; the deny capability takes absolute precedence. Option D is wrong because while the user is denied, the question asks about the policy evaluation result, not the HTTP status code — and a 403 is only one possible manifestation, not the definitional outcome.

Option E is wrong because Vault policy evaluation is order-independent; precedence is determined by capability type (deny > sudo > write > read), not by the sequence in which policies were attached.

5
MCQhard

In a multi-tenant environment using Namespaces, an administrator accidentally created a policy in the root namespace that they intended for a child namespace. What is the impact?

A.The policy is automatically moved to the child namespace.
B.The policy overwrites child namespace policies.
C.The policy causes a naming collision error.
D.The policy is inaccessible in the child namespace.
E.The policy is inherited by all child namespaces.
AnswerD

Policies are scoped strictly to the namespace where they are written; a root-namespace policy does not cascade into child namespaces. Tokens issued within the child namespace therefore cannot reference it, satisfying the impact that the policy is inaccessible there.

Why this answer

Vault Namespaces provide strict isolation: policies, secrets engines, auth methods, and tokens created in one namespace are not visible or usable in another. A policy created in the root namespace exists only in the root namespace's policy store; child namespaces have their own independent policy stores and cannot see or reference root-namespace policies. Therefore the policy is simply inaccessible in the child namespace where it was intended.

Exam trap

Vault Enterprise often tests namespace isolation boundaries — candidates incorrectly assume policies inherit from parent to child namespaces (like some hierarchical systems), when in fact each namespace has a completely independent policy store.

How to eliminate wrong answers

Option A is wrong because Vault never automatically moves or migrates policies between namespaces — namespace boundaries are administrative and require explicit recreation. Option B is wrong because there is no overwrite behavior across namespaces; each namespace has its own isolated policy store, so no collision occurs. Option C is wrong because naming collisions only happen within the same namespace, not across namespace boundaries.

Option E is wrong because policies are not inherited from parent to child namespaces — inheritance applies to things like Sentinel scoping in some Enterprise features, but not to ACL policies, which must be created in each namespace independently.

6
MCQmedium

A security engineer is configuring Vault Enterprise to allow an application to authenticate using AppRole. The application will run on a server that has a unique role ID and secret ID. The engineer wants to ensure that the secret ID can be used only once and expires after 24 hours. Which AppRole role configuration parameters should be set to achieve this?

A.secret_id_num_uses=0 and secret_id_ttl=24h
B.token_num_uses=1 and token_ttl=24h
C.secret_id_num_uses=1 and secret_id_ttl=0
D.secret_id_num_uses=1 and secret_id_ttl=24h
AnswerD

Setting secret_id_num_uses to 1 ensures the secret ID can be used only once, and secret_id_ttl to 24h makes it expire after 24 hours. These parameters directly control the usage limit and lifetime of secret IDs, meeting the requirement for one-time use and expiration. This is the correct configuration for the scenario.

Why this answer

The AppRole role parameters secret_id_num_uses and secret_id_ttl control the usage limit and TTL of secret IDs. Setting secret_id_num_uses=1 restricts the secret ID to a single use, and secret_id_ttl=24h ensures it expires after 24 hours. The other options either target token parameters instead of secret ID, set TTL to zero (no expiration), or allow unlimited uses.

Exam trap

The trap here is confusing token parameters with secret ID parameters; token_num_uses and token_ttl affect the issued token, not the secret ID.

7
MCQhard

What is the function of an Identity Alias in Vault?

A.To create a duplicate entity.
B.To generate new tokens.
C.To mask the real username.
D.To bypass ACLs.
E.To link an external identity to a Vault entity.
AnswerE

An identity alias maps a name and mount accessor from an external auth method to an existing Vault entity, so multiple credentials resolve to one identity. This linkage is precisely what lets policies and metadata attach to a single entity across auth methods.

Why this answer

An Identity Alias in Vault links an external identity (from an auth method like LDAP, OIDC, or GitHub) to a Vault entity. This allows multiple auth methods to map to the same Vault entity, enabling unified identity and policy assignment across different authentication sources. The alias is the binding between the external identity's unique identifier and the internal entity.

Exam trap

Vault Enterprise exams often test the misconception that identity aliases are for masking or duplicating identities, when they are actually for linking external identities to a single Vault entity.

How to eliminate wrong answers

Option A is wrong because an alias does not create a duplicate entity; it associates an external identity with an existing or new entity, avoiding duplication. Option B is wrong because token generation is the role of auth methods, not identity aliases. Option C is wrong because aliases do not mask usernames; they map external identities to entities for policy unification.

Option D is wrong because aliases do not bypass ACLs; policies are still enforced based on the entity's policies.

8
MCQeasy

A Vault Enterprise administrator needs to delegate the management of a specific secrets engine to a team. The team should be able to create, update, and delete roles within the 'database' secrets engine but should not be able to modify the secrets engine's configuration or access other secrets engines. Which policy should the administrator create?

A.A policy with path 'database/roles/*' and capabilities 'create', 'read', 'update', 'delete', 'list'.
B.A policy with path 'database/*' and capabilities 'create', 'read', 'update', 'delete', 'list'.
C.A policy with path 'sys/mounts/database' and capabilities 'create', 'read', 'update', 'delete'.
D.A policy with path 'database/creds/*' and capabilities 'read'.
AnswerA

Granting 'create', 'read', 'update', 'delete', and 'list' on 'database/roles/*' allows the team to manage roles within the database secrets engine. It does not grant access to the secrets engine's configuration path (e.g., 'database/config') or other engines. This follows the principle of least privilege, providing exactly the permissions needed to manage roles without broader access.

Why this answer

The policy must grant the necessary capabilities on the role management path without including the configuration path. Using 'database/roles/*' with 'create', 'read', 'update', 'delete', and 'list' allows the team to manage roles. The 'list' capability is needed to enumerate roles.

This scoped policy ensures the team cannot modify the secrets engine's configuration or access other engines, adhering to least privilege.

Exam trap

The trap here is using a broad wildcard like 'database/*' which inadvertently grants access to the configuration endpoint, allowing changes to the secrets engine's settings.

9
Multi-Selectmedium

Which THREE capabilities are commonly used in Vault ACL policies to manage secrets engines?

Select 3 answers
A.sudo
B.control-group
C.create
D.read
E.list
AnswersC, D, E

The create capability permits writing new data at a path, letting a policy authorise generating new secrets within a secrets engine. This satisfies the stem's requirement of managing secrets engines, since writing to an engine's path is how secrets are produced.

Why this answer

In Vault ACL policies, the capabilities that govern access to secrets engines are the standard path capabilities, and create, read, and list are three of them: create allows writing new data at a path (for example, generating a new credential or writing a secret), read allows retrieving data from a path (such as reading a secret or credential), and list allows enumerating keys at a path (such as listing existing secrets or roles). These capabilities are directly attached to policy stanzas that target secrets engine paths, so they are the common building blocks for managing secrets engines. By contrast, sudo is a special capability that grants privileged access to paths that require root-protected operations, not a general secrets-engine management capability, and control-group is a policy parameter that enforces control-group authorization on a path rather than a capability used to manage secrets engines.

Exam trap

Vault Enterprise often tests capability semantics, and the trap is selecting sudo or control-group as ordinary secrets-engine capabilities when they are privileged or Enterprise-specific features, not standard ACL verbs.

10
MCQhard

A Vault Enterprise administrator is configuring a new namespace for a subsidiary company. The subsidiary requires that only users authenticated via their corporate LDAP can access secrets in the namespace. Additionally, the subsidiary's security team must be able to manage policies and auth methods within the namespace but should not have access to the root namespace. Which combination of Vault Enterprise features should the administrator use to meet these requirements?

A.Create a namespace, configure LDAP auth within the namespace, and assign the subsidiary's security team a policy with read capabilities on the namespace's sys/ path.
B.Create a namespace, configure LDAP auth within the namespace, and assign the subsidiary's security team a policy with sudo capabilities on the root sys/ path.
C.Create a namespace, configure LDAP auth in the root namespace, and assign the subsidiary's security team a policy with sudo capabilities on the root sys/ path.
D.Create a namespace, configure LDAP auth within the namespace, and assign a policy with sudo capabilities on the namespace's sys/ path to the subsidiary's security team.
AnswerD

This approach isolates the subsidiary's resources in a namespace, uses LDAP for authentication, and grants the security team sudo capabilities on the namespace's sys/ path. Sudo on sys/ allows management of policies and auth methods within that namespace only. The root namespace remains inaccessible because namespace boundaries restrict visibility and control. This satisfies all requirements.

Why this answer

The correct solution uses a namespace to isolate the subsidiary, LDAP auth within that namespace for authentication, and sudo capabilities on the namespace's sys/ path to allow management of policies and auth methods. Sudo on the namespace's sys/ grants administrative control within that namespace only, preserving isolation from the root namespace. Other options either grant excessive root privileges or insufficient read-only access.

Exam trap

The trap here is assuming that sudo on sys/ in a namespace is equivalent to root privileges, or placing LDAP auth in the root namespace, which breaks tenant isolation.

11
Multi-Selecteasy

Which TWO fields are essential in an ACL policy defined in HCL?

Select 2 answers
A.capabilities
B.ttl
C.entity
D.path
E.description
AnswersA, D

Capabilities specify the permitted operations, such as read, list, create, update, delete, sudo and deny, on the paths named in the policy's path stanza. Without them, Vault cannot determine what actions a token may perform, so the policy grants nothing. This satisfies the stem's requirement for an essential ACL policy field.

Why this answer

In HCL-based ACL policies, the capabilities field (A) is essential because it specifies the exact permissions granted, such as read, list, create, update, delete, or sudo, on the given path. The path field (D) is also essential because it defines the resource or API endpoint to which those capabilities apply, forming the core path-and-capabilities rule pair. Together, capabilities and path make up the minimum required structure of an ACL policy rule in HCL.

The ttl option (B) is not a standard ACL policy field, as TTL values belong to authentication tokens rather than policy definitions. The entity option (C) is not required in a policy rule, since policies attach to tokens or entities externally rather than being defined by an entity field inside the rule. The description option (E) is optional metadata used for documentation and does not affect policy enforcement.

Exam trap

The trap is selecting fields that sound policy-related but belong to other Vault concepts — candidates often pick 'entity' or 'ttl' because they are familiar Vault terms, but they are not part of ACL policy syntax.

12
Multi-Selectmedium

Which TWO of the following are valid ways to assign policies to a token?

Select 2 answers
A.Inheritance from an Identity Entity.
B.Mapping to a file path.
C.Via the system clock.
D.Direct assignment during token creation.
E.Automatic assignment via Vault UI.
AnswersA, D

Tokens issued to an Identity Entity or its group automatically receive the policies attached to that entity, without embedding them in the token request. This inheritance path is a valid assignment mechanism, distinct from specifying policies directly at token creation.

Why this answer

Option A (Inheritance from an Identity Entity) is correct because Vault tokens created through an identity entity (e.g., via an entity alias or a token role tied to an entity) automatically inherit the policies attached to that entity, making entity-based policy inheritance a valid assignment mechanism. Option D (Direct assignment during token creation) is correct because policies can be explicitly passed at token creation time, for example with the `vault token create -policy=<name>` command or the `policies` parameter in the token create API, which directly binds policies to the new token. Option B is incorrect because Vault policies are not assigned by mapping to a file path; file paths are only where policy documents (HCL) are stored on disk, not a token-to-policy binding method.

Option C is incorrect because the system clock has no role in policy assignment; it only affects token TTLs, expiration, and lease durations. Option E is incorrect because there is no automatic policy assignment feature in the Vault UI — policies must be explicitly specified or inherited, not auto-assigned by the interface.

Exam trap

Vault Enterprise often tests the valid policy assignment mechanisms — candidates incorrectly think policies can be assigned via file paths or automatically by the UI, missing that only direct token attachment and identity inheritance are valid.

13
MCQhard

A Vault Enterprise administrator is configuring an external group mapping using the LDAP auth method. They want to ensure that members of the LDAP group 'vault-admins' automatically receive the 'admin' policy when they authenticate. Which configuration is required to achieve this?

A.Configure the LDAP auth method with a group filter that maps the 'vault-admins' group to the 'admin' policy directly in the auth method configuration.
B.Create an external group in Vault with the name 'vault-admins' and attach the 'admin' policy to it.
C.Create an internal group in Vault named 'vault-admins' and add each LDAP user as a member.
D.Use a Sentinel EGP to inspect the LDAP group membership and attach the 'admin' policy during token creation.
AnswerB

In Vault Enterprise, external groups allow mapping of groups from an external identity provider, such as LDAP, to Vault policies. By creating an external group named 'vault-admins' and attaching the 'admin' policy, any LDAP user who is a member of the 'vault-admins' group will inherit the 'admin' policy upon authentication. This is the correct method for integrating external group memberships with Vault policies.

Why this answer

To automatically grant the 'admin' policy to LDAP users in the 'vault-admins' group, you must create an external group in Vault with the same name and attach the policy. Vault's identity system then maps the external group membership from LDAP to the Vault external group, and the policy is applied to the token upon authentication.

Exam trap

The trap here is assuming that LDAP auth method configuration alone can map groups to policies, or that internal groups automatically sync with LDAP.

14
MCQhard

An application is authenticated via AppRole. You want to ensure the resulting token is limited to a specific CIDR range. Where do you configure this restriction?

A.In the Namespace configuration
B.In the AppRole Role definition
C.In the Identity Entity
D.In the Token Auth Method
E.Inside the ACL policy
AnswerB

The AppRole role definition carries secret_id_bound_cidrs and token_bound_cidrs parameters, which restrict issued tokens to specified CIDR blocks. Configuring token_bound_cidrs on the role satisfies the requirement that the resulting token is limited to a specific range.

Why this answer

Token restrictions like 'bound_cidrs' are configured on the 'role' within the AppRole auth method.

15
MCQeasy

What does the 'root' policy in Vault provide?

A.Access to write policies only.
B.Access to view audit logs only.
C.Access limited to the namespace.
D.Read-only access to all paths.
E.Full administrative access.
AnswerE

The root policy is Vault's built-in, non-deletable policy granting full administrative access across all paths and operations, including managing policies, auth methods and mounts. It satisfies the stem by defining the highest privilege level, so it must be tightly restricted.

Why this answer

The root policy in Vault is a built-in policy that grants full administrative access to all paths and operations. It is not a policy that can be modified or deleted, and it is automatically attached to the root token created during initialization. This policy allows the holder to perform any action within Vault, including managing policies, auth methods, secrets engines, and more.

Exam trap

Vault Enterprise often tests the misconception that the root policy is just another policy that can be modified or that it provides limited access. Candidates might confuse it with other built-in policies like 'default' which provides limited access.

How to eliminate wrong answers

Option A is wrong because the root policy provides full access, not just write access. Option B is wrong because it provides more than just audit log viewing; it grants complete control. Option C is wrong because the root policy is not limited to a namespace; it has global scope.

Option D is wrong because it provides full administrative access, not read-only access.

16
Multi-Selecthard

Which TWO statements are true regarding the use of Sentinel in Vault Enterprise?

Select 2 answers
A.Sentinel policies are written in HCL.
B.Sentinel policies replace ACLs.
C.Sentinel policies are evaluated before ACLs.
D.Sentinel policies support EGP and RGP types.
E.Sentinel policies can enforce complex business logic.
AnswersD, E

Sentinel in Vault Enterprise supports both endpoint governing policies, which evaluate requests to Vault endpoints, and role governing policies, which apply to tokens issued to specific roles. Naming both types correctly satisfies the stem's requirement for true statements about Sentinel usage.

Why this answer

Option D is correct because Vault Enterprise Sentinel policies come in two enforcement types: Endpoint Governing Policies (EGP), which are attached to specific paths and evaluated on requests to those endpoints, and Role Governing Policies (RGP), which are attached to tokens/roles and evaluated based on the identity making the request. Option E is correct because Sentinel is a full policy-as-code language with constructs like rules, functions, conditionals, and imports, allowing administrators to encode rich, context-aware business logic (for example, requiring MFA, time-of-day restrictions, or specific metadata) that goes well beyond simple path-based allow/deny. Option A is not correct because Sentinel policies are written in Sentinel, a purpose-built language, not HCL (HCL is used for Vault ACL policies and configuration).

Option B is not correct because Sentinel does not replace ACLs; ACLs remain the primary authorization mechanism and Sentinel adds an additional layer of control. Option C is not correct because Sentinel policies are evaluated after ACLs, not before — a request must first pass the ACL check before Sentinel policies are applied.

Exam trap

Vault Enterprise often tests the misconception that Sentinel policies are written in HCL or that they replace ACLs. Candidates might also confuse the evaluation order, thinking Sentinel is evaluated before ACLs.

17
MCQmedium

You are writing a Sentinel policy to restrict secret access. Which parameter provides the current request's metadata, such as the path or operation type?

A.vault.metadata
B.token
C.request
D.input
E.policy
AnswerC

The `request` parameter supplies Sentinel with the current request's metadata, including the path being accessed and the operation type, such as read or write. This satisfies the stem's requirement to restrict secret access based on request details, since policies evaluate `request.data` and `request.operation` directly.

Why this answer

In Vault Sentinel policies, the 'request' object exposes metadata about the current request, including 'request.path', 'request.operation', 'request.data', and 'request.auth'. Policies use these fields to make allow/deny decisions based on what is being requested and by whom.

Exam trap

Vault Enterprise often tests the exact Sentinel object names, tricking candidates who confuse 'request' with generic Sentinel concepts like 'input' or assume 'token' is the top-level metadata object.

How to eliminate wrong answers

Option A is wrong because 'vault.metadata' is not a standard Sentinel parameter for request metadata; Vault exposes metadata through 'request' and related objects. Option B is wrong because 'token' is not the top-level object providing request metadata; token details are accessible via 'request.auth' or 'identity'. Option D is wrong because 'input' is a generic Sentinel concept for external data passed into policies, not the Vault request object.

Option E is wrong because 'policy' is not a Sentinel parameter exposing request metadata; policy information is not the mechanism for path/operation inspection.

18
MCQeasy

A Vault administrator needs to grant an application read access to a specific path in the KV v2 secrets engine. Which policy capability must be included?

A.create
B.patch
C.list
D.read
E.sudo
AnswerD

The `read` capability grants retrieval of secrets at a specified path, satisfying the requirement for read access to the KV v2 path. It permits GET operations on that path without allowing writes, deletes or list operations, which matches the least-privilege constraint stated in the scenario.

Why this answer

The correct capability is read. In Vault's policy system, the read capability grants permission to read data at a given path. For KV v2 secrets engines, reading a secret at path secret/data/my-secret requires the read capability on that exact path.

This is the minimal privilege needed for an application to retrieve secret values.

Exam trap

Vault Enterprise often tests the distinction between read and list capabilities, as candidates may confuse listing keys with reading secret values, or assume that create or patch implicitly allow reading.

How to eliminate wrong answers

Option A is wrong because create allows writing new data to a path but does not permit reading existing data. Option B is wrong because patch allows partial updates to existing data without overwriting, but it does not grant read access. Option C is wrong because list allows listing keys under a path (e.g., secret/metadata/) but does not allow reading the actual secret contents.

Option E is wrong because sudo grants privileged access to paths that require root-protected operations, such as certain system endpoints, but it is not needed for reading a KV secret and would be an over-permission.

19
MCQhard

A Vault Enterprise cluster uses a Control Group to require approval for reading secrets at "secret/data/prod/*". A user with a token that has a policy granting read on that path attempts to read a secret but is blocked pending approval. Which statement accurately describes the token's capabilities during the pending approval?

A.The token can bypass the Control Group if it has a higher privilege level.
B.The token is immediately revoked and must be reissued after approval.
C.The token can still read other secrets not under the Control Group's path.
D.The token's TTL is paused until approval is granted or denied.
AnswerC

Control Groups only restrict access to the specific paths they protect. The token's other capabilities remain unaffected, so it can read secrets outside the Control Group's scope. This allows users to continue working with other secrets while awaiting approval for the protected path.

Why this answer

Control Groups restrict only the protected paths, leaving the token's other capabilities intact. The token is not revoked, its TTL is not paused, and no privilege level bypasses the approval requirement. This design allows granular control without disrupting other operations.

Exam trap

The trap here is assuming Control Groups affect the entire token or can be bypassed by privileged tokens.

Ready to test yourself?

Try a timed practice session using only Access Control Configuration questions.