Courseiva

HashiCorp Certified: Vault Operations Professional (Vault Enterprise) (Vault Enterprise) (Vault Enterprise) — Questions 1–75

196 questions total · 3 pages · All types, answers revealed

Page 1 of 3

Page 2
1
MCQhard

When configuring path filters for performance replication, what is the effect of using an 'exclude' filter on a path?

A.The path is not synchronized to the secondary.
B.The path is hidden from the primary's API.
C.The path is deleted from the primary.
D.The secondary will proxy requests for that path to the primary.
AnswerA

An exclude filter removes matching paths from replication, so those secrets are never synchronised to the secondary cluster. The path remains local to the primary, satisfying the requirement to keep specified data off the secondary.

Why this answer

In Performance Replication, path filters determine which paths are replicated to secondary clusters. An 'exclude' filter on a path means that the specified path is not synchronized to the secondary; it remains local to the primary. This is useful for keeping sensitive or region-specific data from being replicated.

Exam trap

Vault Enterprise often tests the misconception that exclude filters hide or delete data on the primary, but they only prevent replication to secondaries; candidates must understand the direction of replication.

How to eliminate wrong answers

Option B is wrong because excluding a path does not hide it from the primary's API; the primary still serves it. Option C is wrong because exclusion does not delete the path from the primary; it only affects replication. Option D is wrong because the secondary does not proxy requests for excluded paths to the primary; such requests would fail or be handled locally if the path exists, but typically they are not available on the secondary.

2
MCQmedium

A DevOps engineer is using Vault Agent templates to render a database password from a KV v2 secrets engine. The secret is stored at secret/data/db with a key named password. The engineer wants to ensure the rendered file contains only the password value and no extra whitespace or newlines. Which template function should be used to trim whitespace from the secret value?

A.regexReplaceAll
B.base64Decode
C.toUpper
D.trim
AnswerD

The trim function removes leading and trailing whitespace from a string. Applying it to the secret value ensures the rendered file contains only the password characters, with no stray spaces or newlines. This is the correct choice when the goal is to strip whitespace from the beginning and end of the value while preserving the core content.

Why this answer

Vault Agent templates support the trim function to remove leading and trailing whitespace from a string. Applying it to the retrieved secret value ensures the output file contains only the password. Other functions like toUpper, base64Decode, and regexReplaceAll serve different purposes and do not provide the straightforward whitespace removal needed here.

Exam trap

The trap here is reaching for a more complex function like regexReplaceAll when a simple trim already does the job.

3
MCQhard

You want to prevent audit logs from being written to a specific device if the disk is full. What happens to Vault?

A.Vault enters a blocked state for all client requests.
B.Vault switches to a secondary file automatically.
C.Vault stops recording logs but continues operation.
D.Vault deletes the oldest logs to make room.
AnswerA

When a configured audit device fails, Vault blocks all client requests rather than continuing without logging, preventing unlogged operations. This satisfies the scenario's constraint by halting request processing instead of silently dropping audit records to the full device.

Why this answer

If an audit device's disk is full and Vault cannot write audit logs, Vault enters a blocked state and rejects all client requests. This is the same fail-closed behavior as any audit_failure: Vault refuses to process operations it cannot audit. It does not silently drop logs or rotate them automatically.

Exam trap

The trap is thinking Vault will self-heal (rotate, failover, or drop logs) when audit storage fills — candidates miss that Vault blocks all requests instead.

How to eliminate wrong answers

Option B is wrong because Vault does not automatically switch to a secondary file or device on disk-full — it blocks. Option C is wrong because Vault does not continue operating without logging; that would defeat the audit guarantee. Option D is wrong because Vault does not delete old logs to free space; log rotation is an operator responsibility, not automatic Vault behavior.

4
MCQmedium

You are implementing Seal Wrap to protect transit engine keys using an HSM. You have enabled the 'seal_wrap' configuration. After restarting, how does Vault handle existing data keys in the transit engine?

A.The transit engine is disabled until the 're-wrap' command is issued.
B.Vault automatically re-wraps all existing keys upon service startup.
C.Only keys created or rotated after the configuration change will be wrapped by the HSM.
D.Vault will return an error until all transit keys are manually deleted.
AnswerC

Seal Wrap only protects keys generated or rotated after enabling it; existing transit keys remain unwrapped until rotated. This satisfies the stem's restart scenario because Vault does not retroactively wrap stored keys, so previously created data keys stay in their original, non-HSM-protected form until rotation occurs.

Why this answer

When Seal Wrap is enabled with an HSM, Vault does not automatically re-wrap existing keys. Only keys created or rotated after the configuration change will be wrapped by the HSM. Existing keys remain wrapped with the previous mechanism until they are rotated or re-wrapped manually.

This is the correct behavior for transit engine keys.

Exam trap

The trap is assuming Vault automatically re-wraps existing keys when seal wrap is enabled — candidates often pick the 'automatic re-wrap' option, but the correct answer is that only new or rotated keys are wrapped.

How to eliminate wrong answers

Option A is wrong because the transit engine is not disabled; it continues to function with existing keys, and new keys are seal-wrapped. Option B is wrong because Vault does not automatically re-wrap all existing keys on startup; this would be a heavy operation and is not performed automatically. Option D is wrong because Vault does not return an error or require manual deletion of keys; existing keys simply remain in their prior wrapping state.

5
MCQeasy

Where are audit logs physically stored if the 'file' audit device is configured?

A.In standard system syslog.
B.In the storage backend database.
C.In the local filesystem at the configured path.
D.In Vault's memory buffer.
AnswerC

The file audit device writes entries directly to the local filesystem path specified during enablement, satisfying the requirement for on-disk storage. Vault appends JSON-formatted audit records to that file, so logs reside on the host running the Vault server rather than in memory or a remote backend.

Why this answer

When the file audit device is enabled, Vault writes JSON-formatted audit entries to the path specified in the device's options (for example, file_path=/var/log/vault_audit.log) on the local filesystem of the Vault node. Each node writes to its own local file, so in an HA cluster every node must have the device enabled and its own path configured.

Exam trap

The trap is confusing the file audit device with the syslog audit device or assuming audit logs live in the storage backend; candidates who haven't configured audit devices often pick the database or memory option.

How to eliminate wrong answers

Option A is wrong because syslog output requires the syslog audit device, not the file device. Option B is wrong because audit logs are deliberately kept out of the storage backend to preserve tamper-evidence and avoid circular dependencies with the encrypted barrier. Option D is wrong because Vault does not persist audit logs in memory; the file device writes directly to disk, and the in-memory buffer is not a durable audit sink.

6
Multi-Selectmedium

You are deploying a new Vault Enterprise cluster that will use a PKCS#11 HSM for auto-unseal. The HSM is a network-attached appliance reachable over TCP. Which TWO configuration elements must be present in the seal stanza to allow Vault to communicate with this HSM? (Choose two.)

Select 2 answers
A.The HSM's firmware version to ensure compatibility with Vault's PKCS#11 calls.
B.The slot number or slot label that identifies the HSM partition.
C.The path to the PKCS#11 library provided by the HSM vendor.
D.The HSM's serial number to bind the seal to a specific hardware unit.
E.The IP address and port of the HSM's management web interface.
AnswersB, C

The HSM may expose multiple slots or partitions. Vault must know which slot to use for its keys and login. The seal stanza accepts either a slot number or a slot label. Specifying the wrong slot will cause Vault to use an unintended partition or fail to find the key material.

Why this answer

To use a PKCS#11 HSM for auto-unseal, Vault needs the vendor's PKCS#11 library path and a way to select the correct slot or partition. These two elements allow Vault to load the library, initialize a session, and log in to the HSM. Other details such as management IP, serial number, or firmware version are not part of the seal stanza configuration.

Exam trap

The trap here is confusing the HSM's management interface or hardware identifiers with the parameters Vault actually uses; Vault communicates through the PKCS#11 library and a selected slot, not through a web UI or serial number.

7
MCQmedium

An operator is configuring Vault Enterprise to send audit logs to a syslog server. The operator wants to ensure that audit logs are not lost if the syslog server becomes temporarily unavailable. Which configuration parameter should be adjusted to allow Vault to buffer audit logs in memory until the syslog server is reachable?

A.Vault does not support buffering audit logs; it will block requests if the audit device is unavailable.
B.The `fallback` option in the audit device configuration, which enables a secondary audit device for buffering.
C.The `log_raw` option in the audit device configuration.
D.The `syslog` audit device's `facility` and `tag` parameters.
AnswerA

Vault's audit system does not buffer logs. If an audit device becomes unavailable, Vault will block all requests that require auditing to prevent unlogged operations. This is a security feature to ensure no request goes unrecorded. Therefore, there is no parameter to enable buffering. The operator must ensure high availability of the syslog server or configure multiple audit devices to avoid blocking. This option correctly states the behavior.

Why this answer

Vault does not buffer audit logs. If an audit device is unreachable, Vault blocks requests to prevent unaudited actions. This design ensures that every request is logged, but it means that audit device availability is critical.

To mitigate, operators should configure redundant audit devices or ensure the syslog server is highly available. The `log_raw` option, `facility`, and `tag` parameters do not affect buffering, and there is no `fallback` option. Thus, the correct understanding is that buffering is not supported.

Exam trap

The trap here is assuming that Vault provides buffering for audit logs to handle temporary outages, when in fact it blocks requests instead.

8
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.

9
MCQhard

A Vault Agent is configured with auto_auth using the AWS auth method and a cache block with use_auto_auth_token = true. A client application connects to the agent's listener and sends a request to read a secret at secret/data/app. The agent's cached token lacks permission for that path, but the client also provides its own Vault token in the X-Vault-Token header. How does the agent handle the request?

A.The agent attempts to renew the auto-auth token and retries the request, ignoring the client token until the auto-auth token gains access.
B.The agent forwards the request to Vault using the client-provided token, because the client token takes precedence when present.
C.The agent rejects the request with a 403 error because the auto-auth token is not authorized for the path.
D.The agent ignores the client token and uses the auto-auth token, causing Vault to return a permission denied error.
AnswerB

When use_auto_auth_token is true, the agent uses its auto-auth token only if the incoming request does not already carry a token. If the client supplies an X-Vault-Token header, the agent proxies the request with that token instead. This allows clients to use their own credentials for paths the auto-auth token cannot access, while still benefiting from the agent's caching and connection management.

Why this answer

With use_auto_auth_token enabled, the agent uses its auto-auth token only when the client request lacks a token. If the client includes an X-Vault-Token header, the agent forwards that token to Vault. The agent does not evaluate permissions itself; Vault enforces policies.

This design lets clients use their own tokens for specific paths while still leveraging the agent's caching and proxying.

Exam trap

The trap here is assuming the agent always enforces its own token, when in fact a client-supplied token takes precedence.

10
MCQmedium

You are using Vault Enterprise with integrated storage (Raft) and have a three-node cluster. One node fails and is expected to be down for several hours. You want to ensure the cluster remains available for writes. What is the minimum number of nodes that must be running and healthy to maintain quorum and allow writes?

A.One node, because Vault can operate in a degraded state.
B.Two nodes, because a majority (quorum) of the three-node cluster must be available.
C.Zero nodes, because Vault can queue writes until a node returns.
D.Three nodes, because all nodes must be available to accept writes.
AnswerB

This is correct. In a three-node Raft cluster, quorum is two nodes. As long as two nodes are running and can communicate, the cluster can elect a leader and commit writes. The third node can be down without affecting write availability. This is the fundamental principle of Raft consensus: a majority is required for progress.

Why this answer

A three-node Raft cluster requires a quorum of two nodes to elect a leader and commit writes. One node can be down without affecting write availability, but if two nodes are down, the cluster loses quorum and writes fail. Vault does not queue writes during quorum loss.

Exam trap

The trap here is assuming that a single node can keep the cluster writable or that Vault can queue writes when quorum is lost, when in fact a majority is required for any write.

11
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.

12
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.

13
MCQhard

A Vault Enterprise cluster is configured with Performance Replication to a secondary cluster. The secondary cluster is in a different region and is used for disaster recovery and read scaling. You notice that the secondary cluster is experiencing high replication lag, and some read requests return stale data. Which factor is most likely causing the lag?

A.The network latency between the primary and secondary clusters is high, and the primary is generating a high volume of writes.
B.The secondary cluster has a large number of Performance Standby nodes that are overwhelmed with read requests.
C.The primary cluster is using Integrated Storage (Raft) while the secondary uses Consul as its storage backend.
D.The secondary cluster is configured with a different seal mechanism than the primary cluster.
AnswerA

Performance Replication streams write operations from the primary to the secondary. High network latency and a high volume of writes can cause the replication stream to fall behind, resulting in lag. This is the most likely cause of the observed lag and stale reads.

Why this answer

Performance Replication lag is primarily influenced by network conditions and the write throughput on the primary. High latency between clusters and a heavy write load can cause the secondary to fall behind, leading to stale reads. To mitigate, ensure adequate network bandwidth and consider reducing write volume or scaling the primary.

Exam trap

The trap here is assuming that read load on the secondary or storage backend differences cause replication lag, when in fact replication lag is driven by the primary's write stream and network conditions.

14
MCQmedium

To monitor the health of a Vault cluster, which endpoint should an external monitoring tool query?

A./sys/leader
B./sys/health
C./sys/metrics
D./sys/monitor
AnswerB

/sys/health returns HTTP status codes reflecting seal, standby and replication states, letting an external monitor poll cluster health without authentication. It satisfies the requirement for a dedicated, unauthenticated endpoint, unlike /sys/seal-status, which reports seal state only, or /v1/sys/leader, which exposes leader details rather than overall health.

Why this answer

The /sys/health endpoint is purpose-built for external monitoring tools: it returns HTTP status codes (200 active, 429 standby, 472 DR secondary, 473 performance standby, 501 not initialized, 503 sealed) that load balancers and monitoring systems can act on directly. It also exposes fields like initialized, sealed, standby, and replication state. This makes it the canonical endpoint for health checks.

Exam trap

Vault Enterprise often tests the distinction between endpoints that return data (leader, metrics) and the one endpoint designed specifically to return health status codes, catching candidates who assume any /sys/* endpoint works for monitoring.

How to eliminate wrong answers

Option A is wrong because /sys/leader returns leadership information (leader address, HA enabled, raft info) but does not provide a health-oriented status code or sealed/initialized state suitable for automated monitoring. Option C is wrong because /sys/metrics exposes telemetry data (counters, gauges) for scraping by systems like Prometheus, not a simple health signal. Option D is wrong because /sys/monitor is a streaming endpoint that tails Vault's log output — it is a debugging tool, not a health check.

15
MCQeasy

A Vault administrator is preparing a server configuration file for a new Vault Enterprise installation. They want to ensure that the Vault UI is accessible and that the server listens on all network interfaces for API requests. Which configuration settings should they use?

A.Set 'ui = true' in the 'listener' stanza and 'address = "127.0.0.1:8200"' in the same stanza.
B.Set 'ui = true' in the 'ui' stanza and 'address = "0.0.0.0:8200"' in the 'listener' stanza.
C.Set 'ui = true' in the 'storage' stanza and 'address = "0.0.0.0:8200"' in the 'listener' stanza.
D.Set 'ui = true' at the top level and 'address = "0.0.0.0:8200"' in the 'listener' stanza.
AnswerD

The 'ui' parameter is a top-level configuration option that enables the Vault UI. Setting it to true makes the UI accessible at the /ui path. The 'listener' stanza's 'address' parameter specifies the bind address; using '0.0.0.0:8200' makes Vault listen on all network interfaces on port 8200. This combination correctly enables the UI and allows API requests from any interface.

Why this answer

To enable the Vault UI, set 'ui = true' at the top level of the configuration file. To listen on all interfaces, set 'address = "0.0.0.0:8200"' in the 'listener' stanza. This allows the UI to be accessed via any network interface and the API to accept requests from remote clients.

Incorrect placement of 'ui' in other stanzas is a common mistake.

Exam trap

The trap here is misplacing the 'ui' parameter inside a stanza like 'listener' or 'storage'; it is a top-level setting and must not be nested.

16
MCQhard

You are using Vault Enterprise with Performance Replication. The primary cluster is in us-east-1, and a secondary cluster is in eu-west-1. You need to ensure that the secondary cluster can continue to serve read requests even if the primary cluster becomes unavailable. Which statement describes the behavior of the secondary cluster in this scenario?

A.The secondary cluster will continue to serve read requests using its local replica of the data, but writes will fail until the primary is restored or the secondary is promoted.
B.The secondary cluster will become read-only and reject all requests, including reads, until the primary is back online.
C.The secondary cluster will redirect all read requests to the primary cluster, causing failures if the primary is down.
D.The secondary cluster will automatically promote itself to primary and begin accepting writes.
AnswerA

Performance Replication secondaries maintain a local replica of the data and can serve read requests even if the primary is down. However, writes cannot be processed because the secondary does not have the authority to accept writes unless it is promoted to primary. This behavior ensures read availability during a primary outage.

Why this answer

Performance Replication secondaries are designed to serve read requests locally, providing read scalability and disaster recovery. If the primary becomes unavailable, the secondary can continue to serve reads from its local replica, but it cannot accept writes unless it is manually promoted to primary. This ensures that read operations remain available during a primary outage.

Exam trap

The trap here is assuming that the secondary automatically promotes itself or that it stops serving reads; in reality, it continues to serve reads but requires manual promotion for writes.

17
Multi-Selecthard

Which THREE actions are permitted by the 'vault operator' command group?

Select 3 answers
A.Rekey the master key.
B.Create a user login.
C.Step down the active node.
D.Unseal the Vault server.
E.Create a new secret engine.
AnswersA, C, D

The vault operator command group covers cluster lifecycle operations, including rekey, which generates new unseal and master keys. Rekeying the master key is therefore permitted, satisfying the stem's question about actions available within this command group.

Why this answer

Option A is correct because 'vault operator rekey' is part of the operator command group and is used to generate a new master key (or recovery key) by re-entering the required threshold of unseal/recovery keys. Option C is correct because 'vault operator step-down' forces the active Vault node to give up its active status and trigger a leader election, which is an operator-level cluster management action. Option D is correct because 'vault operator unseal' submits an unseal key share to progress the Vault server out of its sealed state, a core operator responsibility.

Option B does not belong because creating a user login is an authentication/userpass operation (e.g., 'vault write auth/userpass/users/...'), not an operator command. Option E does not belong because enabling a new secrets engine is done with 'vault secrets enable' (or the sys/mounts API), which is not part of the operator command group.

Exam trap

Vault Enterprise often tests the boundary between 'vault operator' and other command groups like 'vault auth' or 'vault secrets'; candidates must remember that 'operator' is for cluster-level operations, not for creating auth methods or secret engines.

18
MCQmedium

You are deploying a hardened production Vault cluster. Which setting in the 'listener' stanza is recommended to prevent cleartext communication?

A.tls_disable = true
B.proxy_protocol = true
C.tls_prefer_server_cipher_suites = false
D.tls_disable = false
AnswerD

Setting tls_disable = false forces the listener to serve TLS, encrypting all client-to-Vault traffic and preventing cleartext communication. This satisfies the stem's hardening requirement, since the default listener configuration permits plaintext HTTP unless TLS is explicitly enabled with certificates.

Why this answer

Setting tls_disable = false in the listener stanza ensures Vault serves its API over TLS, preventing cleartext transmission of tokens, secrets, and requests. In hardened production deployments, TLS is mandatory and should be paired with a valid certificate and strong cipher suites.

Exam trap

The trap is the inverted boolean: candidates see tls_disable and assume true means 'TLS is disabled safely' or pick proxy_protocol thinking it implies encryption, when only tls_disable = false actually enforces TLS.

How to eliminate wrong answers

Option A is wrong because tls_disable = true explicitly disables TLS, forcing cleartext HTTP and exposing all traffic to interception. Option B is wrong because proxy_protocol = true only enables the PROXY protocol for preserving client IPs behind a load balancer; it does not enable or enforce TLS. Option C is wrong because tls_prefer_server_cipher_suites = false affects cipher suite negotiation order, not whether TLS is used at all.

19
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.

20
MCQhard

A Vault Enterprise operator is investigating a sudden increase in memory usage on a Vault node. They suspect that a large number of leases are accumulating. Which telemetry metric should they examine to track the total number of active leases in the cluster?

A.vault.expire.num_leases
B.vault.lease.count
C.vault.lease.active
D.vault.token.count
AnswerA

vault.expire.num_leases is the correct metric. It represents the total number of leases currently tracked by the expiration manager. Monitoring this metric helps operators detect lease accumulation, which can lead to increased memory usage. In Vault Enterprise, this metric is critical for capacity planning and identifying issues with lease revocation or renewal.

Why this answer

The metric vault.expire.num_leases tracks the total number of leases in the expiration manager. It is the correct choice for monitoring active leases and diagnosing memory usage spikes. Other options are either non-existent or unrelated to lease counts.

This metric is essential for understanding lease-related resource consumption in Vault Enterprise.

Exam trap

The trap here is assuming that lease metrics are named intuitively like vault.lease.count, when in fact they are under the expire namespace.

21
MCQhard

Your security team requires that Vault Agent use a specific namespace in Vault Enterprise for all auto-auth and secret retrieval operations. The agent is configured with AppRole auto-auth. Which configuration parameter must you set to ensure the agent operates within the required namespace?

A.namespace in the cache block
B.namespace in the vault block
C.namespace in the template block
D.namespace in the auto_auth block
AnswerB

The top-level vault block includes a namespace parameter that sets the Vault Enterprise namespace for all agent operations. Setting it there ensures that auto-auth, templating, and caching all use the specified namespace consistently, which is required for proper isolation and access control.

Why this answer

In Vault Enterprise, the agent's namespace is configured in the top-level vault block. This setting applies to all agent operations, including auto-auth, templating, and caching. Setting it there ensures the agent interacts with the correct namespace, which is essential for multi-tenant environments and proper access control.

Exam trap

The trap here is assuming that namespace can be set per-block, when in fact it is a global setting in the vault stanza that applies to the entire agent.

22
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.

23
MCQeasy

An operator needs to verify that a Vault Enterprise cluster is currently using a PKCS#11 HSM for its seal and that the seal is healthy. Which command provides the seal type and status without requiring unseal keys?

A.vault operator unseal -status
B.vault debug -seal
C.vault status
D.vault read sys/seal
AnswerC

The vault status command queries the sys/seal-status endpoint and reports the seal type, such as pkcs11, along with whether the cluster is sealed or unsealed. It does not require unseal keys and is the standard way to confirm the active seal mechanism and its health.

Why this answer

The vault status command reports the seal type and whether Vault is sealed. When an HSM is configured, the output includes a seal type such as pkcs11 or hsm, confirming that auto-unseal is active. This command is safe to run without unseal keys and is the quickest way to verify seal health.

Exam trap

The trap here is reaching for a command that sounds seal-specific, such as vault operator unseal, when the simple status command already exposes the seal type and health.

24
Multi-Selecteasy

Which THREE components are involved in a standard high availability (HA) Vault architecture?

Select 3 answers
A.A load balancer.
B.A secondary Vault cluster.
C.An external monitoring tool.
D.Multiple Vault nodes.
E.A storage backend (e.g., Raft or Consul).
AnswersA, D, E

The load balancer fronts the cluster, directing client traffic to the active node and health-checking standby nodes. It satisfies the HA requirement by removing the single address dependency, so failover is transparent to clients without reconfiguration.

Why this answer

In a standard HA Vault architecture, a load balancer (A) is required to distribute client requests across the active and standby nodes, routing traffic to the current leader and providing a stable endpoint. Multiple Vault nodes (D) are essential because HA relies on a cluster of Vault servers where one node is active and the others are standbys ready to take over via leader election. A storage backend such as Raft or Consul (E) is also required, since it provides the shared, highly available data store that all nodes use for configuration, state, and leader election coordination.

A secondary Vault cluster (B) is not part of a standard HA setup; it describes disaster recovery replication (performance or DR replication) rather than HA within a single cluster. An external monitoring tool (C) is useful for observability and alerting but is not a required architectural component of Vault's HA design.

Exam trap

The trap is confusing HA (multiple nodes in one cluster) with replication (separate clusters); candidates may incorrectly include a secondary cluster as an HA component.

25
MCQhard

A Vault Enterprise operator enables Seal Wrap on a cluster backed by a PKCS#11 HSM. After enabling Seal Wrap, the operator notices that some existing secrets still appear in plaintext within the storage backend. Which statement explains this behavior?

A.The HSM is not configured with a wrapping key, so Vault silently falls back to plaintext storage for all secrets until a wrapping key is generated.
B.Seal Wrap requires a cluster restart to take effect, so until all nodes are restarted the storage backend will continue to show plaintext for all entries.
C.Seal Wrap is only compatible with the transit secrets engine, so data from other engines such as KV will always remain unwrapped in storage.
D.Seal Wrap only applies to new writes; existing data must be re-written or migrated to be wrapped, so pre-existing plaintext entries remain until they are updated.
AnswerD

Seal Wrap is applied at write time for supported backends. Data written before Seal Wrap was enabled was stored without HSM wrapping, and Vault does not retroactively rewrite it. To protect existing secrets, they must be re-written, which can be done by reading and writing them again or by using a supported migration path for that secrets engine.

Why this answer

Seal Wrap protects data by wrapping values with the HSM at write time. It is not a retroactive process, so secrets written before Seal Wrap was enabled remain unwrapped in storage. Operators must re-write or migrate that data to bring it under HSM protection.

This is why a mix of wrapped and unwrapped entries can appear after enabling the feature.

Exam trap

The trap here is assuming Seal Wrap automatically rewrites all existing storage; it only affects data written after it is enabled, leaving older entries in their original form.

26
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.

27
MCQeasy

An administrator has configured a Vault Enterprise server to use a PKCS#11 HSM for auto-unseal. After a reboot, Vault fails to start and logs show that the PKCS#11 library could not be loaded. Which action should the administrator take first to resolve the issue?

A.Reinitialize the HSM token with a new PIN using the vendor's management utility.
B.Change the `mechanism` in the seal stanza to `CKM_RSA_PKCS_OAEP` and restart Vault.
C.Verify that the `lib` path in the `seal` stanza points to a valid PKCS#11 shared library and that the file permissions allow the Vault process to read it.
D.Disable Seal Wrap temporarily by setting `seal_wrap = false` in the seal stanza and restart Vault.
AnswerC

The most common cause of a PKCS#11 library load failure is an incorrect path or insufficient permissions. The `lib` parameter must point to the vendor's shared library, and the Vault process user must have read and execute permissions on it. Checking the path and permissions is the quickest first step before investigating deeper HSM connectivity or configuration issues.

Why this answer

A PKCS#11 library load failure typically stems from an incorrect `lib` path or missing file permissions. The Vault process must be able to read and load the vendor's shared library. Verifying the path and permissions is the correct first troubleshooting step, whereas reinitializing the token, changing the mechanism, or disabling Seal Wrap do not address the root cause.

Exam trap

The trap here is jumping to HSM token or cryptographic configuration changes when the error is simply a host-level library path or permission problem.

28
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.

29
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.

30
MCQeasy

What is the benefit of using a Vault Agent sink?

A.It persists the token to disk for other processes.
B.It automates the Vault server backup.
C.It encrypts the vault server traffic.
D.It compresses the template output.
AnswerA

A sink writes the auto-auth token to a file or Unix socket, letting other processes on the host reuse it without re-authenticating. This satisfies the scenario's requirement by persisting the token to disk for other processes.

Why this answer

A Vault Agent sink is a configuration block that writes the agent's auto-auth token (and optionally wrapped data) to a file on disk so that other local processes — not just the agent's own templates — can consume it. This is the documented purpose of the 'sink' stanza in the agent config, which supports file sinks with configurable mode, owner, and group. It decouples token acquisition from token consumption for legacy or non-Vault-aware applications.

Exam trap

Vault Enterprise often tests the distinction between sinks (persist the token for other processes) and templates (render secrets into config files), so candidates who conflate the two pick a template-related answer.

How to eliminate wrong answers

Option B is wrong because Vault Agent does not perform server backups; backup of the storage backend (Integrated Storage snapshots, Consul snapshots, etc.) is a separate operational task using 'vault operator raft snapshot' or the storage backend's own tooling. Option C is wrong because Vault Agent does not terminate or encrypt server traffic — TLS between agent and server is configured via the 'vault { tls_* }' stanza, not via sinks. Option D is wrong because sinks do not compress template output; template rendering is handled by the 'template' stanza, and compression is not a sink feature.

31
MCQmedium

You are running a Vault Enterprise cluster with integrated storage (Raft) across three nodes. One node, vault-3, experiences a hardware failure and is offline for an extended period. After it is repaired and brought back online, you notice that it is not automatically rejoining the cluster. You run `vault operator raft list-peers` on the leader and see that vault-3 is not listed. What is the correct procedure to re-add vault-3 to the cluster?

A.On vault-3, run `vault operator raft join http://<leader-api-addr>:8200`.
B.On the leader, run `vault operator raft remove-peer vault-3` and then re-add it using `vault operator raft join` from vault-3.
C.On the leader, run `vault operator raft add-peer vault-3`.
D.On vault-3, run `vault operator raft snapshot restore` using the latest snapshot from the leader.
AnswerA

When a node is removed from the Raft configuration due to prolonged absence, it must be manually rejoined. Running `vault operator raft join` on vault-3 with the leader's API address will add it back as a follower. This is the correct and documented procedure for re-adding a node that was previously part of the cluster but was removed.

Why this answer

When a Raft node is offline for too long, it may be removed from the cluster configuration. To re-add it, you must run `vault operator raft join` on the node itself, pointing to a current leader. This initiates the join process, and the node will be added back as a follower and catch up on missed data.

This is the standard recovery procedure for a node that has been absent.

Exam trap

The trap here is thinking that you can add a peer from the leader using an add-peer command, when in reality the join must be initiated from the node being added.

32
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.

33
MCQmedium

An application is configured to use a Batch token. Which of the following operations will fail when using a Batch token?

A.Performing a Transit engine encryption.
B.Renewing the token.
C.Authenticating with a configured auth method.
D.Reading a secret from the KV engine.
AnswerB

Batch tokens are non-renewable by design, so any renewal attempt fails immediately. This satisfies the stem's constraint directly: the token type itself prohibits the renew operation, unlike service tokens which support renewal via `auth/token/renew`. The failure is inherent to the batch token's encrypted, stateless structure, not a policy restriction.

Why this answer

Batch tokens in Vault are lightweight, non-renewable tokens designed for high-scale, short-lived workloads. Because they are not persisted in Vault's storage backend and have a fixed TTL, they cannot be renewed — attempting to renew a batch token will fail. They can still be used to authenticate, read secrets, and perform operations like Transit encryption, provided the token's policies allow it.

Exam trap

The trap is assuming batch tokens behave like service tokens for all operations — candidates forget that batch tokens are non-renewable and non-revocable, which is their defining limitation.

How to eliminate wrong answers

Option A is wrong because Transit encryption is a normal Vault operation that a batch token can perform if its policies permit — batch tokens are not restricted from using secrets engines. Option C is wrong because authenticating with a configured auth method is exactly what batch tokens are often used for (e.g., via the token auth method or after login); batch tokens can be used to authenticate to other auth methods if policies allow. Option D is wrong because reading secrets from the KV engine is a standard operation that batch tokens support — the limitation is on renewal and certain token-management operations, not on secret reads.

34
MCQeasy

Which signal is commonly used with 'change_mode = signal' in Vault Agent templates to reload a service without stopping it?

A.SIGKILL
B.SIGINT
C.SIGHUP
D.SIGTERM
AnswerC

SIGHUP causes the target process to reload its configuration without terminating, letting the service pick up regenerated template files while remaining running. Other signals such as SIGTERM or SIGINT stop the process, defeating the goal of reloading without downtime.

Why this answer

SIGHUP (Signal Hang Up) is the conventional Unix signal used to tell a long-running daemon to reload its configuration files without terminating the process. In Vault Agent templates, setting change_mode = signal with signal = "SIGHUP" causes the agent to send SIGHUP to the configured process whenever the rendered template changes, prompting the service to re-read its config in place. This preserves the running process, its PID, and any in-memory state while picking up new secrets or certificates.

Exam trap

The trap here is conflating 'reload without stopping' with generic process-control signals — candidates often pick SIGTERM or SIGINT because they associate them with 'restarting' a service, missing that only SIGHUP is the conventional reload signal.

How to eliminate wrong answers

Option A is wrong because SIGKILL cannot be caught or handled by a process — it terminates the process immediately with no chance to reload configuration, defeating the purpose of a non-disruptive reload. Option B is wrong because SIGINT is the interactive interrupt signal (Ctrl+C) intended to stop a process, not reload it. Option D is wrong because SIGTERM requests graceful termination of the process, which stops the service rather than reloading it in place.

35
MCQeasy

You are deploying a Vault Enterprise cluster with Integrated Storage (Raft) across three availability zones. To ensure that the cluster remains available if one availability zone fails, how should you distribute the Vault nodes?

A.Deploy two Vault nodes in one availability zone and one node in another.
B.Deploy all three Vault nodes in a single availability zone.
C.Deploy one Vault node in each of the three availability zones.
D.Deploy one Vault node in each of two availability zones and one node outside any zone.
AnswerC

Deploying one node per availability zone ensures that if one zone fails, the remaining two nodes are in different zones and can still form a quorum (2 out of 3). This provides fault tolerance for a single zone failure. This distribution is a common best practice for high availability in cloud environments, as it minimizes the impact of a zone outage.

Why this answer

To survive a single availability zone failure, the Vault nodes must be spread across at least three zones with one node each. This ensures that a zone failure leaves two nodes in separate zones, which can still form a quorum. Distributing nodes unevenly or placing multiple nodes in one zone increases the risk of quorum loss if that zone fails.

The even distribution across three zones is the standard best practice for high availability.

Exam trap

The trap here is thinking that any distribution across zones provides fault tolerance, but if two nodes are in the same zone, that zone becomes a single point of failure for quorum.

36
MCQmedium

You are migrating from a file-based storage backend to Integrated Storage. What must you do before joining the new node to the cluster?

A.Run 'vault operator raft join'.
B.Disable TLS.
C.Delete the old configuration file.
D.Format the filesystem.
AnswerA

Running 'vault operator raft join' instructs the new node to contact the existing cluster's leader and join the Raft peer set, which is the required step before the node can participate in Integrated Storage replication.

Why this answer

Before a new Vault node can participate in an Integrated Storage (Raft) cluster, it must be joined to the existing cluster using 'vault operator raft join' with the leader's API address. This command registers the node with the Raft cluster so it can receive the encrypted snapshot and begin replicating. Without this step, the node starts as a standalone Vault instance and never joins the quorum.

Exam trap

Vault Enterprise often tests the specific CLI command required to join a Raft cluster — candidates confuse general preparation steps (TLS, config, filesystem) with the actual 'vault operator raft join' action.

How to eliminate wrong answers

Option B is wrong because TLS is required for secure Raft communication and must remain enabled; disabling it would break cluster security and is not a prerequisite. Option C is wrong because deleting the old configuration file is unnecessary and could remove needed listener/storage settings. Option D is wrong because formatting the filesystem is not a Vault-specific requirement and would destroy data; Integrated Storage uses a directory, not a raw formatted device.

37
MCQhard

You are performing a Disaster Recovery (DR) promotion. The primary cluster is permanently lost. After running 'vault operator dr promotion', what is the immediate next step you must perform to restore full functionality?

A.Manually re-import all secret engines from an external backup file.
B.Enable Performance Replication between the new primary and the old primary.
C.Re-initialize the cluster using 'vault operator init'.
D.Update your load balancer configuration to point to the new promoted cluster.
AnswerD

Promotion leaves the secondary's nodes serving reads only until clients are redirected; the DR secondary's advertise addresses and any load balancer targets still reference the lost primary. Repointing the load balancer restores write traffic to the promoted cluster, satisfying the stem's requirement to regain full functionality immediately after promotion.

Why this answer

After promoting a secondary to primary with 'vault operator dr promotion', the cluster is functional but clients still resolve the old primary's address. The immediate next step is to update the load balancer (or DNS/service discovery) so traffic is directed to the newly promoted cluster. Until that routing change is made, the promotion has no user-visible effect.

Exam trap

The trap is thinking promotion alone restores service — candidates forget that Vault has no built-in client redirection, so the load balancer/DNS update is the mandatory immediate follow-up step.

How to eliminate wrong answers

Option A is wrong because DR replication already replicates secret engines and data to the secondary, so manual re-import from backup is unnecessary and would risk inconsistency. Option B is wrong because the old primary is permanently lost, so enabling performance replication to it is impossible and irrelevant. Option C is wrong because re-initializing would destroy the promoted cluster's state and unseal keys, which is catastrophic and never part of DR promotion.

38
Multi-Selectmedium

You are configuring a Vault Enterprise cluster with integrated storage to scale for a high-read workload. You plan to add performance standby nodes. Which two statements accurately describe how performance standbys affect scaling and request handling? (Choose two.)

Select 2 answers
A.Performance standbys participate in the Raft quorum and can become the active node if the current active fails.
B.Performance standbys can accept write requests and commit them directly to the integrated storage backend.
C.Performance standbys require a separate integrated storage backend that is synchronized via performance replication.
D.Performance standbys forward write requests to the active node, which then commits the change to the replicated data store.
E.Performance standbys can serve read requests from the replicated data store, reducing load on the active node.
AnswersD, E

When a client sends a write to a performance standby, the standby forwards the request to the active node. The active node commits the change to the Raft log, and the change is then replicated back to the standbys. This preserves consistency while allowing reads to be served locally. The statement accurately describes the write forwarding behavior of performance standbys.

Why this answer

Performance standbys scale read-heavy workloads by serving reads locally from the replicated data store, and they forward writes to the active node for commitment. They do not participate in Raft elections and cannot become active, which distinguishes them from standard standbys. These two characteristics make them ideal for read scaling without altering the write path or failover topology.

Exam trap

The trap here is assuming performance standbys can handle writes or participate in failover, when they are strictly read-scaling nodes that forward writes to the active node.

39
Multi-Selecthard

Which THREE conditions might result in a Vault node becoming unhealthy?

Select 3 answers
A.Storage backend connection failure.
B.The node is in a 'sealed' state.
C.Telemetry endpoint is down.
D.The node cannot connect to the cluster leader.
E.Audit logs are full.
AnswersA, B, D

A storage backend connection failure directly triggers unhealthiness because Vault's core cannot persist or retrieve encrypted data, causing the node to fail its health checks. Without storage access, the node cannot serve requests or maintain cluster state, satisfying the stem's condition for becoming unhealthy.

Why this answer

Option A is correct because Vault's health status depends on its storage backend; if Vault cannot reach or use its configured storage (e.g., Consul, Raft, file, or cloud storage), it cannot serve requests and reports unhealthy. Option B is correct because a sealed Vault node has no access to its master key or unseal keys, so it cannot decrypt the barrier or serve secrets, and its health endpoint returns a sealed, unhealthy status. Option D is correct because a non-leader node that cannot reach the active cluster leader cannot forward requests or participate properly in the cluster, causing it to report unhealthy.

Option C is not correct because telemetry endpoints (such as Prometheus or StatsD sinks) are optional observability outputs; their failure does not affect Vault's core health status. Option E is not correct because audit log devices are configured sinks, and while audit failures can block requests, 'audit logs are full' is not a standard Vault health condition and does not by itself make the node unhealthy.

Exam trap

The trap is including peripheral conditions like telemetry downtime or full audit logs — candidates must distinguish core operational health (storage, seal state, leader connectivity) from observability or logging concerns.

40
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.

41
MCQmedium

You are using Batch tokens in your environment to improve performance. A developer asks why their Batch token cannot be revoked individually. What is the primary reason?

A.Batch tokens are stateless and not persisted in the storage backend.
B.The performance standby nodes do not support Batch token revocation.
C.Batch tokens are only supported for transit engine operations.
D.Batch tokens have a hard-coded TTL that cannot be overridden.
AnswerA

Batch tokens are not written to Vault's storage backend; they exist only as self-contained encrypted blobs, so there is no accessor record to revoke. This statelessness is precisely what delivers their performance benefit, and it is the reason individual revocation is impossible.

Why this answer

Batch tokens are stateless and not persisted in Vault's storage backend, so they cannot be revoked individually. Unlike service tokens, which are stored and tracked, batch tokens are self-contained and validated cryptographically. This design enables high performance and scalability but sacrifices individual revocation capability.

Exam trap

The trap is assuming batch tokens can be revoked like service tokens; candidates must remember that statelessness precludes individual revocation, a key trade-off for performance.

How to eliminate wrong answers

Option B is wrong because performance standby nodes do support batch token operations; the limitation is due to statelessness, not node type. Option C is wrong because batch tokens are not limited to the transit engine; they can be used with many auth methods and secrets engines. Option D is wrong because batch tokens do have a TTL, but it is not hard-coded; it is set at creation, and the inability to revoke is due to statelessness, not TTL constraints.

42
MCQeasy

You are deploying a Vault Enterprise cluster with Integrated Storage and want to ensure high availability. The cluster will have five nodes. What is the minimum number of nodes that must be active and healthy to maintain quorum and allow write operations?

A.2
B.1
C.5
D.3
AnswerD

In a five-node Raft cluster, quorum is achieved when a majority of nodes are active and healthy. The formula floor(n/2)+1 gives floor(5/2)+1 = 3. Therefore, at least three nodes must be operational to maintain quorum, elect a leader, and allow write operations. This ensures fault tolerance of up to two node failures.

Why this answer

Quorum in a Raft cluster is determined by a majority of nodes. For a five-node cluster, the majority is three. Therefore, at least three nodes must be active and healthy to maintain quorum and allow write operations.

This provides tolerance for up to two node failures.

Exam trap

The trap here is assuming that all nodes are required for quorum, when actually only a majority is needed.

43
MCQmedium

You are deploying Vault with the integrated Raft storage backend. How is high availability achieved?

A.By using a shared NFS mount for the data directory.
B.By manually mounting the storage partition across all nodes.
C.By using an external Consul agent as a lock provider.
D.By configuring nodes to join a Raft cluster and establishing consensus.
AnswerD

Integrated Raft storage achieves high availability by having multiple Vault nodes join one Raft cluster, electing an active node and maintaining replicated state through consensus, so standby nodes can take over if the active fails.

Why this answer

High availability with Vault's integrated Raft storage is achieved by configuring multiple Vault nodes to join a Raft cluster, where they participate in leader election and maintain consensus. The Raft protocol ensures that a quorum of nodes is required for operations, providing fault tolerance and automatic failover.

Exam trap

Vault Enterprise often tests the misconception that Raft HA requires shared storage or Consul, but integrated Raft uses local storage and consensus.

How to eliminate wrong answers

Option A is wrong because a shared NFS mount is not supported for Raft storage; Raft requires local storage on each node to maintain the replicated log. Option B is wrong because manually mounting the storage partition across nodes is not how Raft works and would not provide consensus. Option C is wrong because using an external Consul agent as a lock provider is for the Consul storage backend, not integrated Raft.

44
MCQeasy

What is the primary benefit of using HSM Auto-Unseal for a Vault cluster?

A.It provides backup redundancy for the Vault data.
B.It allows Vault to unseal without manual intervention.
C.It replaces the need for TLS encryption.
D.It increases the throughput of the storage backend.
AnswerB

HSM Auto-Unseal delegates the master key decryption to a hardware security module, so Vault retrieves the unseal key automatically at start-up or restart. This removes the manual Shamir key-entry requirement, directly satisfying the stem's constraint: eliminating operator intervention to unseal nodes after reboots or outages.

Why this answer

HSM Auto-Unseal delegates the unseal operation to a hardware security module (or a cloud KMS acting as one) that holds the master key. When Vault starts, it sends the encrypted master key to the HSM for decryption, allowing the node to unseal automatically without an operator supplying unseal keys. This eliminates manual unseal ceremonies after restarts and enables fully automated cluster recovery.

Exam trap

The trap is assuming Auto-Unseal provides backup, encryption, or performance benefits — it only automates the unseal step by delegating master key protection to an external HSM/KMS.

How to eliminate wrong answers

Option A is wrong because HSM Auto-Unseal does not provide data backup or redundancy — that is the role of the storage backend and its replication/snapshot features. Option C is wrong because HSM Auto-Unseal has nothing to do with TLS; TLS encryption of client and cluster traffic is configured separately via `tls_cert_file` and related listener settings. Option D is wrong because HSM Auto-Unseal does not affect storage backend throughput; it only handles master key wrapping/unwrapping during seal and unseal operations.

45
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.

46
MCQmedium

When configuring the PKCS#11 library, how does Vault find the library on the host OS?

A.The path is provided in the 'lib' field of the seal configuration.
B.The path is defined in the Vault environment variables.
C.Vault expects the library to be located in '/usr/lib/vault'.
D.Vault looks in the LD_LIBRARY_PATH environment variable by default.
AnswerA

The seal stanza's lib field holds the filesystem path to the PKCS#11 shared library, for example the HSM vendor's .so file. Vault loads that path from the host OS, so an incorrect location prevents the seal from initialising.

Why this answer

When configuring Vault's PKCS#11 auto-unseal, the seal stanza requires a lib field that contains the absolute path to the PKCS#11 shared library (for example, /usr/lib/libsofthsm2.so) on the host OS. Vault loads that library at startup via dlopen using the exact path supplied, so the path must be explicitly declared in the configuration rather than inferred from the environment. This makes the seal configuration the single source of truth for locating the HSM vendor's PKCS#11 module.

Exam trap

The trap is assuming Vault uses standard OS library-resolution mechanisms (LD_LIBRARY_PATH or a default directory) for PKCS#11 — candidates who have only seen dynamic-linker behavior pick option D, missing that Vault requires the explicit lib field.

How to eliminate wrong answers

Option B is wrong because Vault does not read the PKCS#11 library path from environment variables — the path must be declared in the seal stanza's lib field. Option C is wrong because Vault has no hardcoded default directory such as /usr/lib/vault for PKCS#11 libraries; the location is vendor- and OS-dependent. Option D is wrong because Vault does not fall back to LD_LIBRARY_PATH to discover the PKCS#11 module; while the dynamic linker uses LD_LIBRARY_PATH for dependencies, Vault's seal configuration requires an explicit lib path.

47
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.

48
Multi-Selectmedium

Which THREE factors influence the performance of a Performance Secondary cluster?

Select 3 answers
A.The speed of the network between primary and secondary.
B.The storage backend performance on the secondary.
C.The number of Performance Standby nodes on the Primary cluster.
D.The number of root tokens in the system.
E.The rate of write operations on the Primary cluster.
AnswersA, B, E

Network latency and bandwidth between the primary and Performance Secondary directly govern replication throughput, since the secondary must receive and apply updates from the primary. Slow links delay write propagation and increase staleness, making link speed a genuine performance constraint for the secondary cluster.

Why this answer

Option A is correct because a Performance Secondary receives replicated data from the Primary over the network, so the bandwidth and latency of the link between primary and secondary directly affect how quickly that replication is applied and how current the secondary's data is. Option B is correct because the secondary must persist and serve the replicated writes from its own storage backend, so disk IOPS, throughput, and latency on the secondary determine how fast it can apply and read that data. Option E is correct because the volume of write operations on the Primary drives the replication workload the secondary must process; a higher write rate increases the replication traffic and processing burden on the secondary.

Option C is not correct because Performance Standby nodes are read-only replicas that scale read capacity on the Primary cluster and do not govern the performance of a Performance Secondary. Option D is not correct because root tokens are authentication credentials and have no bearing on cluster performance.

Exam trap

The trap is selecting options about primary-side scaling (performance standbys) or irrelevant administrative counts (root tokens) instead of the three factors that directly govern secondary replication and serving performance.

49
MCQmedium

A Vault Enterprise cluster is running with three nodes. The active node is handling both reads and writes, and the two standby nodes are idle. You want to scale read performance by allowing the standby nodes to serve read requests while maintaining the same high availability and data consistency guarantees. Which configuration should you enable?

A.Enable the `read_replica` option on the active node and configure the standby nodes to forward read requests to the active node.
B.Enable Integrated Storage (Raft) with three voters and configure `performance_standby` on the standby nodes via the `vault operator raft` command.
C.Deploy a separate Performance Secondary cluster and configure Performance Replication to forward read requests to it.
D.Set `performance_standby = true` in the Vault configuration file on the standby nodes and restart the Vault service.
AnswerD

Setting `performance_standby = true` in the configuration file on standby nodes enables Performance Standby mode. These nodes can then serve read requests from the active node's data, scaling read performance while maintaining high availability. This is the correct way to enable performance standbys in Vault Enterprise.

Why this answer

Performance Standby nodes are a Vault Enterprise feature that allows standby nodes to serve read requests, offloading the active node and scaling read throughput. They are enabled by setting `performance_standby = true` in the configuration file on the standby nodes. This maintains high availability because one node remains active for writes, while standbys handle reads and can take over if the active node fails.

Exam trap

The trap here is confusing Performance Standby nodes with Performance Replication, which is a separate feature for cross-cluster replication, not within-cluster read scaling.

50
MCQmedium

You are operating a Vault Enterprise cluster using the integrated Raft storage backend with three nodes. The cluster is used for production secrets management. After a scheduled maintenance window, you notice that the Vault service on one node was not restarted automatically. When you check the node's status, it is running but not part of the Raft cluster. You need to rejoin the node to the Raft cluster without affecting the existing leader or other peers. Which command should you run on the node to achieve this?

A.vault operator raft join http://leader-address:8200
B.vault operator raft snapshot restore -file=snapshot.snap
C.vault operator init -key-shares=1 -key-threshold=1
D.vault operator unseal
AnswerA

This command instructs the Vault node to join the Raft cluster by contacting the specified leader or any existing peer. It is the correct method to rejoin a node after it has been offline or removed. The command does not disrupt the existing cluster and will add the node as a follower, allowing it to catch up on the Raft log.

Why this answer

To rejoin a node to an existing Raft cluster, you must use the raft join command with the address of the current leader or any active peer. This safely adds the node as a follower, allowing it to synchronize with the cluster. Other commands like snapshot restore or init would disrupt the node's state and are not appropriate for this scenario.

Unsealing alone does not establish cluster membership.

Exam trap

The trap here is assuming that unsealing a node automatically rejoins it to the Raft cluster, when in fact a separate join operation is required.

51
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.

52
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.

53
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.

54
MCQmedium

When using Vault with an external storage backend like Consul, what is the effect of changing the 'api_addr' in the Vault configuration file?

A.It forces a cluster leader election.
B.It updates the address clients and peers use to communicate with the node.
C.It disables high availability mode.
D.It changes the storage backend connection string.
AnswerB

api_addr advertises the address that clients and other cluster peers should use to reach this node. Changing it alters that advertised endpoint, so redirects, request forwarding and peer communication target the new address rather than the storage backend itself.

Why this answer

The 'api_addr' in Vault's configuration specifies the address that Vault advertises to clients and other cluster nodes for API communication. Changing it updates the address used for client requests, redirects, and peer communication. It does not affect storage backend connectivity or trigger leader election.

Exam trap

Vault Enterprise often tests the confusion between 'api_addr' and 'cluster_addr' or storage stanza settings — candidates may incorrectly attribute storage or HA behavior to 'api_addr'.

How to eliminate wrong answers

Option A is wrong because changing 'api_addr' does not force a leader election; leader election is triggered by node failure or manual step-down. Option C is wrong because 'api_addr' is unrelated to HA mode; HA is controlled by the storage backend and 'ha_enabled' settings. Option D is wrong because the storage backend connection is defined by the 'storage' stanza, not 'api_addr'.

55
MCQmedium

When an audit log is configured, what happens if the audit device cannot write to its destination (e.g., disk is full)?

A.Vault alerts the admin via email.
B.Vault stops processing requests.
C.Vault ignores the error and continues.
D.Vault switches to a backup audit device.
AnswerB

Vault treats audit devices as blocking: if every enabled audit device fails to write, Vault halts request processing and returns errors, preventing unlogged operations. This fail-closed behaviour guarantees no request is served without an audit trail.

Why this answer

By default, if Vault cannot write to the audit device, it will stop processing requests to ensure no un-audited operations occur.

56
Multi-Selecthard

Which TWO of the following are valid parameters for configuring the 'sink' in Vault Agent?

Select 2 answers
A.type
B.ttl
C.config
D.auth_method
E.mode
AnswersA, C

The `type` parameter selects the sink destination, such as `file` or `syslog`, and is mandatory when declaring a sink block. It satisfies the stem's requirement for a valid sink parameter, since Vault Agent cannot route audit entries without knowing which sink implementation to instantiate.

Why this answer

In Vault Agent's sink stanza, the two valid configuration parameters are 'type' (option A) and 'config' (option C). The 'type' parameter specifies the sink backend, such as 'file' for writing tokens to disk, and is required to determine how the sink behaves. The 'config' parameter supplies a map of backend-specific settings (for example, the file path and permissions when type is 'file'), so it is the mechanism for passing sink-specific options.

Options B ('ttl'), D ('auth_method'), and E ('mode') are not sink parameters: 'ttl' and 'auth_method' belong to the auto-auth or token configuration, and 'mode' is a file-permission setting that would be nested inside the sink's config block rather than a top-level sink parameter.

Exam trap

The trap is mixing up parameters from different Vault Agent stanzas — candidates often pick 'auth_method' or 'ttl' because they appear elsewhere in the agent config, but sinks only accept 'type' and 'config'.

57
MCQmedium

You are operating a Vault Enterprise cluster with Integrated Storage (Raft) and Performance Replication enabled. The primary cluster has three nodes, and the secondary cluster has three nodes. During a planned maintenance window, you need to take down the primary cluster for two hours. You want the secondary cluster to continue serving read requests for replicated data but not accept writes to avoid conflicts when the primary returns. Which action should you take on the secondary cluster before taking down the primary?

A.Demote the primary cluster to secondary and then promote the secondary cluster to primary.
B.Do nothing; the secondary cluster already serves reads and rejects writes to replicated data.
C.Promote the secondary cluster to primary using 'vault operator promote'.
D.Set the secondary cluster to 'read-only' mode using 'vault write sys/replication/performance/secondary/read-only'.
AnswerB

A Performance Replication secondary cluster is designed to be read-only for replicated data and will reject write requests to replicated paths unless it is promoted. It can still serve reads and handle local writes to non-replicated mounts if configured. Therefore, no action is needed to prevent writes to replicated data during the primary's downtime.

Why this answer

A Performance Replication secondary cluster inherently serves read requests for replicated data and rejects writes to those paths unless it is promoted to primary. This design allows for read scaling and disaster recovery without manual intervention. During primary downtime, the secondary continues to function as a read-only replica, so no configuration change is required to maintain that behavior.

Exam trap

The trap here is assuming that a secondary cluster requires an explicit read-only configuration, when in fact it is read-only by default for replicated data.

58
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.

59
Multi-Selectmedium

An administrator is configuring a new Vault Enterprise server that will use Integrated Storage. They need to specify the storage stanza in the configuration file. Which TWO parameters are required within the 'storage "raft"' stanza to ensure the node can participate in the cluster? (Choose two.)

Select 2 answers
A.node_id
B.max_entry_size
C.retry_join
D.performance_multiplier
E.path
AnswersA, E

The 'node_id' parameter provides a unique identifier for the node within the Raft cluster. It is required for Integrated Storage because Raft uses node IDs to distinguish cluster members. If omitted, Vault will generate one based on the hostname, but for clarity and stability, it is best practice to set it explicitly. A stable node ID helps with cluster management and recovery.

Why this answer

For a Vault node using Integrated Storage, the 'path' and 'node_id' parameters are required within the 'storage "raft"' stanza. The 'path' defines where data is stored, and 'node_id' uniquely identifies the node in the Raft cluster. Other parameters like 'retry_join' are used for joining but can be replaced by the 'discovery' stanza, and tuning parameters are optional.

Exam trap

The trap here is assuming that 'retry_join' is mandatory for every node; it is only needed for nodes that need to join an existing cluster, and alternative discovery methods exist.

60
Multi-Selectmedium

Which TWO settings are considered best practices for hardening a Vault production listener?

Select 2 answers
A.Use HTTP instead of HTTPS.
B.Disable audit logs.
C.Set tls_min_version to 'tls12'.
D.Set tls_disable to false.
E.Set cluster_addr to 0.0.0.0.
AnswersC, D

Setting `tls_min_version` to `tls12` forces the listener to reject TLS 1.0 and 1.1 handshakes, eliminating deprecated protocol versions with known weaknesses. This directly satisfies the hardening requirement by ensuring only TLS 1.2 or higher negotiates with clients, while remaining compatible with Vault's supported cipher suites and typical production clients.

Why this answer

Option C is correct because setting tls_min_version to 'tls12' in the Vault listener stanza enforces TLS 1.2 as the minimum acceptable protocol version, preventing clients from negotiating deprecated and vulnerable protocols such as TLS 1.0 and TLS 1.1. Option D is correct because setting tls_disable to false ensures TLS encryption is enabled on the listener, which is essential for protecting Vault API traffic and client tokens in transit in a production environment. Option A is incorrect because using HTTP instead of HTTPS would transmit all Vault traffic, including tokens and secrets, in cleartext, which is the opposite of hardening.

Option B is incorrect because disabling audit logs removes the ability to record and monitor requests to Vault, undermining security visibility and compliance. Option E is incorrect because setting cluster_addr to 0.0.0.0 would bind cluster communication to all interfaces, unnecessarily exposing the cluster port rather than restricting it to a specific, trusted address.

Exam trap

Vault Enterprise often tests the misconception that tls_disable defaults to a secure value or that HTTP is acceptable behind a trusted network, when in fact Vault requires explicit TLS configuration and treats any cleartext listener as a production anti-pattern.

61
MCQhard

A Vault performance standby node receives a request. What happens if the request is a write operation?

A.The request is forwarded to the active node.
B.The request is rejected with a 403 error.
C.The node processes it locally.
D.The node triggers an election.
AnswerA

Performance standby nodes cannot service writes, since only the active node holds the write-ahead log and storage backend. The standby therefore forwards the write request over the cluster port to the active node, which processes it and replicates the result back.

Why this answer

Performance standby nodes in Vault Enterprise serve read-only requests locally (when the read can be satisfied from replicated state) but forward write operations to the active node over the cluster port. This preserves the single-writer guarantee of the Raft or integrated storage backend while scaling read throughput horizontally. The forwarding is transparent to the client, which receives the response as if the active node had handled it directly.

Exam trap

Vault Enterprise often tests the difference between performance standbys (forward writes, serve reads) and traditional standbys (forward everything) — candidates who assume all standbys behave identically pick 'rejected' or 'processed locally'.

How to eliminate wrong answers

Option B is wrong because performance standbys do not reject writes with 403 — they transparently forward them, so the client sees a successful response. Option C is wrong because processing writes locally would violate the single-writer invariant of the storage backend and cause split-brain or replication divergence. Option D is wrong because performance standbys do not trigger elections; only a full standby (non-performance) participates in leader election when the active node fails, and even then it is the Raft layer that initiates the election, not the receipt of a write request.

62
MCQhard

Your organization requires fine-grained control over what data is synchronized to a specific Performance Secondary cluster to reduce storage overhead. Which feature should you implement?

A.Replication path filters
B.Namespace isolation policies
C.Mount tuning with local=true
D.Performance Standby path filtering
AnswerA

Replication path filters let you exclude specific mount paths from being replicated to a Performance Secondary, directly reducing its storage footprint. This satisfies the fine-grained control requirement by allowing selective synchronisation rather than replicating all data.

Why this answer

Replication path filters allow you to specify which paths are replicated to a Performance Secondary, reducing storage and bandwidth overhead by excluding paths that the secondary does not need. You configure them on the Primary using the sys/replication/performance/primary/path-filters endpoint, listing allowed or denied paths. This gives fine-grained control over what data lands on each secondary.

Exam trap

Vault Enterprise often tests the confusion between replication path filters (fine-grained, path-level control) and local mounts (all-or-nothing exclusion) — candidates pick local=true thinking it offers granularity it does not provide.

How to eliminate wrong answers

Option B is wrong because namespace isolation policies control access to namespaces, not what data is replicated — they are an authorization mechanism, not a replication filter. Option C is wrong because mount tuning with local=true marks a mount as local to a cluster, meaning it is never replicated at all; that is a binary exclusion, not fine-grained path-level control, and it applies to the mount as a whole. Option D is wrong because 'Performance Standby path filtering' is not a real Vault feature — Performance Standbys serve reads but do not have a path-filtering mechanism; the correct feature is replication path filters on Performance Secondaries.

63
MCQhard

You are analyzing Vault's performance and notice high latency in the 'core.fetch_token' metric. What does this suggest?

A.The audit file device is too slow.
B.The request buffer is full.
C.The storage backend is struggling with high frequency read/write operations.
D.Vault is misconfigured for high availability.
AnswerC

High `core.fetch_token` latency points to Vault's token store operations, which persist tokens through the configured storage backend. When that backend cannot sustain the read/write throughput demanded by frequent token creation and lookup, each fetch blocks, inflating this metric. The constraint is storage backend performance under high-frequency token operations.

Why this answer

The 'core.fetch_token' metric measures the time Vault spends retrieving a token from the storage backend during request processing. High latency here directly indicates the storage backend is slow to respond to token lookups, which are among the most frequent read operations Vault performs. This points to storage backend performance issues rather than audit, buffering, or HA configuration problems.

Exam trap

The trap here is assuming any latency metric relates to audit logging or HA; candidates must recognize that 'fetch_token' is specifically a storage read operation.

How to eliminate wrong answers

Option A is wrong because audit device latency would surface in audit-related metrics (e.g., audit log write durations), not in core.fetch_token, which is purely a storage read path. Option B is wrong because a full request buffer would manifest as request rejections or queue depth metrics, not token fetch latency. Option D is wrong because HA misconfiguration affects leader election and request forwarding, not the per-request token lookup time from storage.

64
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.

65
MCQeasy

Where does the Vault Agent store the token it retrieves via auto-auth by default if a sink is not defined?

A./tmp/vault.token
B./var/run/vault/token
C.Environment variable VAULT_TOKEN
D.In-memory
AnswerD

Without a sink, the token exists only in the agent's memory.

Why this answer

When no sink is configured, Vault Agent auto-auth keeps the acquired token in memory only. The token is not written to disk or exported to an environment variable by default; it is held by the agent process and used for cache requests or template rendering. Persisting it requires explicitly defining a sink.

Exam trap

The trap is assuming the agent must persist the token somewhere by default, leading candidates to pick a file path or environment variable when the default is actually in-memory only.

How to eliminate wrong answers

Option A is wrong because /tmp/vault.token is not a default path — it would only exist if a file sink were configured with that path. Option B is wrong because /var/run/vault/token is not a default; it is a common convention for a file sink but must be explicitly set. Option C is wrong because the agent does not export VAULT_TOKEN to the environment by default; that would require a sink or manual export.

66
MCQmedium

When running Vault on a cloud provider, what is the best practice for storing the Vault configuration file?

A.Store it as a plaintext file in the root directory.
B.Hardcode the root token in the config file.
C.Use the 'vault write' command to update the config file.
D.Use a secure management system to populate config values.
AnswerD

Using a secure management system to populate config values satisfies the stem's cloud constraint by keeping secrets out of the configuration file entirely. Vault's config supports environment variables and templated values, so credentials are injected at runtime rather than persisted on disk, avoiding exposure through instance images, snapshots or version control.

Why this answer

The best practice for storing Vault configuration files in the cloud is to use a secure management system (e.g., AWS Secrets Manager, HashiCorp Consul, or encrypted S3 with restricted access) to populate configuration values dynamically. This avoids embedding sensitive data like tokens or keys in plaintext and supports rotation and auditability. Hardcoding secrets or storing plaintext files exposes credentials and violates security best practices.

Exam trap

The trap here is assuming that the Vault configuration file can be managed via Vault's own CLI or that hardcoding secrets is acceptable for simplicity, when in fact secure external management is required.

How to eliminate wrong answers

Option A is wrong because storing the config as a plaintext file in the root directory is insecure and can lead to unauthorized access. Option B is wrong because hardcoding the root token in the config file is a severe security risk; the root token should never be stored in plaintext. Option C is wrong because 'vault write' is used to write data to Vault, not to update the Vault server configuration file; configuration is typically managed via files or orchestration tools.

67
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.

68
MCQhard

You are operating a Vault Enterprise cluster with Performance Replication. The primary cluster is in us-east-1 and a secondary cluster is in eu-west-1. Clients in eu-west-1 are configured to read secrets from the secondary cluster. You notice that after a brief network disruption between the regions, the secondary cluster's replication status shows 'stream-wals' but with a high lag. Some read requests to the secondary are returning stale data. You need to ensure that the secondary cluster serves reads only when it is sufficiently up-to-date. Which action should you take?

A.Use the `vault write sys/replication/performance/secondary/update-primary` command to force the secondary to re-sync from the primary.
B.Monitor the replication lag using `vault read sys/replication/performance/status` and, if lag is unacceptable, temporarily redirect clients to the primary until the secondary catches up.
C.Enable `replication_primary_only` on the secondary cluster to prevent it from serving reads until it catches up.
D.Configure the secondary cluster's `max_lag` parameter in the replication configuration to a low value, and set the secondary to reject reads if lag exceeds that value.
AnswerB

Vault Enterprise does not automatically prevent a performance secondary from serving reads based on lag. The recommended practice is to monitor replication status via the API endpoint `sys/replication/performance/status`, which shows the lag in WAL entries. If the lag is too high and stale reads are unacceptable, you should redirect clients to the primary until the secondary is sufficiently caught up. This ensures data consistency.

Why this answer

Performance Replication secondaries serve reads locally, which can be stale if replication lag is high. Vault does not provide an automatic mechanism to reject reads based on lag. The correct operational approach is to monitor lag via the replication status API and, when necessary, redirect clients to the primary to avoid stale data.

This manual intervention ensures consistency until the secondary catches up.

Exam trap

The trap here is believing that Vault Enterprise has a built-in feature to automatically reject reads on a performance secondary when replication lag exceeds a threshold, when in fact it does not.

69
MCQhard

You need to rotate the Vault master key (rekey). Which command should be used if you want to change the key configuration (e.g., number of shares) while performing the rekey?

A.vault operator rekey -init
B.vault operator unseal
C.vault secrets tune
D.vault operator rotate
AnswerA

vault operator rekey -init starts a rekey operation and accepts new key configuration such as -key-shares and -key-threshold, allowing the number of shares to change. This satisfies the stem's requirement to alter key configuration during rekey.

Why this answer

'vault operator rekey -init' starts a rekey operation and, when combined with flags like '-key-shares' and '-key-threshold', allows you to change the unseal key configuration while generating a new master key. This is the only command that both rotates the master key and lets you alter the share/threshold parameters in a single operation.

Exam trap

The trap is conflating 'rekey' (master key rotation with share reconfiguration) with 'rotate' (encryption key rotation) — candidates often pick 'vault operator rotate' thinking it changes the master key configuration.

How to eliminate wrong answers

Option B is wrong because 'vault operator unseal' is used to submit unseal key shares to unseal a Vault node — it does not rotate or reconfigure keys. Option C is wrong because 'vault secrets tune' adjusts configuration on a secrets engine (TTL, max lease, etc.), not the master key. Option D is wrong because 'vault operator rotate' rotates the encryption key (the key ring used for the barrier), not the master key, and it does not allow changing share/threshold configuration.

70
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.

71
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.

72
MCQmedium

When running 'vault operator raft list-peers', you notice one node is listed but its status is 'dead'. What is the correct procedure to remove it from the Raft cluster?

A.Re-run the join command for the node.
B.Run 'vault operator raft remove-peer'.
C.Restart the leader node.
D.Delete the node's data directory manually.
AnswerB

Running `vault operator raft remove-peer` directly on a surviving node removes the dead server from the Raft configuration without requiring the failed node to be online. This satisfies the stem's constraint: the peer is unreachable, so removal must be performed from a healthy cluster member rather than the dead node itself.

Why this answer

The 'vault operator raft remove-peer' command is the supported, safe way to evict a dead node from the Raft cluster. It instructs the leader to remove the peer from the Raft configuration, allowing the remaining nodes to re-establish quorum without the failed member. This is the documented procedure for decommissioning or replacing a failed Raft node in Vault Enterprise.

Exam trap

Vault Enterprise often tests the misconception that restarting the leader or re-joining a node will automatically clean up dead peers, but Raft membership must be explicitly modified with 'remove-peer'.

How to eliminate wrong answers

Option A is wrong because re-running the join command does not remove the dead peer and will fail or be ignored since the node is already listed in the Raft configuration. Option C is wrong because restarting the leader does not remove the dead peer and may cause unnecessary disruption or a new leader election without fixing the stale membership. Option D is wrong because manually deleting the data directory on the dead node does not update the Raft configuration on the surviving nodes and can leave the cluster with an unreachable peer, risking quorum issues.

73
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.

74
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.

75
MCQmedium

Which telemetry type is most effective for monitoring the 'lease' count in Vault?

A.Summaries
B.Histograms
C.Counters
D.Gauges
AnswerD

Lease count rises and falls continuously, so it needs a value sampled at scrape time rather than a cumulative total. Gauges expose that instantaneous reading, letting operators watch active leases and spot abnormal growth or leaks.

Why this answer

Gauges are the most effective telemetry type for monitoring lease counts because gauges represent a value that can go up or down over time — exactly the behavior of active leases, which increase when leases are created and decrease when they expire or are revoked. Vault emits metrics like 'vault.expire.num_leases' as a gauge, making it the natural fit for tracking current lease volume.

Exam trap

Vault Enterprise often tests the semantic distinction between telemetry types, and candidates frequently confuse counters (monotonic) with gauges (fluctuating), picking counters for lease counts because leases 'accumulate' — but leases also expire, which only gauges can represent.

How to eliminate wrong answers

Option A is wrong because summaries capture distribution statistics (count, sum, quantiles) over a sampling window, which is useful for latency but not for tracking a fluctuating current count. Option B is wrong because histograms bucket observations into ranges to show distributions (e.g., request durations), not a live count of leases. Option C is wrong because counters are monotonically increasing values (they only go up, or reset on restart), so they cannot represent a lease count that decreases when leases expire — a counter would misrepresent the metric.

Page 1 of 3

Page 2

All pages