Courseiva

CCNA Access Control Configuration Questions

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

1
Multi-Selecteasy

Which THREE items are required to configure an AppRole auth method?

Select 3 answers
A.ACL Policy
B.Root Token
C.Role ID
D.Secret ID
E.LDAP Password
AnswersA, C, D

Policies define what the role can access.

Why this answer

AppRole requires a Role ID, a Secret ID (for added security), and a Policy assignment.

2
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 policy with 'control_group' parameters defines the required approval criteria.

Why this answer

Control Groups require an 'accessor' or an identity-based wrapping mechanism, but the configuration relies on defining the 'request_entity' and the required 'approver' in the policy or configuration.

3
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 are an Enterprise feature.

Why this answer

Namespaces, Replication, and Sentinel are all exclusive to the Enterprise version of Vault.

4
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

The TTL determines how long the token is valid.

Why this answer

Token TTL defines the lifespan of the token generated by that role.

5
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

Explicit deny overrides any allow permissions.

Why this answer

In Vault's policy evaluation, 'deny' always takes precedence over 'allow'.

6
Multi-Selecthard

Which TWO of the following are components of a Control Group configuration?

Select 2 answers
A.Request TTL.
B.Secret engine path.
C.Policy name.
D.Approver identity group.
E.Auth method name.
AnswersA, D

The approval window must be defined.

Why this answer

Control groups rely on defining the 'approver' entities and the 'ttl' of the request, which governs the workflow.

7
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 namespaced resources and cannot be applied to child namespaces directly.

Why this answer

Policies are namespace-scoped. A policy created in the root namespace is not automatically visible or effective in a child namespace unless explicitly managed via cross-namespace access patterns.

8
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

Aliases allow multiple external credentials to resolve to one entity.

Why this answer

An identity alias maps an external auth method identity to a single internal Vault identity entity.

9
MCQmedium

When configuring Sentinel policies for Vault, what is the 'EGP' policy type?

A.Encryption Gateway Policy
B.Enterprise Group Policy
C.External Governance Policy
D.Entity Governing Policy
E.Endpoint Governing Policy
AnswerE

EGP policies govern access to specific endpoints.

Why this answer

Endpoint Governing Policies (EGP) are scoped to specific paths and evaluated on every request to those paths.

10
MCQmedium

How can an administrator ensure that a secret is only accessible if the requester has a specific identity group membership?

A.By adding the group name to the path.
B.By using a Sentinel policy to validate the entity's group membership.
C.By modifying the auth method.
D.By setting a TTL on the group.
E.By creating a new namespace.
AnswerB

Sentinel can inspect the identity of the requester to enforce group requirements.

Why this answer

By using path-level ACLs that leverage the identity information or by integrating Sentinel policies to check group membership.

11
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

Used to write/create secrets.

Why this answer

Create, Read, and Update are standard operations for secrets engines, while Delete and List are also common.

12
Multi-Selectmedium

Which THREE factors influence the effective permissions of a user in Vault?

Select 3 answers
A.The user's password strength.
B.The number of active mounts.
C.Active Sentinel policies.
D.Policies attached to the identity entity.
E.Policies attached to the token.
AnswersC, D, E

Sentinel policies can restrict allowed actions.

Why this answer

Effective permissions are the result of policies attached to the token, policies attached to the identity entity, and potentially Sentinel policies that filter the request.

13
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 define the permissions.

Why this answer

The path to be restricted and the capabilities allowed for that path are the core components of an ACL policy.

14
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 generated for an entity inherit its policies.

Why this answer

Policies can be assigned during token creation via the CLI or API, or they can be associated with an identity entity which then inherits them.

15
MCQmedium

If you need to grant a group of developers access to all paths starting with 'secret/data/developers/', which HCL syntax is correct?

A.path "secret/data/developers/**" { capabilities = ["read"] }
B.path "secret/data/developers/*" { capabilities = ["read"] }
C.path "secret/data/developers/" { capabilities = ["read"] }
D.path "secret/developers/*" { capabilities = ["read"] }
E.path "secret/data/developers" { capabilities = ["read"] }
AnswerB

The /* wildcard covers all paths under the prefix.

Why this answer

The path should be defined with a trailing wildcard (/*) to cover sub-paths.

16
MCQhard

When using Namespace-based multi-tenancy, which statement is true regarding the root namespace?

A.The root namespace can only be managed by the root token.
B.Namespaces are not supported in Vault Enterprise.
C.The root namespace is where all child namespaces derive their identity entities.
D.The root namespace is invisible to child namespaces.
E.You cannot create secrets in the root namespace.
AnswerC

The identity store is global at the root namespace level.

Why this answer

The root namespace acts as the parent and manages the configuration of auth methods and secrets engines that are globally applicable if desired, and it owns the identity store.

17
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 role configuration in the AppRole auth method allows setting 'bound_cidrs'.

Why this answer

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

18
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 grants root permissions.

Why this answer

The 'root' policy provides full administrative access to all paths and operations.

19
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

These are the two main types of Sentinel policies.

Why this answer

Sentinel policies are applied at the request level, and they support both RGP (Request Governing Policy) and EGP (Endpoint Governing Policy).

20
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' object contains the attributes of the request being evaluated.

Why this answer

The 'request' object in Sentinel for Vault contains metadata about the API request, including 'path' and 'operation'.

21
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 is necessary to fetch the contents of a secret.

Why this answer

The 'read' capability is required for reading data from a path, while 'list' is for listing keys and 'create'/'update' for writing.

22
MCQeasy

Which API endpoint should you use to check if a specific policy exists in the system?

A.POST /sys/policy
B.GET /sys/policies/acl
C.GET /identity/entity
D.GET /sys/auth
E.GET /sys/mounts
AnswerB

This returns a list of all ACL policies.

Why this answer

The 'sys/policies/acl' endpoint allows for listing and reading ACL policies.

Ready to test yourself?

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