Courseiva

CCNA Vault Security Model Questions

35 questions · Vault Security Model · All types, answers revealed

1
MCQhard

You want to ensure that a SecretID used by an AppRole is only valid for a single use. Which parameter should be set when creating the SecretID?

A.Set 'secret_id_ttl' to 0.
B.Set 'num_uses' to 1.
C.Set 'token_bound_cidrs' to the client IP.
D.Set 'secret_id_no_store' to true.
AnswerB

The num_uses parameter caps how many times a SecretID can be used for login. Setting it to 1 enforces single-use semantics, so the SecretID is consumed on first authentication and rejected thereafter, matching the stem's requirement.

Why this answer

The 'num_uses' parameter on an AppRole SecretID controls how many times the SecretID can be used to authenticate and retrieve a token. Setting num_uses=1 means the SecretID is consumed on first successful login and cannot be reused, providing single-use semantics. This is the standard way to enforce one-time SecretID usage in AppRole workflows.

Exam trap

Vault Enterprise often tests the distinction between SecretID lifecycle controls — candidates confuse secret_id_ttl (time-based expiration) with num_uses (count-based consumption), assuming TTL=0 means single-use when it actually means no expiration.

How to eliminate wrong answers

Option A is wrong because secret_id_ttl controls the time-to-live (expiration duration) of the SecretID, not the number of times it can be used — setting it to 0 typically means no expiration or uses the system default, not single-use. Option C is wrong because token_bound_cidrs restricts which CIDR blocks the resulting token can be used from (a network binding), not how many times the SecretID can be consumed. Option D is wrong because secret_id_no_store controls whether the SecretID is stored in Vault's storage backend (allowing it to be retrieved later), which is unrelated to limiting the number of uses.

2
Multi-Selecthard

Which THREE of the following are potential security risks when using the AppRole method if not configured correctly?

Select 3 answers
A.Setting 'token_ttl' to 87600h.
B.No CIDR binding on the SecretID.
C.Enabling the Transit engine.
D.Using Vault Namespaces.
E.Unlimited SecretID usage count.
AnswersA, B, E

A token_ttl of 87600h (ten years) means issued tokens effectively never expire, so a leaked credential remains valid indefinitely. This defeats AppRole's short-lived credential model and removes the automatic revocation window that limits blast radius after compromise.

Why this answer

Option A is correct because setting 'token_ttl' to 87600h (10 years) means tokens issued via AppRole effectively never expire, so a leaked token remains valid for an extremely long period and cannot be contained by short-lived credential rotation. Option B is correct because without CIDR binding on the SecretID, the SecretID can be used from any network address, so an attacker who obtains it can authenticate to Vault from anywhere instead of being restricted to trusted source IPs. Option E is correct because an unlimited SecretID usage count (e.g., 'secret_id_num_uses=0') lets a single SecretID be replayed indefinitely, so a stolen SecretID can be used repeatedly to obtain new tokens rather than being consumed after its intended uses.

Option C is not a risk of AppRole misconfiguration; the Transit secrets engine is a separate feature for encryption-as-a-service and does not affect AppRole authentication security. Option D is also not an AppRole risk; Vault Namespaces are a multi-tenancy isolation feature and do not by themselves introduce an AppRole security weakness.

Exam trap

The trap is assuming AppRole is secure by default; the exam tests whether candidates know that weak TTLs, missing CIDR binding, and unlimited SecretID uses are the specific misconfigurations that turn AppRole into a liability.

3
Multi-Selectmedium

Which TWO of the following statements about the 'vault-agent' injector in Kubernetes are correct?

Select 2 answers
A.It is only available for non-Enterprise versions.
B.It runs as a Kubernetes Mutating Admission Webhook.
C.It can inject secrets into files directly in the pod.
D.It bypasses all Vault policies.
E.It requires manual pod restarts to update secrets.
AnswersB, C

The injector operates as a Kubernetes Mutating Admission Webhook, intercepting pod creation requests and mutating the pod spec to add an init container and sidecar. This satisfies the scenario's requirement for automatic secret injection without application code changes, since the webhook applies annotations to pods at admission time.

Why this answer

Option B is correct because the Vault Agent Injector is implemented as a Kubernetes Mutating Admission Webhook that intercepts pod creation requests and mutates the pod spec to add the vault-agent and vault-agent-init containers along with the necessary annotations. Option C is correct because the injector configures Vault Agent to render secrets into files inside a shared in-memory volume (typically /vault/secrets) mounted into the application container, allowing secrets to be consumed directly as files. Option A is incorrect because the injector is available in both Vault Enterprise and Vault Community (non-Enterprise) editions.

Option D is incorrect because injected secrets are still fetched using the pod's Kubernetes service account token via Vault's Kubernetes auth method, so all Vault policies and auth boundaries apply. Option E is incorrect because Vault Agent can run continuously and re-render secrets when they are renewed or rotated, so manual pod restarts are not required for updates.

Exam trap

Vault Enterprise often tests injector mechanics, and the trap is assuming the injector bypasses Vault policies or requires pod restarts—both misconceptions that ignore the sidecar's policy-bound, continuously renewing design.

4
MCQmedium

A Vault Enterprise administrator is configuring a new auth method to authenticate an on-premises application that cannot present a platform identity. The administrator wants to ensure that the initial authentication can only be performed once per login attempt and that the authentication material is bound to the application's network location. Which AppRole role configuration should the administrator apply to achieve these requirements?

A.Set `token_num_uses=1` and `token_bound_cidrs` to the application's subnet.
B.Set `secret_id_num_uses=1` and `secret_id_bound_cidrs` to the application's subnet.
C.Set `secret_id_ttl=1m` and `token_ttl=1m` to force rapid expiration.
D.Set `bind_secret_id=false` and rely on `secret_id_bound_cidrs` alone.
AnswerB

Setting secret_id_num_uses to 1 restricts each SecretID to a single use, preventing replay. Configuring secret_id_bound_cidrs to the application's subnet ensures the SecretID is only valid from that network range, binding the authentication material to the application's location. This directly satisfies both requirements without affecting other roles.

Why this answer

The requirement is to limit the SecretID to a single use and restrict it to the application's network. secret_id_num_uses=1 ensures one-time use, and secret_id_bound_cidrs binds the SecretID to specific CIDR blocks. Together they prevent replay and enforce network location. Other parameters like token_num_uses or TTLs do not address the SecretID's usage or binding.

Exam trap

The trap here is confusing token-level restrictions with SecretID-level restrictions, assuming that token_num_uses or token_bound_cidrs control the SecretID's usage and binding.

5
MCQeasy

An administrator is configuring a Vault Enterprise cluster with Integrated Storage (Raft). They want to ensure that the cluster can automatically recover from a full restart without manual unseal steps, while still protecting the master key. They have deployed a supported cloud KMS. Which configuration should they use?

A.Store the unseal keys in a file on each node and configure a systemd unit to submit them at boot.
B.Configure the Raft peers to share the master key among themselves so that a quorum can unseal the cluster without external input.
C.Use the recovery keys generated by Integrated Storage to automatically unseal the cluster on startup.
D.Enable auto-unseal using the cloud KMS seal stanza, which wraps the master key and allows Vault to unseal automatically on startup.
AnswerD

Auto-unseal with a cloud KMS seal stanza delegates protection of the master key to the KMS. On startup, Vault calls the KMS to decrypt the stored wrapped master key and unseals without operator intervention. This satisfies the requirement for automatic recovery after a full restart while keeping the master key protected by an external root of trust.

Why this answer

Auto-unseal with a cloud KMS seal stanza is the supported method for automatic recovery after a full restart. The KMS wraps the master key and performs decryption on startup, eliminating manual unseal while retaining strong protection. Storing unseal keys on disk or relying on recovery keys does not achieve the same security or functional goal.

Exam trap

The trap here is conflating recovery keys with unseal keys; recovery keys are for administrative recovery operations, not for unsealing the cluster.

6
Multi-Selectmedium

A Vault Enterprise administrator is reviewing the security of a new auth method that will be used by external partners. The partners will authenticate from their own networks and will receive tokens with a limited set of policies. The administrator wants to ensure that if a token is stolen, the blast radius is minimized. Which TWO controls should be applied to the auth role to reduce the impact of a stolen token? (Choose two.)

Select 2 answers
A.Enable the token to be renewed indefinitely so that partners do not need to re-authenticate frequently, reducing the chance of credential exposure during login.
B.Assign the root policy to the token so that administrators can quickly investigate and remediate any suspicious activity.
C.Disable audit logging for the auth method to prevent attackers from learning which policies are assigned to the token.
D.Set a short token TTL and a short max TTL on the role so that tokens expire quickly and cannot be renewed indefinitely.
E.Bind the token to specific CIDR blocks using token_bound_cidrs so that the token is only valid from the partner's known networks.
AnswersD, E

Short TTL and max TTL limit the window in which a stolen token can be used. Even if an attacker obtains the token, it will expire soon, and the max TTL prevents indefinite renewal. This directly reduces the blast radius by forcing frequent re-authentication, which is a standard least-privilege and least-duration practice for external partners.

Why this answer

Short TTLs and CIDR binding are complementary controls that reduce the usefulness of a stolen token. Short TTLs limit the time window, while CIDR binding limits the network locations from which the token can be used. Together they shrink the blast radius.

Indefinite renewal, root policy, and disabling audit logging all increase risk and violate least privilege.

Exam trap

The trap here is thinking that longer token lifetimes reduce credential exposure; in fact, they extend the window in which a stolen token remains valid and increase the blast radius.

7
MCQeasy

When using the 'vault login -method=kubernetes' command from a pod, which value is automatically sent to the Vault server as the JWT?

A.The pod's hostname.
B.The contents of the mounted service account token file.
C.The Vault server's Root CA certificate.
D.The Kubernetes API server public key.
AnswerB

The Kubernetes auth method reads the pod's mounted service account token at the default path and submits its contents as the JWT. This satisfies the stem's requirement for the value automatically sent to the Vault server.

Why this answer

When you run 'vault login -method=kubernetes' from inside a pod, the Vault CLI reads the service account token mounted at /var/run/secrets/kubernetes.io/serviceaccount/token and sends its contents as the JWT to the Vault Kubernetes auth endpoint. Vault then calls the Kubernetes TokenReview API to validate it.

Exam trap

The trap is confusing TLS material (Root CA, API server public key) with authentication material — only the mounted service account JWT is the credential Vault accepts.

How to eliminate wrong answers

Option A is wrong because the pod hostname is not a credential and is not accepted by Vault's Kubernetes auth method. Option C is wrong because the Vault server's Root CA certificate is used for TLS verification of the Vault server, not as an authentication token. Option D is wrong because the Kubernetes API server's public key is used to verify token signatures by the API server, not sent by the client to Vault.

8
MCQhard

Your Vault cluster is behind a load balancer that terminates TLS. For the Kubernetes auth method to properly validate the 'kubernetes_host', what must you configure in Vault?

A.Provide the 'kubernetes_ca_cert' of the K8s API server.
B.Map the load balancer IP to the Vault 'cluster_addr'.
C.Disable TLS verification in the auth method.
D.Import the load balancer's CA into Vault's trust store.
AnswerA

Configuring the Kubernetes API server's CA certificate lets Vault verify the API server's identity when the load balancer terminates TLS, since Vault can no longer rely on the client-supplied TLS chain. The `kubernetes_ca_cert` parameter satisfies the stem's requirement to validate `kubernetes_host` independently of the load balancer's terminated connection.

Why this answer

When Vault's Kubernetes auth method validates a service account JWT, it calls the Kubernetes TokenReview API on the configured 'kubernetes_host'. If a TLS-terminating load balancer sits in front of the K8s API server, Vault must trust the certificate chain presented by that endpoint. Supplying 'kubernetes_ca_cert' (the CA that signed the API server / LB certificate) allows Vault to verify the TLS connection to 'kubernetes_host' without disabling verification.

Exam trap

The trap here is confusing Vault's own TLS trust configuration (listener/cluster certs) with the Kubernetes auth method's outbound TLS trust parameter 'kubernetes_ca_cert' — candidates often pick 'import the LB CA into Vault's trust store' instead of the auth-method-specific setting.

How to eliminate wrong answers

Option B is wrong because 'cluster_addr' is a Vault configuration parameter used for cluster-to-cluster communication and redirects, not for Kubernetes API server trust. Option C is wrong because disabling TLS verification ('disable_tls_verification') is a security anti-pattern and is not the recommended way to solve certificate trust — it exposes the integration to MITM attacks. Option D is wrong because Vault's own trust store is irrelevant; the Kubernetes auth method uses the 'kubernetes_ca_cert' parameter specifically for the K8s API server's certificate, not the system trust store.

9
MCQhard

An application is using the AppRole method and you want to ensure that the SecretID can only be used from a specific CIDR range. Which field in the AppRole role configuration should be updated?

A.Configure the CIDR block in the 'token_policies'.
B.Update the 'secret_id_bound_cidrs' field in the role.
C.Create a custom sentinel policy for the auth method.
D.Update the 'token_bound_cidrs' field in the role.
AnswerB

The secret_id_bound_cidrs field restricts which CIDR blocks may present a SecretID during AppRole login, so setting it enforces the stem's source-address constraint. Requests from outside the listed ranges are rejected even with a valid SecretID.

Why this answer

The AppRole role has a dedicated 'secret_id_bound_cidrs' field that restricts which source IP ranges may present a SecretID during login. Setting it to a CIDR list enforces that the SecretID is only usable from those networks, which is precisely the requirement. This is separate from 'token_bound_cidrs', which restricts where the resulting token can be used after login.

Exam trap

Vault Enterprise often tests the confusion between 'secret_id_bound_cidrs' (restricts where the SecretID can be presented) and 'token_bound_cidrs' (restricts where the resulting token can be used), so candidates who pick the token field fail the question.

How to eliminate wrong answers

Option A is wrong because 'token_policies' is a list of Vault policies attached to the token, not a network restriction mechanism — policies control what paths the token can access, not where it can be used from. Option C is wrong because Sentinel is an Enterprise policy-as-code framework for governing Vault requests, not the field that enforces CIDR binding on a SecretID. Option D is wrong because 'token_bound_cidrs' restricts the CIDR ranges from which the issued token may be used, not the CIDR ranges from which the SecretID may be presented — the question specifically asks about the SecretID.

10
MCQeasy

A Vault administrator is configuring a new auth method and wants to ensure that the auth method's configuration is protected from unauthorized changes. Which Vault feature should be used to control access to the auth method configuration endpoints?

A.Namespaces
B.Seal wrapping
C.Audit devices
D.ACL policies
AnswerD

ACL policies in Vault define who can access specific paths, including auth method configuration endpoints. By creating and attaching appropriate policies to tokens or entities, the administrator can restrict who can modify the auth method configuration. This is the standard way to control access to Vault's API endpoints.

Why this answer

ACL policies are the primary method to control access to Vault's API endpoints, including those for auth method configuration. By defining policies that allow or deny capabilities on specific paths, administrators can ensure that only authorized users or applications can modify auth method settings. The other features serve different purposes: audit devices log, seal wrapping protects the master key, and namespaces isolate resources.

Exam trap

The trap here is thinking that namespaces or audit devices provide access control; they do not. Only ACL policies can restrict who can modify auth method configurations.

11
MCQhard

When integrating Vault with Kubernetes, you are configuring the Vault Kubernetes Auth Method. You need to ensure that the service account token presented by the pod is verified against the Kubernetes TokenReview API. Which configuration is required in Vault to enable this?

A.Enable the 'kubernetes_allow_any_token' flag in the global configuration.
B.Create a static secret in Vault that matches the Kubernetes service account name.
C.Configure the 'kubernetes_host' and 'kubernetes_ca_cert' in the auth method configuration.
D.Manually copy the pod's service account token into the Vault server's local keyring.
AnswerC

Configuring `kubernetes_host` and `kubernetes_ca_cert` lets Vault reach the Kubernetes API server and trust its TLS certificate, enabling the TokenReview call that validates the pod's service account token. Without these, Vault cannot contact the cluster, so token verification fails.

Why this answer

To enable Vault to verify service account tokens against the Kubernetes TokenReview API, you must configure the Kubernetes auth method with the Kubernetes API host (kubernetes_host) and the CA certificate (kubernetes_ca_cert) so Vault can securely communicate with the API server.

Exam trap

Vault Enterprise often tests the required configuration parameters for Kubernetes auth, and candidates may overlook the need for kubernetes_host and kubernetes_ca_cert, instead choosing nonexistent flags or manual token copying.

How to eliminate wrong answers

Option A is wrong because there is no such flag as kubernetes_allow_any_token; Vault always verifies tokens via TokenReview. Option B is wrong because static secrets are not used for token verification; Vault uses the TokenReview API. Option D is wrong because manually copying tokens is insecure and not how the auth method works.

12
MCQmedium

An AppRole's SecretID is stolen. You want to immediately invalidate that specific SecretID without affecting the RoleID or other active tokens. What is the correct action?

A.Rotate the RoleID.
B.Disable the AppRole auth method.
C.Delete the entire AppRole.
D.Destroy the specific SecretID.
AnswerD

Destroying the specific SecretID invalidates only that credential, leaving the RoleID and all other active tokens untouched. Vault's AppRole auth method supports per-SecretID destruction via `auth/approle/role/:role_name/secret-id/destroy`, which satisfies the stem's constraint of immediate, targeted revocation without broader impact.

Why this answer

Destroying the specific SecretID via vault write auth/approle/role/<role>/secret-id/destroy (or the secret-id-accessor/destroy endpoint) immediately invalidates that SecretID while leaving the RoleID, other SecretIDs, and existing tokens untouched. This is the surgical response to a compromised SecretID.

Exam trap

The trap is over-scoping the remediation: candidates pick rotating the RoleID or disabling the auth method when the question explicitly asks to invalidate only one SecretID without affecting other credentials.

How to eliminate wrong answers

Option A is wrong because rotating the RoleID invalidates the role's public identifier and forces reconfiguration of all legitimate clients, which is broader than necessary. Option B is wrong because disabling the AppRole auth method takes down authentication for every role using it, causing a full outage. Option C is wrong because deleting the AppRole removes the role definition, its policies, and all associated SecretIDs, far exceeding the scope of the incident.

13
MCQmedium

When using the Kubernetes Auth method, you notice that pods are failing to authenticate. Which log file or command provides the most insight into the validation failure?

A.Checking the Kubernetes events list.
B.Running 'kubectl describe pod'.
C.Checking Vault server audit logs.
D.Running 'vault read sys/auth/kubernetes'.
AnswerC

Audit logs record each Kubernetes Auth login attempt and the precise validation error, such as an invalid service account token or JWT signature mismatch. This directly satisfies the stem's need to diagnose why pods fail authentication, since the failure is captured server-side rather than in pod logs.

Why this answer

Vault's audit logs record every request and response, including authentication attempts against the Kubernetes auth method, with details such as the JWT presented, the role requested, and the error returned. When pods fail to authenticate, the audit log is the authoritative source showing exactly why Vault rejected the token — for example, a role mismatch, expired service account token, or failed bound-service-account-claims check.

Exam trap

Vault Enterprise often tests the misconception that Kubernetes-side tooling (events, describe) will reveal Vault-side auth failures — candidates pick kubectl commands because the problem is 'in Kubernetes,' but the validation happens in Vault.

How to eliminate wrong answers

Option A is wrong because Kubernetes events capture pod lifecycle events (scheduling, image pulls, restarts) and do not show Vault-side authentication validation failures. Option B is wrong because 'kubectl describe pod' shows pod status, events, and container state, but not the Vault API response that explains why the auth call was rejected. Option D is wrong because 'vault read sys/auth/kubernetes' only returns the auth method's configuration (mount path, description, TTLs) — it does not show per-request validation failures.

Only the Vault audit log contains the request/response detail needed to diagnose the failure.

14
MCQhard

An administrator is configuring Vault Enterprise to use a hardware security module (HSM) for seal wrapping and auto-unseal. After enabling the HSM, the administrator notices that the Vault cluster fails to start, reporting that the seal wrap key cannot be retrieved. Which configuration step is most likely missing?

A.The `seal` stanza in the Vault configuration file does not include the correct `key_label` for the seal wrap key.
B.The HSM slot PIN was not provided to Vault via the `VAULT_HSM_PIN` environment variable.
C.The HSM firmware version is incompatible with Vault's PKCS#11 library.
D.The `disable_mlock` option is set to true, preventing Vault from accessing the HSM.
AnswerA

For seal wrapping, Vault uses a specific key in the HSM, identified by the key_label. If the key_label is incorrect or missing, Vault cannot locate the seal wrap key, leading to the reported failure. The seal stanza must specify the correct key_label that matches the key created in the HSM.

Why this answer

When using an HSM for seal wrapping, Vault must be configured with the correct key_label in the seal stanza to locate the seal wrap key. If the key_label is missing or incorrect, Vault cannot retrieve the key and fails to start. Other HSM-related issues like PIN or firmware would produce different errors.

Exam trap

The trap here is focusing on HSM connectivity or PIN issues when the error specifically indicates a problem retrieving the seal wrap key, which is controlled by the key_label configuration.

15
Multi-Selecthard

Which THREE actions are recommended to secure the Vault-Kubernetes integration against token theft?

Select 3 answers
A.Use the Vault Agent injector for automatic sidecar management.
B.Apply 'token_bound_cidrs' to the role.
C.Set short TTLs on all issued tokens.
D.Disable audit logging to increase performance.
E.Use the 'root' token for the application.
AnswersA, B, C

The Vault Agent injector runs as a sidecar that authenticates pods and delivers tokens via a shared in-memory volume, so service account tokens are never written to disk or exposed to application containers, directly mitigating token theft in the Kubernetes integration.

Why this answer

Option A is correct because the Vault Agent injector automatically manages the lifecycle of Vault tokens for pods, rendering secrets into a shared volume and renewing or re-authenticating tokens without exposing long-lived credentials to application code, which reduces the attack surface for token theft. Option B is correct because applying 'token_bound_cidrs' to the Kubernetes auth role restricts the issued token so it can only be used from specified CIDR ranges, meaning a stolen token is useless if replayed from an unauthorized network location. Option C is correct because setting short TTLs on all issued tokens limits the window of opportunity for an attacker who obtains a token, forcing frequent re-authentication and reducing the blast radius of a compromise.

Option D is not recommended because disabling audit logging removes the ability to detect and investigate token theft or misuse, and audit logging is a core security control rather than an optional performance trade-off. Option E is not recommended because using the 'root' token for an application grants unrestricted, long-lived privileges across Vault, so any theft of that token results in total compromise rather than scoped access.

Exam trap

The trap is including obviously bad options (disable audit logging, use root token) as distractors — candidates who don't recognize them as anti-patterns may second-guess the correct security recommendations.

16
MCQhard

A security team is reviewing how Vault Enterprise tokens are bound to their origin. They observe that a batch token issued by an auth method in one performance standby node is presented to a different performance standby node and is accepted. They want to understand why this behavior is expected and what security property batch tokens lack compared to service tokens. Which statement correctly describes batch tokens in Vault Enterprise?

A.Batch tokens are encrypted blobs that carry their own authorization data and can be validated by any node without a storage lookup, but they cannot be revoked individually.
B.Batch tokens are validated by forwarding the request to the active node, which performs the storage lookup and returns the authorization decision.
C.Batch tokens are stored in the cluster's replicated storage and are replicated to performance standbys, which is why they are accepted on any node.
D.Batch tokens use the same storage-backed lease mechanism as service tokens but with a shorter TTL, which is why they appear on multiple nodes.
AnswerA

Batch tokens are self-contained, encrypted with the cluster's keyring, and include the policies and metadata needed for authorization. Any node in the cluster can validate them without reading from storage, which is why they work across performance standbys. However, because they are not stored, individual revocation is not possible; only the entire batch or the underlying role/lease can be revoked.

Why this answer

Batch tokens are self-contained encrypted blobs validated locally by any node, which explains acceptance on a different performance standby. The trade-off is that they are not individually revocable because no storage entry exists. Service tokens, by contrast, are stored and can be revoked individually but require a storage lookup and are not portable as opaque blobs.

Exam trap

The trap here is assuming batch tokens are replicated like service tokens, when in fact their portability comes from being self-contained and their limitation is the loss of individual revocation.

17
MCQeasy

What is the primary purpose of the 'token_ttl' setting in an AppRole role definition?

A.To limit the number of uses for the SecretID.
B.To set the expiration of the RoleID.
C.To set the rotation period for the Vault master key.
D.To define the duration of the authentication session.
AnswerD

The `token_ttl` setting specifies the initial time-to-live for tokens issued upon successful AppRole login, directly governing the authentication session's duration before renewal or expiry. This satisfies the stem's requirement by defining how long the issued token remains valid, after which the client must reauthenticate or renew.

Why this answer

The 'token_ttl' setting in an AppRole role definition controls the Time-To-Live (TTL) of the authentication token issued when a client successfully authenticates using that role. It defines how long the resulting Vault token remains valid before expiring, effectively setting the duration of the authentication session. This is distinct from SecretID TTL, RoleID TTL, or master key rotation, which are separate configuration parameters.

Exam trap

Vault Enterprise often tests the confusion between token TTL and SecretID TTL, as both are time-based parameters in AppRole; candidates must remember that 'token_ttl' governs the issued token's lifetime, not the SecretID's.

How to eliminate wrong answers

Option A is wrong because limiting the number of uses for a SecretID is controlled by the 'secret_id_num_uses' parameter, not 'token_ttl'. Option B is wrong because the expiration of the RoleID is governed by 'role_id_ttl' (or similar), not 'token_ttl'. Option C is wrong because master key rotation is a separate operation configured via 'vault operator rotate' or auto-rotation settings, and is unrelated to AppRole token TTL.

18
MCQmedium

An operator is troubleshooting a Vault Enterprise cluster where audit logs show that a token was used from an unexpected IP address. The security team wants to enforce that a particular token can only be used from the corporate CIDR block 10.0.0.0/8. Which Vault token parameter should be set to achieve this?

A.token_num_uses
B.token_explicit_max_ttl
C.token_ttl
D.token_bound_cidrs
AnswerD

token_bound_cidrs is the correct parameter because it restricts token usage to the specified CIDR blocks. When a token is created with token_bound_cidrs set to 10.0.0.0/8, Vault will reject any request using that token from an IP outside that range. This directly addresses the scenario by binding the token to the corporate network, preventing unauthorized use from other locations.

Why this answer

The token_bound_cidrs parameter is specifically designed to restrict a token's usage to a set of CIDR blocks. By setting it to 10.0.0.0/8, the token will only be accepted from IP addresses within that range, directly mitigating the risk of use from unexpected locations. Other parameters like token_num_uses or token_ttl address different aspects of token security and do not provide IP-based restrictions.

Exam trap

The trap here is confusing token usage limits or TTL settings with network-based restrictions, overlooking that token_bound_cidrs is the dedicated parameter for IP binding.

19
Multi-Selectmedium

Which TWO of the following are true about AppRole 'SecretID' management?

Select 2 answers
A.SecretIDs are synonymous with RoleIDs.
B.SecretIDs can be constrained by 'num_uses'.
C.SecretIDs should be stored in cleartext in version control.
D.SecretIDs can be generated with a custom TTL.
E.SecretIDs are the same for all applications in a namespace.
AnswersB, D

SecretIDs support `num_uses`, capping how many times a single SecretID can authenticate before Vault invalidates it. This directly satisfies the stem's constraint on SecretID management, limiting exposure if a SecretID leaks. Combined with short TTLs and response wrapping, it enforces single-use or limited-use authentication for AppRole clients.

Why this answer

Option B is correct because a SecretID can be created with a 'num_uses' constraint, meaning it is invalidated after a set number of authentication uses, which limits the blast radius if the SecretID leaks. Option D is correct because SecretIDs are issued with a TTL (via 'secret_id_ttl' on the role or an explicit TTL at generation), after which they expire and can no longer be used to authenticate. Option A is wrong because RoleID and SecretID are distinct AppRole credentials: the RoleID identifies the role and is not secret, while the SecretID is the sensitive half of the pair.

Option C is wrong because SecretIDs are sensitive credentials and must never be committed in cleartext to version control. Option E is wrong because each SecretID is uniquely generated per application/instance, not shared across all applications in a namespace.

Exam trap

Vault Enterprise often tests the distinction between RoleID and SecretID, and candidates may incorrectly assume SecretIDs are static or shared, or overlook the configurable constraints like num_uses and TTL.

20
MCQmedium

You need to automate the delivery of a Vault token to a new virtual machine during its provisioning process. Which Vault feature is specifically designed to facilitate secure introduction for dynamic infrastructure?

A.LDAP bind credentials.
B.Cubbyhole storage.
C.Response Wrapping.
D.Transit Secret Engine.
AnswerC

Response Wrapping returns a single-use wrapping token that the VM unwraps to retrieve the real Vault token, letting provisioning deliver credentials without exposing them in logs or templates. This satisfies secure introduction for dynamic infrastructure.

Why this answer

Response Wrapping is the Vault feature specifically designed for secure introduction of secrets to dynamic infrastructure. It wraps a response (such as a token) in a single-use, time-limited wrapping token that can be safely delivered to a new VM. The VM then unwraps the token to retrieve the actual secret, ensuring the secret is not exposed in transit or logs.

Exam trap

The trap is confusing Response Wrapping with Cubbyhole or Transit — candidates often pick Cubbyhole because it is also token-scoped, but Response Wrapping is the specific feature for secure, single-use secret delivery.

How to eliminate wrong answers

Option A is wrong because LDAP bind credentials are an auth method for human or service authentication, not a secure introduction mechanism for delivering tokens to new VMs. Option B is wrong because Cubbyhole storage is a per-token private storage area, but it does not provide the single-use, time-bound delivery mechanism that Response Wrapping does; it is often used in conjunction with wrapping but is not the feature itself. Option D is wrong because the Transit Secret Engine provides encryption-as-a-service, not secure introduction of tokens.

21
MCQhard

You are implementing a multi-cluster Vault strategy. You want to ensure that a pod in Cluster A cannot authenticate to Vault using a service account token from Cluster B. What configuration must be set?

A.Set a different 'kubernetes_host' for each cluster.
B.Use the same 'kubernetes_ca_cert' for both clusters.
C.Enable 'token_bound_cidrs' on the roles.
D.Assign different 'token_policies' to the roles.
AnswerA

Setting a distinct `kubernetes_host` per cluster binds each Kubernetes auth mount to a single API server endpoint. Vault validates the service account token's issuer and audience against that host, so a token minted in Cluster B fails authentication at Cluster A's mount, satisfying the cross-cluster isolation requirement.

Why this answer

Setting a different 'kubernetes_host' for each cluster's auth method configuration ensures that Vault validates service account tokens against the correct Kubernetes API server. The kubernetes_host is the API endpoint Vault uses to verify the token's issuer and audience via TokenReview. If both clusters pointed to the same host, a token from Cluster B could be validated by Cluster A's Vault, enabling cross-cluster authentication.

Exam trap

The trap is confusing authentication scope (kubernetes_host) with authorization controls (policies, CIDRs) — candidates pick policy or CA options that don't prevent cross-cluster token validation.

How to eliminate wrong answers

Option B is wrong because using the same kubernetes_ca_cert does not prevent cross-cluster auth — it only affects TLS trust, not token validation scope. Option C is wrong because token_bound_cidrs restricts tokens by source IP, which is unrelated to preventing cross-cluster service account use. Option D is wrong because different token_policies control authorization, not authentication — a Cluster B token could still authenticate and receive Cluster A policies.

22
Multi-Selecthard

When designing a secure Vault-Kubernetes Auth integration, which THREE factors must be considered to prevent token compromise?

Select 3 answers
A.The number of nodes in the cluster.
B.The scope of the service account token.
C.Validation of the K8s API server CA.
D.The version of the Kubernetes binary.
E.The TTL of the Vault token generated.
AnswersB, C, E

The service account token's scope determines which Kubernetes APIs and audiences it can access, so a narrowly scoped token limits what a compromised pod could leverage against Vault's Kubernetes auth backend, directly reducing token compromise risk.

Why this answer

Option B is correct because the scope of the service account token determines what the Vault Kubernetes auth backend can validate and which namespaces, service accounts, and audiences are trusted; a broadly scoped or overly permissive token increases the blast radius if compromised. Option C is correct because Vault must validate the Kubernetes API server CA when calling the TokenReview API, ensuring it is communicating with the legitimate API server and preventing man-in-the-middle attacks that could forge token validation responses. Option E is correct because the TTL of the Vault token generated limits the window of exposure; shorter TTLs reduce the impact of a stolen Vault token and force periodic re-authentication.

Option A is not relevant because the number of nodes in the cluster does not directly affect Vault-Kubernetes auth token compromise. Option D is not relevant because the Kubernetes binary version alone does not determine the security of the Vault auth integration, though supported versions matter for overall cluster security.

Exam trap

Vault Enterprise often tests the misconception that cluster size or K8s version are security controls, when the real token-compromise mitigations are scope, CA validation, and TTL.

23
MCQmedium

When configuring the Kubernetes auth method, what does the 'token_bound_cidrs' parameter on a role do?

A.Restricts the generated Vault token to specific IP ranges.
B.Restricts the Kubernetes API server access.
C.Binds the login process to a specific pod IP.
D.Limits the number of simultaneous logins from an IP.
AnswerA

'token_bound_cidrs' binds the issued Vault token to the specified CIDR blocks, so the token is only usable from source IPs within those ranges. This satisfies the scenario's requirement to limit token use by network origin, enforced by Vault at request time independently of Kubernetes.

Why this answer

The 'token_bound_cidrs' parameter on a Kubernetes auth role restricts the CIDR ranges from which the Vault token issued by that role may be used. It is embedded into the token at issuance and enforced on every subsequent request, so a token issued to a pod in one subnet cannot be replayed from another subnet. This is the token-side counterpart to 'secret_id_bound_cidrs' in AppRole.

Exam trap

Vault Enterprise often tests the confusion between 'token_bound_cidrs' (restricts where the issued token can be used) and login-time CIDR checks, so candidates who pick an answer about restricting the login process or the Kubernetes API server fail.

How to eliminate wrong answers

Option B is wrong because 'token_bound_cidrs' does not affect Kubernetes API server access — that is governed by Kubernetes RBAC and network policies, not by Vault role configuration. Option C is wrong because the parameter binds the resulting Vault token to CIDR ranges, not the login process to a specific pod IP; pod IP binding is not a Vault feature. Option D is wrong because 'token_bound_cidrs' is a network restriction, not a rate limit — concurrent login limits are controlled by other mechanisms such as 'token_num_uses' or external rate limiting.

24
Multi-Selectmedium

Which TWO of the following are valid ways to improve the security of the AppRole authentication process?

Select 2 answers
A.Disable TLS on the Vault listener.
B.Enable 'secret_id_bound_cidrs' on the role.
C.Use Response Wrapping for the SecretID.
D.Increase the SecretID TTL to infinity.
E.Share the same SecretID across all application replicas.
AnswersB, C

Binding `secret_id_bound_cidrs` restricts which network ranges may redeem a SecretID, so a stolen SecretID is useless from an attacker's host. This directly satisfies the stem's security-hardening goal by adding a source-IP constraint to AppRole authentication, complementing RoleID and SecretID without altering the core login flow.

Why this answer

Option B is correct because 'secret_id_bound_cidrs' restricts the CIDR blocks from which a SecretID can be used, so even if a SecretID leaks, it cannot be redeemed from an unauthorized network location, adding a strong network-based constraint to the AppRole login. Option C is correct because Response Wrapping delivers the SecretID as a single-use wrapped token that the application unwraps exactly once, limiting exposure in logs, CI systems, or transit and reducing the window for theft or replay. Option A is wrong because disabling TLS on the Vault listener exposes all traffic, including AppRole credentials, to interception and is never a security improvement.

Option D is wrong because an infinite SecretID TTL means a leaked SecretID remains valid forever, increasing rather than reducing risk. Option E is wrong because sharing one SecretID across replicas removes per-instance attribution and blast-radius control, so compromise of one replica compromises them all.

Exam trap

Vault Enterprise often tests AppRole hardening by mixing in obviously bad options (disable TLS, infinite TTL, shared SecretID) with the two real controls — candidates who only remember 'use wrapping' miss the CIDR binding half of the answer.

25
MCQmedium

A Vault Enterprise operator has just enabled the Transit secrets engine in a namespace dedicated to a payment processing team. The team stores encryption keys in Transit and uses them to encrypt customer credit card data before writing it to an external database. An auditor asks the operator to prove that the plaintext of those credit card numbers never leaves the Vault server. Which property of the Transit secrets engine supports this claim?

A.Transit stores each plaintext alongside its ciphertext in the barrier so that decryption can be audited against the original input.
B.Transit performs cryptographic operations inside Vault's barrier and returns only ciphertext, so plaintext submitted for encryption is never persisted or returned to callers.
C.Transit encrypts plaintext only after it has been written to a write-ahead log, ensuring recoverability but leaving a transient plaintext copy on disk.
D.Transit uses the storage backend's encryption-at-rest to protect plaintext, so plaintext is stored but remains unreadable without the unseal keys.
AnswerB

The Transit secrets engine is a cryptographic service: clients submit plaintext to Vault, Vault encrypts it using a named key and returns only the ciphertext. The plaintext is processed in memory and is not written to Vault's storage backend, so the auditor's requirement is satisfied. This is the core security value of Transit for data-at-rest encryption outside Vault.

Why this answer

Transit is a cryptographic service: callers send plaintext, Vault returns ciphertext, and no plaintext is persisted. This directly satisfies the auditor's requirement that credit card plaintext never leaves the Vault server. Options that describe storing plaintext on disk or in the barrier describe architectures that do not exist and would undermine the compliance guarantee the team needs.

Exam trap

The trap here is confusing the barrier's encryption-at-rest for Vault's own storage with protection of client plaintext submitted to Transit, which is never stored at all.

26
MCQeasy

Which of the following is the most effective way to secure a Vault token during the 'Secure Client Introduction' phase in an automated environment?

A.Using a long-lived root token.
B.Passing the token as an environment variable.
C.Response wrapping.
D.Storing the token in a public configuration repo.
AnswerC

Response wrapping returns a single-use wrapping token instead of the actual secret, so the unwrapping token can be delivered safely through automation. Only the intended recipient can unwrap it once, preventing interception or replay during the Secure Client Introduction phase.

Why this answer

Response wrapping returns a single-use wrapping token that the client unwraps to retrieve the actual secret or token, so the sensitive credential is never exposed in transit or at rest in the client environment. This is the recommended pattern for securely delivering tokens to automated clients during the Secure Client Introduction phase. It limits exposure because the wrapping token is short-lived and can be unwrapped only once.

Exam trap

Vault Enterprise often tests whether candidates recognize response wrapping as the canonical secure delivery mechanism, luring them toward environment variables or root tokens that seem convenient but violate security best practices.

How to eliminate wrong answers

Option A is wrong because long-lived root tokens are highly privileged and never appropriate for automated clients; they violate least privilege and cannot be safely rotated. Option B is wrong because environment variables are easily leaked via process listings, logs, or child processes and provide no single-use or TTL protection. Option D is wrong because storing tokens in a public repo exposes them to anyone with repository access and is a severe security anti-pattern.

27
MCQmedium

A Vault Enterprise cluster is configured with a performance standby and a disaster recovery (DR) replica. The administrator wants to ensure that if the primary cluster fails, the DR replica can be promoted and clients can continue to access secrets without re-authenticating. Which statement about token replication is true?

A.Token replication only occurs if the DR replica is in the same datacenter as the primary.
B.Tokens are replicated to performance standbys but not to DR replicas.
C.Tokens are not replicated; clients must re-authenticate after DR promotion.
D.Tokens are replicated to DR replicas, allowing clients to use existing tokens after promotion.
AnswerD

Token replication is a feature of Vault Enterprise that replicates tokens from the primary to DR replicas. After promotion, clients can continue using their existing tokens without re-authenticating, as the tokens are already present on the DR replica. This ensures minimal disruption during failover.

Why this answer

Token replication in Vault Enterprise ensures that tokens are available on DR replicas. When a DR replica is promoted, clients can continue using their existing tokens, providing seamless failover. This is a key benefit of Vault Enterprise's replication capabilities.

Exam trap

The trap here is thinking that tokens are not replicated to DR replicas, leading to unnecessary re-authentication during failover.

28
MCQeasy

In the context of the Vault Kubernetes Auth Method, what is the role of the 'reviewer_service_account'?

A.It is the account Vault uses to verify client tokens.
B.It is the account that logs in to Vault.
C.It is the account that manages K8s secrets.
D.It is an administrative account used to manage Vault roles.
AnswerA

The reviewer_service_account is the Kubernetes service account whose token Vault uses to call the TokenReview API, validating client JWTs presented during login. It satisfies the constraint of authenticating clients without granting Vault broad cluster permissions.

Why this answer

The reviewer_service_account is a Kubernetes service account that Vault uses to call the TokenReview API to validate client tokens presented during login. Vault needs permissions to create TokenReview requests, which are granted to this service account.

Exam trap

Vault Enterprise often tests the confusion between the reviewer service account and the client service account, leading candidates to pick the wrong role.

How to eliminate wrong answers

Option B is wrong because the account that logs in is the client's service account, not the reviewer. Option C is wrong because managing K8s secrets is not the role of the reviewer; Vault does not manage K8s secrets via this account. Option D is wrong because it is not an administrative account for managing Vault roles; it is specifically for token review.

29
MCQmedium

When using the Kubernetes auth method, what does the 'audience' field in the configuration allow you to do?

A.Restrict access to specific K8s pods.
B.Verify the 'aud' claim in the JWT.
C.Define which namespaces can authenticate.
D.Control the maximum token TTL.
AnswerB

The audience field validates the 'aud' claim inside the service account JWT presented by the pod, ensuring Vault only accepts tokens minted for its own configured audience rather than any cluster token. This binds authentication to the intended relying party, satisfying the requirement that tokens be scoped to Vault specifically.

Why this answer

The 'audience' parameter in the Kubernetes auth method configuration specifies the expected 'aud' (audience) claim value in the service account JWT presented by the pod. Vault validates that the token's aud claim matches this configured value before accepting the authentication request, preventing tokens minted for a different audience from being replayed against Vault. This is a defense-in-depth control aligned with the projected service account token feature in Kubernetes 1.21+.

Exam trap

Vault Enterprise often tests the distinction between authentication-time identity claims (aud, iss, sub) and authorization-time role bindings (bound_service_account_names, bound_service_account_namespaces) — candidates frequently conflate 'audience' with namespace or pod restrictions.

How to eliminate wrong answers

Option A is wrong because pod-level restriction is achieved via bound_service_account_names, bound_service_account_namespaces, and the newer bound_service_account_namespace_selector — not the audience field. Option C is wrong because namespace restriction is handled by bound_service_account_namespaces, not audience. Option D is wrong because token TTL is controlled by the token_ttl, token_max_ttl, and explicit_max_ttl role parameters, not by the audience configuration.

30
Multi-Selectmedium

A security team is reviewing the configuration of a Vault Enterprise cluster that uses the Transit secrets engine for encryption as a service. They want to ensure that the encryption keys are protected against unauthorized export and that cryptographic operations are audited. Which two configurations should they implement? (Choose two.)

Select 2 answers
A.Enable the audit device and configure it to log all requests to the Transit engine.
B.Set `allow_plaintext_backup=true` to enable secure backups of the key.
C.Configure the key with `derived=true` to ensure keys are unique per context.
D.Set `exportable=false` on the encryption key.
E.Use `type=rsa-4096` to ensure strong encryption and prevent export.
AnswersA, D

Enabling an audit device ensures that all requests, including cryptographic operations on the Transit engine, are logged. This provides an audit trail for compliance and detection of unauthorized use. It satisfies the requirement that cryptographic operations are audited.

Why this answer

To protect Transit keys from unauthorized export, the key must be created with exportable=false, which prevents extraction of key material. To audit cryptographic operations, an audit device must be enabled and capturing requests to the Transit engine. These two configurations together ensure key protection and auditability.

Exam trap

The trap here is confusing key type or derivation settings with export protection, or assuming that backups are secure when they may expose key material.

31
MCQmedium

An administrator needs to enable secure client introduction for a legacy application using the AppRole auth method. The application resides on a server where it can periodically fetch a SecretID. What is the most secure workflow to ensure the secret delivery process is not compromised?

A.Issue a wrapped response for the SecretID with a specific TTL.
B.Use a global static token for all AppRole authentications.
C.Hardcode the SecretID into the application's configuration file.
D.Disable the SecretID requirement and use only the RoleID.
AnswerA

A wrapped response delivers the SecretID as a single-use token; the application unwraps it once, so interception yields nothing reusable. The specific TTL bounds exposure, satisfying the requirement that secret delivery remains uncompromised for the periodically fetching legacy application.

Why this answer

Response wrapping delivers the SecretID as a single-use wrapping token with a short TTL, so the SecretID is never exposed in transit or at rest in the application's config. The application unwraps the token via cubbyhole, retrieving the SecretID exactly once, which prevents interception and replay. This is the recommended secure introduction pattern for AppRole.

Exam trap

Vault Enterprise often tests secure introduction patterns, and the trap is choosing convenience options (hardcoded SecretID, RoleID-only) over the wrapped-response pattern that enforces single-use, short-TTL delivery.

How to eliminate wrong answers

Option B is wrong because a global static token bypasses AppRole's per-role authentication model and creates a long-lived, broadly scoped credential that violates least privilege. Option C is wrong because hardcoding the SecretID in a config file exposes it to anyone with filesystem or source-control access and prevents rotation. Option D is wrong because disabling the SecretID requirement reduces AppRole to RoleID-only authentication, which is explicitly discouraged and removes the second factor that makes AppRole secure.

32
MCQhard

A Vault Enterprise cluster uses namespaces to isolate teams. An administrator creates a token in the `team-a` namespace with a policy that grants read access to `secret/data/team-a/*`. The administrator then uses this token to read a secret at `secret/data/team-b/config` in the `team-b` namespace. What is the outcome?

A.The read fails because the token is not valid in the `team-b` namespace.
B.The read fails because the token's TTL expires when crossing namespace boundaries.
C.The read succeeds if the token has a policy that allows `secret/data/*` in the root namespace.
D.The read succeeds because the token's policy path is relative to the root namespace.
AnswerA

Tokens are namespace-scoped. A token created in team-a is not valid for API calls in team-b; it cannot be used to authenticate to team-b's secrets engine. Even if the policy path matched, the token's namespace context prevents access. Thus the read fails due to namespace isolation.

Why this answer

Vault Enterprise namespaces provide strict isolation. A token is bound to the namespace in which it was created and cannot be used to authenticate to another namespace. Therefore, a token from team-a cannot read secrets in team-b, regardless of its policies.

The correct outcome is that the read fails because the token is not valid in team-b.

Exam trap

The trap here is assuming that policies are global across namespaces or that a token can be used in any namespace if the policy path matches.

33
MCQmedium

You are configuring a Vault Enterprise cluster to use a hardware security module (HSM) for seal wrapping and auto-unseal. During testing, you notice that after a node restarts, Vault still requires manual unseal despite the HSM being available. You have verified that the HSM is reachable and the seal stanza is correctly configured. Which of the following is the most likely cause?

A.The HSM slot or partition configured in the seal stanza does not contain the key that was used to initialize Vault.
B.The HSM key is not marked as exportable, preventing Vault from using it for auto-unseal.
C.The seal stanza is missing the 'disabled' parameter set to false.
D.The Vault node was started with the '-dev' flag, which disables auto-unseal.
AnswerA

Auto-unseal requires the HSM to access the same key that was used during initialization to encrypt the root key. If the slot or partition is incorrect, Vault cannot decrypt the root key and falls back to manual unseal. Verifying the slot and key label is essential when troubleshooting HSM auto-unseal failures.

Why this answer

Auto-unseal with an HSM depends on Vault being able to retrieve the correct encryption key from the HSM. If the slot or partition specified in the seal stanza does not contain that key, Vault cannot decrypt the root key, and manual unseal is required. Ensuring the correct slot and key are referenced is critical for successful auto-unseal.

Exam trap

The trap here is assuming that HSM key exportability is required for auto-unseal, when Vault only needs the HSM to perform encryption and decryption operations without exporting the key.

34
MCQmedium

An administrator is configuring Vault Enterprise to use a hardware security module (HSM) for auto-unseal. The HSM supports PKCS#11. After configuring the seal stanza, Vault fails to start. Which action should the administrator take to troubleshoot the issue?

A.Reinstall the HSM firmware to ensure compatibility with Vault.
B.Increase the Vault server's memory allocation to accommodate the HSM library.
C.Disable the HSM seal and use Shamir seals instead to verify Vault can start.
D.Check the Vault server logs for errors related to the HSM connection and verify the PKCS#11 library path.
AnswerD

When Vault fails to start with an HSM seal, the first step is to examine the server logs, which will indicate if the PKCS#11 library cannot be loaded or if there is an authentication failure with the HSM. Verifying the library path and HSM credentials is essential to resolve connectivity issues.

Why this answer

The most effective troubleshooting step is to review Vault's server logs, which will contain specific error messages about the HSM connection, such as a missing PKCS#11 library or authentication failure. Verifying the library path and credentials directly addresses common misconfigurations. The other options are either too broad or do not target the root cause.

Exam trap

The trap here is assuming that HSM issues are hardware-related and require firmware updates or more resources, when in fact most failures stem from software configuration errors like incorrect library paths or PINs.

35
Multi-Selectmedium

Which TWO of the following are true regarding the Vault Kubernetes Auth Method 'bound_service_account_names' parameter?

Select 2 answers
A.It can only be applied to cluster-admin accounts.
B.It allows wildcards to match multiple service accounts.
C.It replaces the need for Vault policies.
D.It restricts which service accounts can authenticate.
E.It is optional if 'bound_namespaces' is set.
AnswersB, D

Wildcards are supported in `bound_service_account_names`, letting one role match many service accounts without listing each individually. This satisfies the stem's requirement that the parameter can target multiple accounts, since patterns such as `web-*` match every service account sharing that prefix, reducing role sprawl across namespaces.

Why this answer

Option B is correct because the Vault Kubernetes Auth Method's bound_service_account_names parameter accepts glob-style wildcards (for example, 'app-*') so a single role can match multiple service account names. Option D is correct because this parameter defines the allowlist of Kubernetes service account names permitted to authenticate against that Vault role, so any service account not listed is rejected. Option A is wrong because the parameter has nothing to do with cluster-admin privileges; it merely constrains service account identities and works with any service account.

Option C is wrong because Vault policies are still required to define the actual permissions granted after authentication; bound_service_account_names only governs who may log in. Option E is wrong because bound_service_account_names is a required parameter for the Kubernetes auth role, not something that becomes optional when bound_namespaces is configured.

Exam trap

Vault Enterprise often tests the misconception that 'bound_service_account_names' replaces Vault policies or is restricted to privileged accounts, when in fact it is an identity restriction that supports wildcards and still requires policies for authorization.

Ready to test yourself?

Try a timed practice session using only Vault Security Model questions.