Courseiva

HashiCorp Certified: Vault Operations Professional (Vault Enterprise) (Vault Enterprise) (Vault Enterprise) — Questions 76–150

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

Page 1

Page 2 of 3

Page 3
76
MCQmedium

You are configuring a Vault Agent to use the AppRole auth method. The agent must retrieve a secret from a KV v2 secrets engine and render it into a configuration file. The secret path is 'secret/data/myapp/config'. Which template function should you use to access the secret's data?

A.{{ with secret "secret/myapp/config" }}{{ .Data.config }}{{ end }}
B.{{ with secret "secret/data/myapp/config" }}{{ .Data.data.config }}{{ end }}
C.{{ with secret "secret/data/myapp/config" }}{{ .Data.config }}{{ end }}
D.{{ with secret "secret/myapp/config" }}{{ .Data.data.config }}{{ end }}
AnswerB

For KV v2, secrets are nested under 'data.data'. The 'secret' function retrieves the secret, and the correct path includes '/data/' to access the KV v2 API. The template accesses .Data.data.config to get the value. This is the correct syntax for KV v2 secrets.

Why this answer

KV v2 secrets require the path to include '/data/' and the secret data is nested under .Data.data. The template function 'secret' is used with the full path, and the value is accessed via .Data.data.<key>. This ensures correct retrieval and rendering.

Exam trap

The trap here is mixing KV v1 and v2 path structures and data nesting, which often leads to missing secrets.

77
MCQmedium

An operations team is deploying a new Vault Enterprise cluster that will use Integrated Storage with Auto-Unseal via AWS KMS. The nodes will be provisioned in an Auto Scaling group behind a load balancer. They want to minimize manual steps during initial cluster formation and ensure that nodes can automatically join when scaled. Which configuration approach should they use?

A.Use a cloud auto-join mechanism such as 'discovery' stanza with AWS tags or a Consul service registry, and configure Auto-Unseal with AWS KMS.
B.Manually run 'vault operator raft join' on each new node after provisioning, specifying the leader's API address.
C.Configure 'cluster_addr' to point to the load balancer, and use the load balancer to distribute join requests to existing nodes.
D.Configure each node with a static 'retry_join' stanza that includes the IP addresses of all initial nodes, and rely on the Auto-Unseal configuration to unseal the nodes automatically.
AnswerA

Cloud auto-join using the 'discovery' stanza with AWS tags or Consul allows nodes to dynamically discover peers without hardcoded IPs. Combined with Auto-Unseal via AWS KMS, nodes can automatically unseal and join the cluster. This is the recommended approach for dynamic environments like Auto Scaling groups, as it eliminates manual configuration updates when nodes are added or replaced.

Why this answer

In dynamic environments like Auto Scaling groups, static IP addresses are unreliable. Cloud auto-join with the 'discovery' stanza allows nodes to find each other using cloud provider metadata or a service registry. When combined with Auto-Unseal via AWS KMS, nodes can automatically unseal and join the cluster without manual intervention.

This is the recommended pattern for scalable Vault Enterprise deployments.

Exam trap

The trap here is assuming that Auto-Unseal alone handles cluster join; it only unseals the node, while join discovery requires a separate mechanism like 'discovery' or 'retry_join' with dynamic addressing.

78
MCQhard

During an HSM failover event, your Vault nodes lose access to the primary HSM. You have configured a secondary HSM. How does Vault handle this?

A.Vault waits until the primary HSM is back online.
B.Vault automatically detects the secondary HSM and switches over.
C.Vault fails over to Shamir's Secret Sharing mode.
D.Vault requires a manual update to the seal configuration and a restart.
AnswerD

Vault does not automatically fail over between HSMs; the seal stanza references one HSM configuration. Switching to the secondary requires editing the seal block and restarting each node, satisfying the stem's failover scenario because no runtime HSM switching mechanism exists.

Why this answer

Vault does not automatically failover to a secondary HSM; when the primary HSM becomes unavailable, Vault loses its seal and will not function until the seal is restored. To use a secondary HSM, an operator must manually update the seal configuration to point to the secondary HSM and then restart Vault. This manual intervention is required because the seal configuration is static and Vault does not support automatic HSM failover.

Exam trap

Vault Enterprise often tests seal configuration behavior, and candidates may assume automatic failover to a secondary HSM, but Vault requires manual reconfiguration and restart.

How to eliminate wrong answers

Option A is wrong because Vault does not wait; it becomes sealed and unavailable until manual intervention. Option B is wrong because Vault does not automatically detect and switch to a secondary HSM; there is no built-in automatic failover mechanism. Option C is wrong because Vault does not fall back to Shamir's Secret Sharing mode; the seal type is fixed in the configuration, and switching would require reconfiguration and reinitialization.

79
MCQeasy

What is the primary function of a 'Performance Standby' node in Vault Enterprise?

A.To scale read throughput by processing requests locally.
B.To act as a warm standby for automatic failover.
C.To replicate the vault to a different geographic region.
D.To provide high availability for administrative writes.
AnswerA

A performance standby shares the primary's replicated data and handles read-only requests locally, including token checks, thereby scaling read throughput without forwarding every call. Writes are still forwarded to the primary, preserving a single write authority.

Why this answer

A Performance Standby node in Vault Enterprise is designed to scale read throughput by servicing read-only requests locally while still forwarding writes to the active node. This allows horizontal scaling of read operations without affecting the write path or requiring additional active nodes.

Exam trap

Vault Enterprise often tests the distinction between standard standby (for failover) and performance standby (for read scaling), and candidates may confuse the two.

How to eliminate wrong answers

Option B is wrong because a warm standby for automatic failover is the role of a standard standby node, not a performance standby; performance standbys do not participate in failover. Option C is wrong because replication to a different geographic region is handled by Vault's replication features (performance or disaster recovery replication), not by performance standby nodes. Option D is wrong because high availability for administrative writes is provided by the active node and standard standbys; performance standbys do not handle writes.

80
MCQmedium

How do you properly revoke a root token after it has been used to perform initialization tasks?

A.Use the 'vault token revoke' command.
B.Restart the server.
C.Overwrite it with a new token.
D.Delete the token file.
AnswerA

Running 'vault token revoke' against the root token immediately invalidates it, including all its child tokens and leases, once initialisation tasks are complete. This removes the highly privileged credential, satisfying the requirement to properly revoke rather than merely let it expire.

Why this answer

The correct way to revoke a root token is to use the `vault token revoke` command, which sends a revocation request to Vault's token store. This immediately invalidates the token, ensuring it cannot be used for any further operations. Since root tokens are highly privileged, proper revocation is critical for security.

The command works whether the token is provided via argument or through the `VAULT_TOKEN` environment variable.

Exam trap

Vault Enterprise often tests the misconception that restarting the server or deleting a file can revoke a token, but tokens are stored in the backend and must be explicitly revoked via the API or CLI.

How to eliminate wrong answers

Option B is wrong because restarting the server does not revoke tokens; Vault persists tokens in its storage backend, so the root token remains valid after a restart. Option C is wrong because overwriting a token with a new one is not a supported operation; tokens are immutable once created, and you cannot replace an existing token's identity. Option D is wrong because deleting a token file is ineffective; Vault stores tokens in its configured storage backend (e.g., Consul, Integrated Storage), not in a local file, and even if a file existed, deletion would not properly revoke the token from the token store.

81
Multi-Selecthard

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

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

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

Why this answer

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

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

Exam trap

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

82
MCQmedium

You want the Vault Agent to run as a sidecar. Which configuration block allows you to specify the listener address for the Vault Agent's internal API?

A.tcp_listener
B.listener
C.server
D.api_listener
AnswerB

The listener stanza defines the address and port where Vault Agent exposes its internal API, such as a Unix socket or loopback TCP endpoint. Without it, the agent cannot serve cached tokens or secrets to the sidecar's co-located application, satisfying the requirement to specify that listener address.

Why this answer

The Vault Agent configuration uses a top-level 'listener' block (not 'tcp_listener' or 'api_listener') to define the address and port where the Agent's internal API/cache proxy listens. This stanza accepts 'type = "tcp"' along with 'address' and optional 'tls_disable' settings. It is the same stanza name used in the Vault server config, which is why candidates sometimes confuse the two.

Exam trap

The trap here is confusing the Agent's own listener stanza with the upstream 'vault'/'server' block — candidates often pick 'server' thinking it configures the Agent's API, when it actually points the Agent at the real Vault cluster.

How to eliminate wrong answers

Option A is wrong because 'tcp_listener' is not a valid Vault Agent configuration block — the type 'tcp' is specified inside the 'listener' block, not as the block name. Option C is wrong because 'server' is a top-level Vault Agent block that points the Agent at the upstream Vault server (address, CA cert, etc.), not the Agent's own listener. Option D is wrong because 'api_listener' does not exist in Vault Agent configuration; the internal API is exposed through the standard 'listener' stanza.

83
Multi-Selecthard

Which THREE actions are recommended for maintaining a healthy DR replication setup?

Select 3 answers
A.Rotating the master key daily.
B.Monitoring replication lag metrics.
C.Periodically performing a mock promotion in a staging environment.
D.Ensuring the replication token remains valid and has sufficient TTL.
E.Increasing the storage backend write throughput.
AnswersB, C, D

Replication lag directly indicates whether the secondary is keeping pace with the primary. Sustained lag risks stale data and failed promotions, so continuously monitoring these metrics lets operators detect degradation early and remediate before a DR event exposes the gap.

Why this answer

Option B is correct because continuously monitoring replication lag metrics (e.g., replication lag in seconds or bytes behind) is essential to detect degraded or broken DR replication before an actual failover is needed. Option C is correct because periodically performing a mock promotion in a staging environment validates that the DR replica can actually be promoted and that failover procedures, dependencies, and runbooks work end-to-end without impacting production. Option D is correct because the replication token used to authenticate and authorize replication between nodes must remain valid and have a sufficient TTL; if it expires or is revoked, replication silently stops and the DR copy becomes stale.

Option A is not recommended because rotating the master key daily is operationally risky and unnecessary for DR health, and could disrupt replication if not coordinated. Option E is not a recommended maintenance action for DR replication health because increasing storage backend write throughput is a performance tuning change, not a routine health-maintenance practice, and may not address replication correctness or recoverability.

Exam trap

The trap is confusing DR replication maintenance with general Vault performance tuning — candidates may pick options like rotating the master key or increasing throughput, which are not specific to DR health.

84
MCQmedium

You are the Vault operator for a financial services company. Your Vault Enterprise cluster runs Integrated Storage and is approaching its maximum write throughput during peak trading hours. You need to increase write scalability without changing the client API or adding a separate Disaster Recovery cluster. Which action should you take?

A.Enable Performance Replication and promote a secondary cluster to handle writes.
B.Increase the number of nodes in the Integrated Storage cluster and ensure the active node has sufficient CPU and disk IOPS.
C.Add more Performance Standby nodes behind the active load balancer.
D.Deploy a second Vault cluster with its own Integrated Storage and configure the clients to write to both clusters.
AnswerB

Integrated Storage (Raft) scales write throughput by adding voting nodes, which increases the quorum's ability to commit log entries in parallel across more followers. Additionally, the active node must have adequate CPU and disk IOPS because it serializes writes and appends to the Raft log. This is the correct way to scale writes without changing clients.

Why this answer

Scaling write throughput in Vault Enterprise with Integrated Storage is achieved by increasing the number of Raft nodes and ensuring the active node has sufficient resources. Performance Standby nodes only offload reads, and Performance Replication secondaries do not accept arbitrary writes. Adding independent clusters changes the client model and is not a supported scaling approach.

Exam trap

The trap here is assuming that Performance Standby nodes or Performance Replication secondaries can absorb write traffic; they are designed for read scaling and read-only replicas, not for increasing write throughput.

85
MCQhard

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

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

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

Why this answer

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

Exam trap

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

86
MCQhard

A Vault Enterprise cluster is deployed across three availability zones in AWS. The administrator wants to ensure that the cluster can tolerate the loss of an entire availability zone without losing quorum. The cluster uses Integrated Storage. How many Vault nodes should be deployed, and what is the minimum number of nodes required to maintain quorum after such a loss?

A.Deploy 4 nodes; minimum 3 nodes required for quorum.
B.Deploy 5 nodes; minimum 3 nodes required for quorum.
C.Deploy 3 nodes; minimum 2 nodes required for quorum.
D.Deploy 6 nodes; minimum 4 nodes required for quorum.
AnswerB

With 5 nodes spread across three AZs (e.g., 2,2,1), losing one AZ (the one with 2 nodes) leaves 3 nodes, which is exactly quorum (majority of 5 is 3). This maintains quorum and allows the cluster to continue operating. Thus, 5 nodes is the recommended deployment to tolerate AZ loss while maintaining quorum. The minimum number of nodes required for quorum in a 5-node cluster is 3.

Why this answer

To tolerate the loss of an entire availability zone while maintaining quorum, a Vault Integrated Storage cluster should have at least 5 nodes distributed across three AZs (e.g., 2,2,1). Losing the AZ with 2 nodes leaves 3 nodes, which is the quorum for a 5-node cluster. Thus, 5 nodes is the recommended deployment, and the minimum nodes for quorum is 3.

Exam trap

The trap here is assuming that 3 nodes are sufficient for AZ tolerance; while they can tolerate one node failure, losing an AZ with multiple nodes may cause quorum loss if not distributed carefully.

87
MCQmedium

You are designing a Vault Enterprise cluster for high availability. To ensure that the cluster can tolerate the failure of a single node without losing quorum, and to support Integrated Storage, what is the minimum number of nodes required in the Raft cluster?

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

A Raft cluster requires a quorum of (N/2)+1 nodes to elect a leader and commit writes. With 3 nodes, quorum is 2, so the cluster can tolerate the failure of 1 node. This meets the requirement of tolerating a single node failure while maintaining availability. Two nodes would not provide fault tolerance because losing one node would leave only one node, which cannot form a quorum (quorum of 2 is 2). Therefore, 3 is the minimum.

Why this answer

Integrated Storage (Raft) requires a quorum to operate. For tolerating f failures, the cluster size must be at least 2f+1. To tolerate one node failure, the minimum size is 3.

This ensures that even if one node goes down, a majority (2 out of 3) remains to elect a leader and process writes. Smaller clusters cannot tolerate failures, and larger clusters exceed the minimum requirement.

Exam trap

The trap here is assuming that two nodes provide high availability because there is redundancy, but a two-node Raft cluster cannot tolerate any failure because quorum would be lost.

88
MCQmedium

Which configuration parameter in the Vault Agent 'cache' block allows you to disable caching for specific requests?

A.ignore_requests
B.exclude_paths
C.disable_cache
D.There is no per-request bypass in the configuration.
AnswerD

Vault Agent's cache block exposes no per-request bypass setting; caching applies uniformly to proxied requests. Any listener or cache stanza configuration cannot selectively disable caching for individual requests, so this option correctly identifies that no such parameter exists.

Why this answer

The Vault Agent cache block does not expose a configuration parameter to bypass caching for specific requests. Caching behavior is controlled globally (for example, via the cache listener and persist settings), and there is no per-request or per-path bypass option in the agent configuration. Therefore the correct answer is that no such parameter exists.

Exam trap

The trap is that candidates assume a granular bypass option must exist and pick a plausible-sounding parameter name, when the exam is testing knowledge that the cache block has no per-request exclusion setting.

How to eliminate wrong answers

Option A is wrong because 'ignore_requests' is not a valid Vault Agent cache parameter. Option B is wrong because 'exclude_paths' is not a cache-block option — path filtering exists in replication contexts, not agent caching. Option C is wrong because 'disable_cache' is not a recognized parameter for selectively disabling caching of specific requests.

89
MCQeasy

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

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

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

Why this answer

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

Exam trap

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

How to eliminate wrong answers

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

90
MCQmedium

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

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

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

Why this answer

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

Exam trap

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

91
Multi-Selectmedium

Which TWO factors contribute to the size and performance of Vault audit logs?

Select 2 answers
A.The size of the request/response payloads.
B.The number of active leases.
C.The number of enabled secrets engines.
D.The number of requests per second.
E.The size of the Vault data store.
AnswersA, D

Larger request and response payloads directly increase the volume of data captured per audit entry, since Vault logs the full request and response bodies. This satisfies the stem's performance and size constraint: payload size is a primary driver of audit log growth, alongside the number of operations logged.

Why this answer

Option A is correct because Vault audit devices log the full request and response payloads (with sensitive values HMAC-hashed), so larger payloads directly increase the byte size of each audit entry and thus the overall log volume and I/O. Option D is correct because every request handled by Vault generates audit entries (one per audit device), so a higher request rate produces proportionally more log lines per second, increasing log size and the write throughput required to keep up. Option B is incorrect because active leases affect token/secret lifecycle bookkeeping, not the per-request audit record size or rate.

Option C is incorrect because enabling more secrets engines adds mount points but does not itself change audit log size or performance. Option E is incorrect because the size of the Vault data store (the storage backend) is unrelated to the volume of audit log entries generated.

Exam trap

Vault Enterprise often tests the misconception that the number of leases or secrets engines affects audit log size, rather than the actual request/response payloads and request rate. The trap is confusing internal state with logged events.

92
MCQmedium

An operations team is deploying Vault Enterprise with Integrated Storage across three nodes. They want to ensure that if one node fails, the cluster remains available for both reads and writes. They also want to minimize the risk of split-brain scenarios. Which of the following configurations should they use?

A.Deploy three nodes, each in a different availability zone, all as voters, with automatic snapshotting enabled.
B.Deploy three nodes, each in a different availability zone, with one node configured as a non-voter.
C.Deploy two nodes, each in a different availability zone, both as voters, with a third node as a non-voter in a third zone.
D.Deploy five nodes, each in a different availability zone, all as voters, with performance standbys enabled.
AnswerA

With three voters, quorum is two. The loss of any one node still leaves two voters, which can form a quorum and continue to accept writes. Placing each node in a different availability zone ensures that a zone failure only affects one node, so the cluster remains available. Automatic snapshotting helps with backup and recovery but is not directly related to quorum. This configuration balances fault tolerance and split-brain avoidance.

Why this answer

A three-node cluster with all nodes as voters provides a quorum of two, allowing the cluster to tolerate the failure of one node while maintaining write availability. Placing each node in a separate availability zone protects against zone failures. Other options either reduce quorum (non-voters or only two voters) or add unnecessary complexity (five nodes).

Exam trap

The trap here is assuming that adding non-voters improves fault tolerance for writes, when in fact non-voters do not contribute to quorum and can reduce write availability if they replace voters.

93
MCQeasy

Which component in a Vault HA configuration is responsible for ensuring that only one node acts as the leader at any given time?

A.The load balancer.
B.The storage backend (e.g., Consul).
C.The Vault server process configuration file.
D.The Vault CLI.
AnswerB

The storage backend provides the coordination primitive: Consul sessions and key-value locks let nodes compete for a lock, so only the holder becomes active leader. This satisfies the single-leader constraint, since Vault itself has no quorum mechanism of its own.

Why this answer

In a Vault HA cluster, the storage backend (typically Consul or Vault's integrated Raft storage) is responsible for leader election. Vault nodes compete for a lock in the storage backend, and whichever node acquires the lock becomes the active leader while the others become standbys. This lock-based mechanism guarantees only one active node at a time.

Exam trap

Vault Enterprise often tests the misconception that the load balancer or config file enforces single-leader behavior — the actual coordination primitive lives in the storage backend.

How to eliminate wrong answers

Option A is wrong because a load balancer only distributes client traffic to healthy nodes — it does not participate in leader election or enforce single-leader semantics. Option C is wrong because the server config file merely declares HA settings (like api_addr and cluster_addr); it does not perform the election itself. Option D is wrong because the Vault CLI is a client tool for operators and has no role in cluster coordination.

94
Multi-Selecthard

Which THREE actions should be taken when analyzing an audit log to identify potential security incidents?

Select 3 answers
A.Review logs for 'sys/policy' updates.
B.Search for 'create' operations on auth/token/create.
C.Sort logs by timestamp.
D.Filter by '403 Forbidden' responses.
E.Check for successful 'read' operations on all secrets.
AnswersA, B, D

Monitoring `sys/policy` audit entries exposes privilege-escalation attempts, since every policy write or delete alters who can access secrets. This directly satisfies the stem's requirement to identify potential security incidents, as unauthorised policy changes are a primary indicator of compromise within Vault's authorisation layer.

Why this answer

Option A is correct because 'sys/policy' updates in an audit log indicate changes to Vault policies, which are high-value security events that could signal privilege escalation or unauthorized access modifications. Option B is correct because 'create' operations on 'auth/token/create' represent new token issuance, and unusual or unexpected token creation can indicate credential abuse or persistence attempts. Option D is correct because filtering by '403 Forbidden' responses highlights denied access attempts, which are strong indicators of reconnaissance or attempted unauthorized access.

Option C is not a security-specific action; sorting by timestamp is a general log-navigation technique that does not itself identify incidents. Option E is not appropriate because successful 'read' operations on all secrets are normal and expected, so reviewing them indiscriminately would generate excessive noise rather than pinpoint potential incidents.

Exam trap

Vault Enterprise often tests whether candidates can distinguish security-relevant audit actions from generic log-handling steps like sorting or broad read monitoring.

95
MCQeasy

You are setting up a Vault Enterprise server and want to enable the web UI for administrators. Which configuration setting must be added to the Vault configuration file?

A.`ui = true` in the top-level configuration.
B.`ui_enabled = true` in the listener stanza.
C.`ui = true` in the storage stanza.
D.`enable_ui = true` in the seal stanza.
AnswerA

The `ui = true` setting enables the Vault web UI. It is a top-level configuration parameter that activates the built-in UI, allowing administrators to interact with Vault through a browser. Without it, the UI is disabled by default. This setting is straightforward and does not require additional listeners or stanzas.

Why this answer

To enable the Vault web UI, you must set `ui = true` as a top-level configuration parameter. This activates the UI on all listeners that support it. It is a simple boolean setting and does not require any listener or storage stanza modifications.

Administrators can then access the UI via the Vault address.

Exam trap

The trap here is assuming the UI setting belongs in a listener or storage stanza, when it is actually a global top-level parameter.

96
Multi-Selectmedium

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

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

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

Why this answer

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

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

Exam trap

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

97
MCQmedium

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

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

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

Why this answer

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

Exam trap

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

How to eliminate wrong answers

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

98
MCQmedium

A Vault Enterprise cluster is configured with PKCS#11 auto-unseal. After a scheduled HSM firmware upgrade, Vault nodes fail to unseal and log 'PKCS#11 error: CKR_SLOT_ID_INVALID'. The HSM administrator confirms the partition is online and the PIN is unchanged. Which action should you take first to restore auto-unseal?

A.Verify the current slot ID with pkcs11-tool --list-slots and update the slot parameter in the seal stanza to match the new slot numbering.
B.Restart the Vault service on each node to force a re-read of the seal configuration.
C.Regenerate the Vault seal key and reinitialize the cluster with vault operator init.
D.Increase the hsm timeout parameter in the seal stanza to allow Vault more time to connect to the HSM.
AnswerA

CKR_SLOT_ID_INVALID indicates the slot index Vault is using no longer exists on the token after firmware changes. Listing slots with pkcs11-tool --list-slots reveals the new numbering; updating the slot value in the seal stanza and restarting Vault restores access. This directly addresses the error, which is specific to slot resolution rather than PIN, library path, or network connectivity.

Why this answer

After HSM firmware updates, slot numbering can change, causing CKR_SLOT_ID_INVALID because the seal stanza references an old slot index. Enumerating slots with pkcs11-tool --list-slots and updating the slot value restores auto-unseal. Reinitializing or restarting without fixing the slot does not resolve the mapping, and timeout tuning is irrelevant to slot validation.

Exam trap

The trap here is assuming any PKCS#11 error means the PIN or library path is wrong, when CKR_SLOT_ID_INVALID uniquely points to a stale slot index after firmware changes.

99
Multi-Selectmedium

You are configuring Vault Agent auto-auth with the AWS auth method. The agent must authenticate using an IAM role attached to an EC2 instance. Which two parameters are required in the auto_auth block's method configuration to enable this? (Choose two.)

Select 2 answers
A.type = "aws"
B.secret_key = "secret"
C.region = "us-east-1"
D.access_key = "AKIA..."
E.role = "my-role"
AnswersA, E

The `type` parameter specifies the auth method to use. Setting it to `aws` tells the agent to use the AWS auth method, which is necessary for authenticating with an IAM role attached to an EC2 instance. Without this, the agent would not know which auth method to invoke.

Why this answer

To configure AWS auto-auth using an IAM role, the agent needs to know the auth method type and the Vault role to authenticate against. The `type` and `role` parameters are required. Static credentials like access key and secret key are not used when relying on instance metadata, and the region is optional.

Exam trap

The trap here is assuming that static AWS credentials are always required, when in fact the AWS auth method can use instance metadata for IAM roles without them.

100
Multi-Selectmedium

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

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

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

Why this answer

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

Exam trap

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

101
MCQeasy

What is the primary difference between HA replication and DR replication in Vault?

A.HA replication requires Enterprise, DR does not.
B.DR replication uses a different storage backend.
C.HA replication is for performance, DR is for data durability.
D.DR replication is faster than HA replication.
AnswerC

HA replication forwards performance standby nodes to share request load within a primary cluster, while DR replication asynchronously replicates data to a separate secondary cluster for failover. This satisfies the stem's distinction: HA addresses throughput and availability locally, whereas DR addresses data durability and recovery across regions.

Why this answer

HA replication in Vault Enterprise is designed to improve read scalability and reduce latency by allowing secondary clusters to serve reads from replicated data, while writes still go to the primary. DR replication is designed for disaster recovery: it maintains a copy of data on a secondary that can be promoted to primary if the primary fails, prioritizing data durability and recovery over performance.

Exam trap

The trap is conflating HA (performance) replication with DR replication; candidates often assume DR is just a faster or more available version of HA, when the two serve different purposes (read scaling vs. disaster recovery).

How to eliminate wrong answers

Option A is wrong because both HA and DR replication are Enterprise-only features; neither is available in Vault Community Edition. Option B is wrong because DR replication uses the same storage backend types as the primary (e.g., integrated storage, Consul); it does not mandate a different backend. Option D is wrong because DR replication is not inherently faster; in fact, DR secondaries are typically not used for read scaling and may have higher replication lag tolerance, so performance is not the differentiator.

102
Multi-Selecthard

Which THREE settings are critical to verify in the Vault configuration file to ensure successful cross-cluster communication?

Select 3 answers
A.storage_type
B.ui
C.api_addr
D.listener.tcp.address
E.cluster_addr
AnswersC, D, E

Setting `api_addr` correctly advertises the cluster's client-facing API endpoint, which the performance secondary and other clusters use to forward requests. Without a reachable value, cross-cluster request forwarding fails, so verifying it satisfies the stem's requirement for reliable inter-cluster communication across the Vault deployment.

Why this answer

Option C (api_addr) is critical because it tells each Vault node the address clients and other clusters should use to reach its API, and an incorrect value breaks cross-cluster request routing. Option D (listener.tcp.address) is critical because the TCP listener must bind to an address reachable by the peer cluster (e.g., 0.0.0.0:8200 or the node's routable IP) rather than only loopback, otherwise incoming cross-cluster traffic cannot connect. Option E (cluster_addr) is critical because it advertises the node's address for cluster-to-cluster (Raft replication) traffic, and a wrong or unreachable value prevents nodes from joining and replicating across clusters.

Option A (storage_type) is not a cross-cluster communication setting; it only selects the backend (e.g., raft, file, consul) and does not affect inter-node reachability. Option B (ui) merely enables or disables the web UI and has no bearing on cross-cluster communication.

Exam trap

The trap is selecting cosmetic or storage-related settings (`ui`, `storage_type`) instead of the three networking settings (`api_addr`, `cluster_addr`, `listener.tcp.address`) that actually govern cross-cluster reachability.

103
MCQhard

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

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

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

Why this answer

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

Exam trap

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

104
MCQhard

You are managing a multi-region Vault deployment with Performance Replication. You notice that a specific secret engine mount is not being replicated to the secondary site. What should you check?

A.The replication_filter configuration.
B.The namespace's 'replicated' flag.
C.The mount's 'local' flag.
D.The secondary cluster's license status.
AnswerC

Mounts flagged as local are deliberately excluded from Performance Replication, so they never propagate to secondary clusters. Checking that flag directly explains why this specific secret engine is absent at the secondary site, satisfying the stem's constraint that only one mount fails to replicate while others succeed.

Why this answer

In Performance Replication, a mount can be marked as 'local' so that it is not replicated to secondary clusters. If a secret engine mount is missing on the secondary, the most likely cause is that the mount was created with the 'local' flag (or the mount's 'local' attribute is true), which explicitly excludes it from replication. Checking the mount's 'local' flag is the correct diagnostic step.

Exam trap

The trap is assuming replication filters or namespace flags control mount replication, when the mount's own 'local' flag is the direct and common reason a mount does not appear on a secondary.

How to eliminate wrong answers

Option A is wrong because replication_filter is used to filter which paths or namespaces replicate, but the question specifies a single mount not replicating; the mount's own local flag is the direct cause. Option B is wrong because the namespace's 'replicated' flag is not a standard Vault configuration; namespaces are either replicated or not based on their creation context, but this is not the primary check for a specific mount. Option D is wrong because license status would affect the entire cluster's replication, not a single mount; if the license were invalid, replication would fail broadly.

105
MCQmedium

You are configuring Vault Agent with a cache stanza to cache responses from a Vault Enterprise cluster. The cache is enabled, and you want to ensure that the agent can continue to serve cached secrets even if the Vault cluster becomes temporarily unavailable. Which cache parameter should you configure to control how long the agent will serve stale data?

A.lease_duration
B.persist
C.serve_stale
D.max_age
AnswerC

The serve_stale parameter in the cache stanza specifies whether the agent should serve stale cached data if the Vault cluster is unreachable. When set to true, the agent will continue to serve the last known cached response even after the secret's lease has expired, until connectivity is restored. This directly meets the requirement of maintaining availability during a Vault outage.

Why this answer

The serve_stale parameter in the cache stanza allows the agent to serve cached secrets even after their lease has expired if the Vault cluster cannot be reached. This is crucial for high availability during transient outages. Other parameters like persist affect cache durability across restarts, but not stale data serving. lease_duration and max_age are not cache configuration parameters.

Exam trap

The trap here is confusing persist with serve_stale; persist deals with cache survival across restarts, while serve_stale deals with serving expired data during a Vault outage.

106
MCQmedium

What permission level is required for the user account used to authenticate with the HSM?

A.The account must be the partition owner.
B.The account must have anonymous access.
C.The account must have Crypto User (CU) privileges.
D.The account must have full Administrative (SO) privileges.
AnswerC

Crypto User (CU) privileges provide the minimum role needed for key operations such as generating, encrypting and decrypting, without granting administrative control over the HSM. This satisfies the stem's requirement for the authenticating account, since Vault Enterprise only needs operational access to the key material, not Crypto Officer rights.

Why this answer

The HSM user account used by Vault must have Crypto User (CU) privileges because Vault only needs to perform cryptographic operations (encrypt/decrypt/wrap/unwrap) against the HSM — it does not need to manage partitions, users, or policies. CU is the standard PKCS#11 role that grants access to cryptographic mechanisms and key objects without administrative control. This least-privilege model is what HashiCorp documents for Vault Enterprise HSM auto-unseal.

Exam trap

Vault Enterprise often tests the distinction between administrative HSM roles (SO, partition owner) and operational crypto roles (CU), tricking candidates into choosing the most privileged-sounding option when least privilege is the correct answer.

How to eliminate wrong answers

Option A is wrong because partition ownership is an administrative concept (typically tied to the SO role) and is not required for Vault to perform crypto operations — Vault only needs access to keys within an existing partition. Option B is wrong because anonymous access is not a valid PKCS#11 authentication role and would not permit key operations. Option D is wrong because Security Officer (SO) privileges are administrative and excessive; granting SO to Vault violates least privilege and is not required for seal/unseal crypto operations.

107
MCQeasy

How can you view the currently enabled audit devices in a Vault cluster?

A.vault audit list
B.vault read sys/audit
C.vault list audit/devices
D.vault status -audit
AnswerA

`vault audit list` queries the audit backend directly and returns every enabled audit device with its type and description, satisfying the stem's requirement to view currently enabled devices. Unlike `vault audit enable`, it performs no configuration change, and it reads cluster state rather than a single node's configuration file.

Why this answer

The `vault audit list` command queries the `sys/audit` endpoint and returns the currently enabled audit devices along with their type and options. It is the standard CLI method for enumerating audit devices in a Vault cluster. The output shows device paths (e.g., `file/`, `syslog/`) and their configuration.

Exam trap

The trap is confusing `vault audit list` with `vault read sys/audit` — candidates forget that `sys/audit` is a LIST endpoint, not a READ endpoint, and that Vault provides a dedicated `audit` subcommand.

How to eliminate wrong answers

Option B is wrong because `vault read sys/audit` is not a valid read path — `sys/audit` is a LIST-only endpoint, so you must use `vault list sys/audit` or the dedicated `vault audit list` command. Option C is wrong because `vault list audit/devices` is not a real Vault API path; audit devices are managed under `sys/audit`, not `audit/devices`. Option D is wrong because `vault status -audit` is not a valid flag — `vault status` reports seal/HA status and does not enumerate audit devices.

108
MCQeasy

Which of the following is a requirement for the PKCS#11 library used with Vault Auto-Unseal?

A.The library must be statically linked into the Vault binary.
B.The library must be PKCS#11 compliant.
C.The library must be written in Go.
D.The library must support the KMIP protocol.
AnswerB

Vault's PKCS#11 auto-unseal mechanism calls the library's standard C_* functions to wrap and unwrap the root key, so the library must expose the PKCS#11 API surface. Compliance with that specification is the stated requirement; vendor-specific extensions are irrelevant.

Why this answer

Vault's PKCS#11 auto-unseal mechanism relies on dynamically loading a vendor-supplied PKCS#11 shared library (e.g., libsofthsm2.so, libcloudhsm.so) at runtime via the seal "pkcs11" stanza. The only hard requirement is that the library implements the OASIS PKCS#11 (Cryptoki) API so Vault can call standard functions like C_Initialize, C_Login, C_Encrypt, and C_Decrypt against the HSM. Compliance with the PKCS#11 spec guarantees the expected function signatures and slot/token semantics are present, which is what Vault's seal code depends on.

Exam trap

Vault Enterprise often tests the distinction between PKCS#11 (Cryptoki C API for HSM auto-unseal) and KMIP (a separate protocol used by the KMIP secrets engine), causing candidates to incorrectly assume KMIP support is required for PKCS#11 auto-unseal.

How to eliminate wrong answers

Option A is wrong because Vault loads the PKCS#11 provider dynamically at runtime using the path supplied in the seal stanza's `lib` parameter — it is not compiled or statically linked into the Vault binary. Option C is wrong because PKCS#11 libraries are vendor-supplied native shared objects (typically C/C++), and Vault accesses them through cgo bindings; the library itself has no requirement to be written in Go. Option D is wrong because KMIP is a separate key-management protocol used by Vault's KMIP secrets engine and by some HSM integrations, but PKCS#11 auto-unseal uses the Cryptoki C API, not KMIP, so KMIP support is irrelevant to this requirement.

109
MCQhard

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

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

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

Why this answer

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

Exam trap

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

How to eliminate wrong answers

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

110
MCQeasy

A platform engineer is configuring a Vault Agent on a database server. The agent must use the AppRole auth method and write the resulting token to a file so that a local backup script can read it. Which top-level configuration block should the engineer populate to define the AppRole role ID and secret ID?

A.cache
B.listener
C.auto_auth
D.template
AnswerC

The auto_auth block is the correct location for configuring the agent's authentication method. Within auto_auth, the engineer defines a method block with type "approle" and supplies role_id and secret_id parameters. This block also controls where the token is written via sink blocks. It is the only top-level block designed to perform authentication and token acquisition for the agent.

Why this answer

Agent authentication is configured in the auto_auth block, where the method type and its parameters are declared. For AppRole, role_id and secret_id belong inside the method block nested under auto_auth. The other blocks handle caching, listeners, and secret rendering, and none of them accept authentication credentials.

Without auto_auth, the agent has no token source.

Exam trap

The trap here is assuming that any block that mentions tokens or secrets can hold authentication credentials, when only auto_auth is designed for that purpose.

111
Multi-Selecteasy

Which TWO authentication methods are commonly configured in the 'auto_auth' block?

Select 2 answers
A.Userpass
B.AppRole
C.LDAP
D.Kubernetes
E.GitHub
AnswersB, D

AppRole suits `auto_auth` because it issues a SecretID and RoleID that a Vault Agent or proxy can present without human interaction, satisfying the stem's requirement for machine-driven, non-interactive authentication. Its role-based credential model lets workloads authenticate automatically at start-up, unlike user-centric methods requiring manual login.

Why this answer

In HashiCorp Vault's agent configuration, the auto_auth block is designed for machine-to-machine authentication, and AppRole (option B) is the canonical method because it issues a role_id and secret_id that a service can supply non-interactively to obtain a Vault token. Kubernetes (option D) is equally common in the auto_auth block because pods can authenticate using their service account JWT via the Kubernetes auth method, again without human interaction. Both AppRole and Kubernetes are explicitly documented as typical auto_auth methods for workloads and CI/CD pipelines.

By contrast, Userpass (A), LDAP (C), and GitHub (E) are human-oriented or interactive auth methods that require credentials such as a username/password or an OAuth flow, so they are not the standard choices configured inside auto_auth.

112
MCQhard

You notice that the 'seal status' on your DR secondary differs from the primary cluster. What does this indicate?

A.The secondary requires its own unseal process to function.
B.The replication token has expired.
C.The primary is also sealed.
D.The primary has failed.
AnswerA

A DR secondary holds its own root key and unseal keys, separate from the primary, so its seal status is independent. Divergent seal status therefore simply reflects that the secondary has not been unsealed locally, which is required before replication can proceed.

Why this answer

In Vault Enterprise Disaster Recovery (DR) Replication, the DR secondary cluster maintains its own seal status independent of the primary. If the DR secondary's seal status differs from the primary (e.g., primary unsealed, secondary sealed), it indicates that the secondary has not been unsealed since its last restart or initialization. Each cluster in a DR replication relationship must be unsealed separately because the unseal keys are not replicated across clusters.

Exam trap

The trap is assuming that replication synchronizes the seal state between clusters — candidates often think that unsealing the primary automatically unseals the secondary, but each cluster requires its own unseal process.

How to eliminate wrong answers

Option B is wrong because replication token expiration would affect the replication stream, not the seal status — an expired token would cause replication to stop, but the seal status is a separate concern. Option C is wrong because the primary's seal status is independent; the primary being sealed would not directly cause the secondary's seal status to differ in the way described, and the question asks what the difference indicates about the secondary. Option D is wrong because primary failure would not change the secondary's seal status — the secondary would simply stop receiving updates, but its seal state remains whatever it was.

113
Multi-Selecthard

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

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

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

Why this answer

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

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

Exam trap

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

114
MCQhard

You are operating a Vault Enterprise cluster with integrated storage (Raft) and Performance Replication. The primary cluster is in Region A, and the secondary cluster is in Region B. The secondary cluster is currently in a 'secondary' state and is servicing read requests. A client in Region B attempts to write a secret to a KV v2 secrets engine. What happens to this write request?

A.The write request is processed locally on the secondary and then asynchronously replicated to the primary.
B.The write request is queued on the secondary and processed once the secondary is promoted to primary.
C.The write request fails with a 'permission denied' error because the secondary is read-only.
D.The write request is forwarded to the primary cluster, which processes it and replicates the change back to the secondary.
AnswerD

In Performance Replication, secondary clusters can service read requests locally but cannot accept writes. When a write request is received by the secondary, it is forwarded to the primary cluster over the replication connection. The primary processes the write, and the change is then replicated back to the secondary. This ensures data consistency and a single source of truth for writes.

Why this answer

In Performance Replication, secondary clusters are designed to service read requests locally to reduce latency, but all write requests are forwarded to the primary cluster. The primary processes the write and replicates the change back to the secondary. This ensures that there is a single authoritative source for writes and maintains data consistency across clusters.

The client's write request is transparently forwarded, and the client receives a response as if the write were processed locally.

Exam trap

The trap here is assuming that a secondary cluster can process writes locally or that it returns an error, but it actually forwards writes to the primary.

115
Multi-Selecteasy

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

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

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

Why this answer

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

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

Exam trap

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

116
MCQhard

A Vault Enterprise operator enables Seal Wrap on a cluster backed by a PKCS#11 HSM. After enabling, they notice that the storage backend contains wrapped values for the barrier key and some data encryption keys, but not for all keys. Which statement explains why only some keys are wrapped?

A.Seal Wrap wraps keys only when the mount or key is explicitly configured to use it, so keys created before enabling or without the setting remain unwrapped.
B.The HSM is returning CKR_USER_NOT_LOGGED_IN for some operations, causing Vault to skip wrapping those keys.
C.Seal Wrap requires the HSM to support CKM_AES_KEY_WRAP; if unsupported, Vault wraps only the barrier key.
D.Seal Wrap only wraps the root key and recovery keys, not any data encryption keys.
AnswerA

Seal Wrap is applied to the barrier key and to key material for mounts or keys that are configured to use it. Existing keys created before enabling Seal Wrap, or those on mounts where it is not enabled, stay in their prior format. This selective behavior explains why only some values appear wrapped in the storage backend, matching the observed pattern without indicating a malfunction.

Why this answer

Seal Wrap is not global by default; it applies to the barrier key and to key material for mounts or keys explicitly configured to use it. Keys created before enabling Seal Wrap, or on mounts where it is not enabled, remain unwrapped. This explains the partial wrapping seen in storage without implying any HSM fault or mechanism limitation.

Exam trap

The trap here is assuming enabling Seal Wrap automatically wraps every key in the storage backend, when in reality it is applied selectively based on mount and key configuration.

117
Multi-Selecthard

You are configuring Vault Agent auto-auth with the AppRole auth method on a set of servers. You need to ensure that the agent can authenticate securely using role_id and secret_id. Which two configuration parameters are required within the auto_auth method block for AppRole? (Choose two.)

Select 2 answers
A.namespace
B.wrap_ttl
C.mount_path
D.role_id
E.secret_id
AnswersD, E

role_id is a required parameter for the AppRole auth method in Vault Agent's auto_auth stanza. It identifies the role that the agent will use to authenticate. Without a role_id, the agent cannot specify which AppRole to use, and authentication will fail. It is typically provided as a string or via a file path using role_id_file_path.

Why this answer

For AppRole authentication in Vault Agent's auto_auth stanza, both role_id and secret_id are mandatory. They provide the necessary credentials to authenticate. Optional parameters like namespace and mount_path are only needed in specific configurations, such as when using a custom namespace or mount path. wrap_ttl is unrelated to the method block and is used for response wrapping in sinks.

Exam trap

The trap here is assuming that namespace or mount_path are always required for AppRole, when they are only needed in non-default configurations.

118
MCQmedium

You are managing a Vault Enterprise cluster with integrated Raft storage. The cluster has five nodes. During a network partition, two nodes become isolated from the other three. The three remaining nodes continue to operate and elect a leader. What is the expected behavior of the two isolated nodes?

A.They will attempt to elect a new leader among themselves and continue serving requests.
B.They will remain in a non-leader state and will not serve any requests until connectivity is restored.
C.They will automatically promote themselves to performance standbys and serve read-only requests.
D.They will become standby nodes and can still serve read requests.
AnswerB

The isolated nodes cannot communicate with the leader or the rest of the cluster. Without a quorum, they cannot elect a new leader and will not accept writes or reads. They will continue to attempt to reconnect and will rejoin the cluster once the network partition is resolved, synchronizing any missed logs.

Why this answer

In a Raft cluster, a majority quorum is required to elect a leader and to commit entries. With five nodes, a quorum is three. The two isolated nodes cannot form a quorum, so they cannot elect a leader or serve requests.

They will remain in a non-leader state and wait for connectivity to be restored. Once the partition is healed, they will rejoin the cluster and catch up on any missed logs.

Exam trap

The trap here is assuming that isolated nodes can still serve reads or elect a leader, but Raft strictly requires a majority quorum for any operation.

119
MCQeasy

You are troubleshooting performance issues in a Vault Enterprise cluster that uses Integrated Storage. You notice that the Raft leader is frequently changing, causing disruptions in service. Which of the following is the most likely cause of this instability?

A.The Vault cluster nodes have insufficient CPU or memory resources, causing the leader to be unable to maintain heartbeats.
B.The Raft protocol is configured with a very high election timeout, causing leaders to step down prematurely.
C.The Vault cluster is using a single node for storage, which is not supported for Integrated Storage.
D.The network latency between Vault nodes is extremely low, causing heartbeats to arrive too quickly.
AnswerA

In Raft, the leader sends periodic heartbeats to followers to maintain leadership. If the leader is resource-starved (e.g., high CPU or memory pressure), it may fail to send heartbeats on time, causing followers to initiate elections and potentially elect a new leader. This leads to frequent leader changes and service disruption.

Why this answer

Frequent Raft leader elections are often a symptom of the leader being unable to send heartbeats in a timely manner. This can occur if the leader node is under-resourced (CPU, memory, disk I/O) or if there are network issues. Insufficient resources can cause the Vault process to stall, missing heartbeat deadlines.

Ensuring adequate resources and stable networking is key to Raft stability.

Exam trap

The trap here is assuming that network latency or election timeouts are the primary cause, when resource starvation on the leader is a common culprit for missed heartbeats.

120
Multi-Selectmedium

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

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

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

Why this answer

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

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

Exam trap

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

121
MCQhard

What is the consequence of setting 'cluster_name' in the Vault HCL configuration?

A.It forces a cluster election.
B.It identifies the cluster in audit logs and replication.
C.It encrypts the communication between nodes.
D.It sets the license key.
AnswerB

The cluster_name parameter sets a human-readable identifier that Vault stamps into audit log entries and uses to distinguish clusters during replication, including performance and disaster recovery topologies. It satisfies the stem by naming the specific artefacts where the value appears.

Why this answer

The 'cluster_name' parameter in Vault's HCL configuration assigns a human-readable identifier to the Vault cluster. This name is used in audit logs to indicate which cluster generated the log entry, and in replication (both performance and disaster recovery) to identify the source and destination clusters. It does not trigger elections, encrypt traffic, or set licensing.

Exam trap

Vault Enterprise often tests the distinction between cluster identification and cluster operations, causing candidates to confuse cluster_name with settings that affect elections, encryption, or licensing.

How to eliminate wrong answers

Option A is wrong because cluster elections are triggered by the Raft consensus protocol when a leader fails or during initial bootstrap, not by the cluster_name setting. Option C is wrong because encryption of inter-node communication is handled by TLS certificates and the 'tls_disable' or 'tls_cert_file' settings, not by cluster_name. Option D is wrong because the license key is set via the 'license_path' parameter or the VAULT_LICENSE environment variable, not through cluster_name.

122
MCQeasy

You are evaluating whether to use a Batch token for a high-throughput application that performs frequent secret reads. The application runs on a container platform and can handle token renewals. What is a key characteristic of Batch tokens that affects performance?

A.Batch tokens are stored in the Integrated Storage backend, which adds write latency.
B.Batch tokens support all Vault features, including cubbyhole and token revocation, without performance impact.
C.Batch tokens can be renewed indefinitely, which reduces the need for new token creation.
D.Batch tokens are lightweight and do not require a storage write to create, reducing overhead.
AnswerD

Batch tokens are not persisted to storage; they are generated with an embedded encrypted blob that contains the token's metadata. This eliminates the storage write that a Service token requires, significantly reducing latency and improving throughput for token creation and use. This is the primary performance advantage of Batch tokens.

Why this answer

Batch tokens are lightweight because they are not persisted to storage; they are self-contained and require no storage write to create. This reduces latency and increases throughput. They cannot be renewed, do not support all features, and are not stored in Integrated Storage.

Exam trap

The trap here is assuming Batch tokens are stored like Service tokens, or that they support all features; they are stateless and have intentional limitations that make them fast.

123
Multi-Selecthard

Which THREE factors influence the choice of a 'secret engine' configuration?

Select 3 answers
A.The path where the engine is mounted.
B.The default and max lease TTL values.
C.The engine version (if applicable).
D.The number of audit logs.
E.The underlying operating system.
AnswersA, B, C

The mount path determines the API endpoint and policy paths through which clients access the engine, so it directly shapes configuration and access control. Choosing where to mount therefore influences how the secret engine is configured and consumed.

Why this answer

Option A is correct because when enabling a secrets engine in Vault you must choose the mount path (e.g., `vault secrets enable -path=kv kv`), and that path determines the API endpoint and how policies reference the engine. Option B is correct because each secrets engine is configured with a default lease TTL and a max lease TTL, which govern how long dynamically generated credentials or tokens remain valid before renewal or revocation. Option C is correct because some engines are versioned (notably the KV engine, where `-version=1` or `-version=2` changes behavior such as versioning and metadata support), so the engine version is a real configuration factor.

Option D is not a configuration factor for a secrets engine; audit logs are enabled and managed separately via audit devices, not per-engine settings. Option E is not relevant because Vault abstracts the underlying operating system, and secrets engine configuration is defined through Vault's API/CLI rather than OS-specific choices.

Exam trap

Vault Enterprise often tests whether candidates can separate secret engine configuration factors (path, TTLs, version) from unrelated operational concerns (audit logs, OS) — the trap is picking audit or OS options that sound infrastructure-related but don't configure the engine.

124
MCQhard

A Vault Enterprise cluster is configured with a file audit device. An operator notices that audit log entries are being written to disk, but the Vault server's memory usage is steadily increasing. They suspect that audit log buffering is causing the issue. Which configuration parameter directly controls the maximum number of audit log entries that can be buffered in memory before being flushed to the audit device?

A.The 'audit_buffer_size' parameter in the telemetry stanza.
B.There is no configurable buffer size; audit devices block writes when they cannot keep up, causing memory pressure.
C.The 'audit_log_buffer_size' parameter in the Vault configuration file.
D.The 'max_audit_log_entries' parameter in the audit device configuration.
AnswerB

Vault does not provide a tunable buffer for audit log entries. When an audit device is enabled, Vault writes each audit entry synchronously to all enabled devices. If a device becomes slow or unresponsive, Vault applies backpressure to the entire request path, which can lead to increased memory usage as requests queue. The correct mitigation is to ensure audit devices are performant, not to adjust a buffer size.

Why this answer

Vault audit devices operate synchronously and do not expose a configurable memory buffer for log entries. When an audit device cannot keep up, Vault blocks further processing, which can cause memory growth due to queued requests. The solution involves using fast audit sinks, monitoring device latency, and potentially disabling a failing device rather than tuning a non-existent buffer parameter.

Exam trap

The trap here is assuming that audit logging has a tunable buffer size like some other systems, when Vault actually applies backpressure and blocks requests if an audit device is slow.

125
MCQmedium

If you are running Vault in a high availability cluster, where should you look for information regarding leader election?

A.The telemetry metrics.
B.The server logs.
C.The storage backend logs.
D.The audit logs.
AnswerB

Vault writes leader-election events to its server logs, recording leadership acquisition, loss and standby transitions as they occur. In a high availability cluster, these entries provide the authoritative record of which node holds the active lock, satisfying the requirement to locate leader-election information directly from the running Vault servers.

Why this answer

Leader election events in a Vault HA cluster are logged by the Vault server itself, so the server logs are where you find messages about acquiring/losing leadership, stepping down, and transitioning between active and standby states. These logs include timestamps and the node identity, making them the authoritative source for election history. Telemetry and audit logs do not record election mechanics.

Exam trap

Vault Enterprise often tests whether candidates know that internal cluster state transitions are logged by the Vault server process itself, not by the storage backend or audit subsystem, catching those who conflate infrastructure logs with application logs.

How to eliminate wrong answers

Option A is wrong because telemetry metrics expose aggregate counters and gauges (e.g., vault.core.leadership_lost) but do not contain the detailed event narrative of an election — you see that leadership changed, not why or how. Option C is wrong because the storage backend (Consul, Raft, etc.) logs its own operations but does not log Vault's internal leader election decisions; Vault uses the backend for locking, but the election logic and its logging live in Vault. Option D is wrong because audit logs record client requests and responses (API activity), not internal cluster state transitions like leader election.

126
MCQmedium

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

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

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

Why this answer

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

Exam trap

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

How to eliminate wrong answers

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

127
Multi-Selectmedium

Which TWO features are part of the 'Vault Enterprise' offering and directly relate to server configuration?

Select 2 answers
A.Audit logging.
B.Performance Replication.
C.KV Secret Engine.
D.HSM Seal Wrapping.
E.Token management.
AnswersB, D

Performance Replication is an Enterprise-only server configuration feature, letting clusters replicate data across datacentres for horizontal scaling and DR. It is configured at the server level, satisfying the stem's requirement that the feature belongs to Vault Enterprise and relates directly to server configuration.

Why this answer

Performance Replication (B) is a Vault Enterprise-only feature that lets a cluster serve read-heavy workloads across multiple secondary clusters while writes are forwarded to the primary, and it is configured at the server level via the replication stanza and related server settings. HSM Seal Wrapping (D) is also Enterprise-only and directly tied to server configuration: it uses an HSM to wrap the root key so that unsealing can be performed automatically via the seal "pkcs11" stanza in the Vault server configuration. Audit logging (A), KV Secret Engine (C), and Token management (E) are all core Vault capabilities available in the open-source edition and are not Enterprise-specific server-configuration features, so they do not fit the scenario.

Exam trap

Vault Enterprise often tests which features are edition-specific, tricking candidates into selecting core open-source capabilities like audit logging or KV as Enterprise-only.

128
MCQmedium

You are scaling a Vault Enterprise cluster to handle a high volume of database credential generation. You configure the database secrets engine with a maximum open connections setting of 100 and a maximum idle connections setting of 20. After a few hours, you notice that the number of open connections to the database frequently reaches 100 and stays there, even when request rates are moderate. You want to reduce the connection churn and improve performance without changing the maximum open connections. What should you do?

A.Reduce the maximum open connections setting to force the pool to recycle connections more aggressively.
B.Enable the database secrets engine's connection pooling by setting a longer max_connection_lifetime.
C.Configure the database secrets engine to use a dynamic username template to reduce the number of distinct connections.
D.Increase the maximum idle connections setting to a value closer to the maximum open connections.
AnswerD

Increasing max_idle_connections allows the database secrets engine to keep more idle connections in the pool, reducing the need to open new connections when demand spikes. This lowers connection churn and improves performance, as the pool can reuse existing connections. The maximum open connections remains the same, so the total number of connections is still bounded.

Why this answer

The database secrets engine maintains a connection pool to the database. When max_idle_connections is set too low relative to max_open_connections, idle connections are closed and must be recreated when new requests arrive, causing churn and performance degradation. Raising max_idle_connections allows more connections to remain idle and be reused, reducing the overhead of establishing new connections while still respecting the maximum open connections limit.

Exam trap

The trap here is assuming that reducing the maximum open connections or changing connection lifetime settings will solve connection churn, when the real issue is the number of idle connections retained.

129
Multi-Selectmedium

Which THREE of the following are common troubleshooting steps when Vault fails to unseal via HSM?

Select 3 answers
A.Run 'vault operator unseal' manually.
B.Check Vault logs for specific PKCS#11 error codes.
C.Upgrade the storage backend driver.
D.Verify the HSM library path is correct and readable.
E.Use the HSM vendor's CLI tools to verify the slot is accessible.
AnswersB, D, E

Vault logs expose PKCS#11 error codes returned by the HSM's cryptographic token interface, pinpointing faults such as CKR_PIN_INCORRECT or CKR_DEVICE_ERROR during unseal. This directly satisfies the stem's requirement to identify why unsealing fails, since the seal wrap mechanism depends on successful PKCS#11 session establishment with the HSM.

Why this answer

Option B is correct because when Vault fails to unseal via HSM, the Vault server logs typically surface PKCS#11 error codes (e.g., CKR_SLOT_ID_INVALID, CKR_TOKEN_NOT_PRESENT) that pinpoint whether the failure is a slot, token, PIN, or session issue, making log inspection a standard first troubleshooting step. Option D is correct because Vault's seal stanza requires a valid path to the HSM vendor's PKCS#11 library (e.g., /usr/lib/libpkcs11.so or /opt/vendor/lib/libpkcs11.so); if that path is wrong, missing, or unreadable by the vault user, Vault cannot load the library and unsealing fails. Option E is correct because using the HSM vendor's own CLI tools (e.g., pkcs11-tool --list-slots or the vendor utility) confirms the slot/token is present, initialized, and accessible outside Vault, isolating whether the problem is in the HSM itself versus Vault's configuration.

Option A is not a troubleshooting step for HSM unsealing failures because 'vault operator unseal' is the normal unseal operation itself, not a diagnostic action, and it will simply fail again if the underlying PKCS#11 issue is unresolved. Option C is incorrect because the storage backend driver is unrelated to HSM-based auto-unseal; upgrading it would not address PKCS#11 library, slot, or token problems.

Exam trap

Vault Enterprise often tests whether candidates can distinguish between the failing operation itself (unseal) and the actual diagnostic steps, luring them toward 'run the command again' style answers that feel actionable but provide no new information.

130
MCQhard

You operate a Vault Enterprise Performance Primary with a Performance Secondary. The secondary is used for read-only workloads in a disaster recovery site. During a planned maintenance window, the primary is taken offline. Which statement describes the expected behavior of the secondary?

A.The secondary continues to serve reads from its replicated data but cannot process writes until promoted.
B.The secondary enters a sealed state and requires unsealing before it can serve any requests.
C.The secondary automatically promotes itself to primary and begins accepting writes.
D.The secondary forwards all requests, including reads, to the primary and fails if the primary is unreachable.
AnswerA

A Performance Secondary maintains a replicated copy of data and can serve read requests locally. Write requests are not accepted because the secondary is not the primary and does not have an active write path. If the primary is offline, writes fail until an operator promotes the secondary. This behavior is by design to prevent split-brain. The statement accurately describes the read-only nature of a performance secondary during a primary outage.

Why this answer

Performance Secondaries are read-only replicas that serve local reads even when the primary is offline. They do not automatically promote to primary and do not forward reads to the primary. Writes are unavailable until an operator manually promotes the secondary, which prevents split-brain during a primary outage.

This design supports disaster recovery with minimal read disruption.

Exam trap

The trap here is assuming a performance secondary automatically fails over to primary, when promotion is a manual operation to avoid split-brain.

131
MCQeasy

Which component is responsible for receiving and responding to read requests in a Performance Standby configuration?

A.The Active Vault node.
B.The Consul agent.
C.The Vault API Gateway.
D.The Performance Standby node.
AnswerD

Performance Standby nodes serve read-only requests locally, forwarding writes to the active node. This read scaling is their defining function, so the Performance Standby node receives and responds to read requests, satisfying the stem's scenario directly.

Why this answer

In a Vault Enterprise Performance Standby configuration, the Performance Standby node itself is responsible for receiving and responding to read requests. Performance standbys can service read-only operations locally (using their replicated state) while forwarding writes to the active node, which is the entire point of the feature — it scales read throughput horizontally.

Exam trap

Vault Enterprise often tests the division of labor in HA topologies, and candidates may assume the active node handles all requests — the trap is forgetting that performance standbys exist specifically to absorb read traffic.

How to eliminate wrong answers

Option A is wrong because the Active node handles writes and is the source of truth, but read requests in a performance standby setup are specifically offloaded to the standby nodes to reduce load on the active. Option B is wrong because the Consul agent is the storage backend client, not a request handler — it stores data but does not receive or respond to Vault API read requests. Option C is wrong because there is no 'Vault API Gateway' component in Vault's architecture; requests go directly to Vault nodes (or through a load balancer), not through a gateway product.

132
Multi-Selecthard

Which THREE items must be configured to enable Auto-Unseal using a cloud provider KMS?

Select 3 answers
A.A cluster of at least 5 nodes.
B.The KMS Key ID or ARN.
C.Cloud provider IAM role with decrypt permissions.
D.A local unseal key file.
E.A 'seal' stanza in the Vault configuration.
AnswersB, C, E

The seal stanza must reference the specific KMS key by its identifier or ARN, telling Vault which key encrypts and decrypts the root key. Without this value, Vault cannot target the correct key, so the configuration requirement remains unsatisfied.

Why this answer

To enable Auto-Unseal with a cloud KMS, Vault must know which key to use, so option B (the KMS Key ID or ARN) is required to identify the specific KMS key that Vault will call for encryption/decryption operations. Option C (a cloud provider IAM role with decrypt permissions) is also required because Vault's identity must be authorized by the cloud provider to invoke the KMS Decrypt (and typically Encrypt) API; without those permissions the unseal call fails. Option E (a 'seal' stanza in the Vault configuration) is correct because Auto-Unseal is declared in the Vault config using a seal stanza (for example seal "awskms" or seal "azurekeyvault") that specifies the KMS provider and its parameters, which Vault reads at startup.

Option A is not required, since Auto-Unseal works on a single Vault node and does not mandate a 5-node cluster (that relates to integrated storage quorum, not KMS unsealing). Option D is incorrect because a local unseal key file is the manual Shamir unseal mechanism, which Auto-Unseal is specifically designed to replace.

Exam trap

Vault Enterprise often tests the components of auto-unseal, and candidates may mistakenly believe that a local unseal key file or a minimum cluster size is required, confusing auto-unseal with manual unseal or HA requirements.

133
MCQmedium

You are responsible for a Vault Enterprise cluster using integrated storage (Raft). The cluster has five nodes spread across three availability zones. During a routine maintenance window, you need to replace one node's storage volume. You stop the Vault service on that node, replace the volume, and restart Vault. The node comes back up but does not rejoin the Raft cluster automatically. Which action should you take to rejoin the node to the existing cluster?

A.Run 'vault operator raft join' on the node, pointing it to the leader's API address.
B.Run 'vault operator init' on the node to generate new unseal keys and then unseal it.
C.Run 'vault operator raft snapshot restore' on the node using the latest snapshot from the leader.
D.Run 'vault operator raft remove-peer' on the leader to remove the old node, then restart the node; it will auto-join.
AnswerA

This is correct. When a Raft node's storage is wiped or replaced, it loses its Raft state and cannot automatically rejoin. The 'vault operator raft join' command is used to join a node to an existing Raft cluster by providing the leader's API address. The node will then receive the current Raft configuration and catch up on the log. This is the documented procedure for adding or rejoining a node with empty storage.

Why this answer

When a Raft node's storage is replaced or wiped, it loses its Raft state and cannot automatically rejoin. The correct procedure is to use 'vault operator raft join' with the leader's API address. Snapshot restore is for whole-cluster recovery, removing a peer does not trigger auto-join, and re-initializing would create a new cluster.

Exam trap

The trap here is thinking that a node with empty storage will automatically rejoin the Raft cluster or that a snapshot restore is the way to rejoin a single node.

134
MCQhard

A Vault Enterprise cluster is configured with Performance Standby nodes to scale read operations. An administrator notices that some write requests are being forwarded to the active node, causing increased latency. They want to ensure that write requests are handled as efficiently as possible. Which statement correctly describes the behavior of Performance Standby nodes regarding write operations?

A.Performance Standby nodes forward write requests to the active node, but they can handle read requests locally, reducing load on the active node.
B.Performance Standby nodes can process write requests locally if the write is to a performance secondary cluster.
C.Performance Standby nodes can process write requests if they are configured with a local storage backend that supports multi-node writes.
D.Performance Standby nodes reject write requests with an error, requiring clients to retry against the active node.
AnswerA

Performance Standby nodes are designed to handle read-only operations locally, which offloads read traffic from the active node. Write operations, however, must be forwarded to the active node because they require consensus and state change. This forwarding is automatic and transparent to the client. The active node remains the only node that can process writes, ensuring consistency.

Why this answer

Performance Standby nodes in Vault Enterprise are designed to scale read operations by handling reads locally while forwarding writes to the active node. This architecture allows the active node to focus on write operations and consensus, improving overall cluster performance. Write forwarding is automatic and transparent, so clients do not need to change their behavior.

This is a core feature for high-throughput read-heavy workloads.

Exam trap

The trap here is thinking that Performance Standby nodes can process writes locally under any circumstance; they cannot because writes require Raft consensus and must go to the active node.

135
Multi-Selectmedium

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

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

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

Why this answer

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

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

Exam trap

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

136
MCQmedium

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

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

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

Why this answer

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

Exam trap

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

137
MCQeasy

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

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

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

Why this answer

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

Exam trap

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

How to eliminate wrong answers

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

138
MCQhard

When using 'template_config' to set the 'static_secret_render_interval', what is the minimum value you can set?

A.1s
B.0s
C.5s
D.10s
AnswerC

The `static_secret_render_interval` parameter accepts a minimum of 5 seconds, matching the stem's constraint. Values below this floor are rejected by Vault's template configuration validation, so 5s is the lowest permitted setting for controlling how frequently static secrets are re-rendered to the destination file.

Why this answer

The 'static_secret_render_interval' in Vault Agent's 'template_config' controls how often static secrets are re-rendered, and the minimum allowed value is 5 seconds. Setting it lower than 5s is rejected by Vault Agent to prevent excessive API calls and resource churn.

Exam trap

The trap is assuming any positive integer is valid — candidates often pick 1s or 0s without knowing Vault enforces a 5-second floor on 'static_secret_render_interval'.

How to eliminate wrong answers

Option A is wrong because 1s is below the enforced minimum and will be rejected. Option B is wrong because 0s is not a valid interval — it would imply continuous rendering, which Vault Agent does not permit. Option D is wrong because 10s is a valid value but not the minimum; the question asks for the minimum, which is 5s.

139
MCQmedium

A Vault Enterprise administrator is configuring a server to use a custom plugin directory for external secrets engines. The plugin binaries are stored in /opt/vault/plugins. The administrator wants Vault to load plugins from this directory and also wants to ensure that plugins are not automatically downloaded from the internet. Which configuration parameter must be set in the Vault server configuration file?

A.plugin_folder = "/opt/vault/plugins"
B.plugins_directory = "/opt/vault/plugins"
C.plugin_path = "/opt/vault/plugins"
D.plugin_directory = "/opt/vault/plugins"
AnswerD

The plugin_directory parameter specifies the directory where Vault looks for plugin binaries. Setting it to /opt/vault/plugins allows Vault to load external plugins from that location. This is the correct parameter to configure for custom plugins. Additionally, to prevent automatic downloads, you would omit or disable the plugin_auto_download parameter, but the primary requirement is to set plugin_directory.

Why this answer

The correct parameter to specify the directory for external plugins is plugin_directory. This tells Vault where to find plugin binaries. To prevent automatic downloads, you would also ensure that plugin_auto_download is not enabled, but the primary configuration is plugin_directory.

The other options are invalid parameter names and would not work.

Exam trap

The trap here is confusing the parameter name with similar-sounding alternatives like plugin_path or plugins_directory, which are not valid in Vault.

140
Multi-Selecteasy

Which TWO of the following are valid sink types in Vault Agent?

Select 2 answers
A.vault
B.file
C.s3
D.stdout
E.memory
AnswersB, D

The file sink writes tokens and wrapped secrets to a file path on disk, making it one of Vault Agent's valid sink types alongside stdout. It satisfies the requirement by persisting credentials for consuming applications.

Why this answer

In Vault Agent's template stanza, a sink is the destination where the rendered secrets are written, and the two supported sink types are 'file' and 'stdout'. Option B (file) is correct because Vault Agent can write rendered templates to a file sink, configured with a path and optional permissions such as 'perms = "0644"'. Option D (stdout) is correct because Vault Agent supports a stdout sink that writes the rendered output to standard output, which is useful for piping secrets into processes or containers.

Option A (vault) is not a sink type; it is the source of secrets, not a destination for rendered templates. Option C (s3) is not a supported sink type in Vault Agent, as it does not natively write rendered templates to S3. Option E (memory) is also not a valid sink type, since Vault Agent does not expose an in-memory sink for rendered templates.

Exam trap

Vault Enterprise often tests the distinction between sink types and other Vault Agent components, such as auto-auth methods or caching backends, causing candidates to mistakenly select 'vault' or 's3' as sinks.

141
MCQhard

You notice an 'audit_failure' error in the Vault logs. What is the immediate consequence for client requests?

A.Vault automatically switches to the secondary audit device.
B.Requests are permitted for read-only operations.
C.All requests are allowed but a warning is logged.
D.All incoming requests will be rejected until the audit device is restored.
AnswerD

Vault fails closed on audit failure: if no audit device can log a request, Vault rejects all client requests to preserve the audit trail. Restoring the audit device is required before requests are accepted again.

Why this answer

When Vault cannot write to an audit device, it fails closed: all incoming client requests are rejected until the audit device is restored. This is a deliberate security design — Vault will not process requests it cannot audit, because unaudited operations would violate compliance and security guarantees. The 'audit_failure' log entry signals this blocked state.

Exam trap

The trap is assuming Vault degrades gracefully (read-only, warning, or failover) when audit fails — candidates underestimate Vault's strict fail-closed audit model.

How to eliminate wrong answers

Option A is wrong because Vault does not automatically fail over to a secondary audit device; if any enabled audit device fails, Vault blocks. Option B is wrong because there is no read-only exception — even read operations are rejected when auditing fails. Option C is wrong because Vault does not allow requests with just a warning; it fails closed, not open.

142
MCQhard

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

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

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

Why this answer

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

Exam trap

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

143
MCQeasy

What is the purpose of the 'cluster_addr' in the Vault server configuration?

A.To mount storage backends.
B.To allow communication between Vault cluster nodes.
C.To handle client API requests.
D.To communicate with external secret engines.
AnswerB

The `cluster_addr` setting specifies the address and port each node advertises for inter-node cluster traffic, enabling replication and request forwarding between Vault servers. It satisfies the stem's requirement by designating the dedicated listener used for node-to-node communication, distinct from the `api_addr` used for client requests.

Why this answer

The 'cluster_addr' directive in the Vault server configuration specifies the address that Vault uses for communication between nodes in a Vault cluster, including request forwarding and replication traffic. It is distinct from 'api_addr', which is used for client-facing API requests. This setting is essential for multi-node Vault deployments to ensure internal cluster traffic is routed correctly.

Exam trap

Vault Enterprise often tests the distinction between 'cluster_addr' and 'api_addr', causing candidates to confuse internal cluster communication with client-facing API traffic.

How to eliminate wrong answers

Option A is wrong because storage backends are configured via the 'storage' stanza, not 'cluster_addr'. Option C is wrong because client API requests are handled by the 'api_addr' or 'listener' stanzas, not 'cluster_addr'. Option D is wrong because external secret engines are accessed via their respective plugins and do not rely on 'cluster_addr' for communication.

144
Multi-Selectmedium

Which TWO of the following statements are true regarding Performance Standby nodes?

Select 2 answers
A.They maintain their own independent master key.
B.They forward all write operations to the primary cluster.
C.They provide horizontal scaling for read-only requests.
D.They can serve requests for secrets written to any cluster.
E.They automatically promote themselves if the primary fails.
AnswersB, C

Performance Standby nodes handle read-only operations locally while forwarding write requests to the active primary, satisfying the stem's requirement for true statements about their behaviour. This forwarding mechanism preserves a single writer for data consistency, letting standby clusters serve reads without duplicating write authority across the replication set.

Why this answer

Option B is correct because Performance Standby nodes do not process write operations locally; they forward all write requests to the active primary cluster, which is the only node that can persist writes to storage. Option C is correct because Performance Standby nodes are designed to handle read-only requests locally, allowing horizontal scaling of read throughput across multiple standby nodes. Option A is not correct because Performance Standby nodes share the primary's master key rather than maintaining an independent one.

Option D is not correct because a Performance Standby can only serve secrets that have been replicated to it, not secrets written to any cluster. Option E is not correct because automatic promotion applies to HA standby nodes, whereas Performance Standby nodes do not automatically promote themselves if the primary fails.

Exam trap

Vault Enterprise often tests the distinction between Performance Standby (read scaling, shared keys, no promotion) and DR Secondary (independent keys, promotion capable) — candidates conflate the two and pick 'independent master key' or 'auto-promote'.

145
MCQhard

A Vault Enterprise operator is configuring telemetry to be sent to a Prometheus server. They want to ensure that metrics are retained for at least 24 hours to allow for trend analysis. Which configuration parameter in the telemetry stanza controls the length of time that Prometheus metrics are retained in memory?

A.metrics_retention_duration
B.prometheus_retention_period
C.telemetry_retention
D.prometheus_retention_time
AnswerD

prometheus_retention_time is the correct parameter. It specifies how long Vault retains Prometheus metrics in memory before they are discarded. Setting it to 24h ensures that metrics are available for that duration, allowing Prometheus to scrape them even if a scrape is missed. This is essential for reliable monitoring and trend analysis in Vault Enterprise.

Why this answer

The parameter prometheus_retention_time in the telemetry stanza controls how long Vault retains Prometheus metrics in memory. It is the correct choice for ensuring metrics are available for at least 24 hours. Other options are invalid parameter names.

This setting is crucial for maintaining a reliable metrics pipeline to Prometheus in Vault Enterprise.

Exam trap

The trap here is confusing the correct parameter name with similar-sounding alternatives like prometheus_retention_period, which do not exist in Vault.

146
MCQmedium

You are deploying Vault Enterprise 1.15 on three nodes and want auto-unseal backed by a PKCS#11 HSM. The HSM vendor provides a shared library at /usr/lib64/libpkcs11.so, and each node must authenticate using an HSM partition PIN. Which seal configuration key holds the PIN so Vault can open the HSM session?

A.password
B.key_label
C.pin
D.token_label
AnswerC

The PKCS#11 seal stanza uses the pin parameter to pass the user PIN for the HSM partition. Vault reads this value when establishing a session to the token for auto-unseal. In this scenario, since each node must authenticate with a partition PIN, storing it under pin is exactly what the seal configuration expects.

Why this answer

The PKCS#11 seal stanza requires both the token label and the user PIN to open a session against the HSM partition. The PIN is supplied through the pin field. Without the correct pin value, Vault cannot log in to the token and auto-unseal will fail, even if the library path and token label are correct.

Exam trap

The trap here is assuming the HSM partition PIN is stored under a generic password field rather than the PKCS#11-specific pin parameter.

147
MCQhard

A Vault Enterprise cluster is experiencing intermittent performance issues. The operations team has enabled telemetry and is collecting metrics via StatsD. They notice that the `vault.runtime.alloc_bytes` metric is steadily increasing over several days without a corresponding increase in active tokens or leases. What is the most likely explanation for this trend?

A.The metric is cumulative and will always increase over time, so it should be monitored as a rate rather than a gauge.
B.A memory leak in a plugin or Vault itself is causing allocations to accumulate without being released.
C.The StatsD sink is aggregating the metric incorrectly, causing it to appear as a monotonically increasing value.
D.The increase is normal and reflects memory fragmentation, which Vault does not reclaim until a restart.
AnswerB

A steady increase in `vault.runtime.alloc_bytes` without a rise in workload strongly indicates a memory leak. This could be due to a bug in Vault or a plugin that allocates memory but fails to release it. Over time, this can lead to performance degradation and eventual out-of-memory errors. The correct course of action is to investigate recent changes, check for known issues, and potentially restart Vault as a mitigation while diagnosing the leak.

Why this answer

The `vault.runtime.alloc_bytes` metric is a gauge that shows the current memory allocated by Vault. A steady increase over days without increased load suggests a memory leak. This could stem from Vault's core or a plugin.

Operators should investigate by checking recent changes, reviewing logs, and using profiling tools. While a restart can temporarily alleviate the issue, identifying and fixing the leak is essential. The other options either mischaracterize the metric or suggest normal behavior when the trend is abnormal.

Exam trap

The trap here is assuming that any increasing memory metric is normal, when in fact a steady rise without workload changes indicates a leak.

148
MCQhard

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

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

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

Why this answer

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

149
Multi-Selecthard

Which THREE types of metrics are collected by Vault's telemetry system?

Select 3 answers
A.Storage backend performance.
B.Core operation counts.
C.Request latency.
D.Audit file size.
E.User password history.
AnswersA, B, C

Telemetry exposes storage backend metrics such as operation latency and counts per physical backend, letting operators monitor persistence layer health. This satisfies the scenario's requirement by naming storage backend performance as one of the three collected metric categories.

Why this answer

Vault's telemetry system collects storage backend performance metrics (option A), such as latency and operation counts for the configured storage backend (e.g., Consul, Raft, or file), which are essential for diagnosing backend bottlenecks. It also collects core operation counts (option B), tracking counters like the number of token creations, secret leases, and barrier operations performed by Vault's core. Additionally, Vault collects request latency metrics (option C), exposing histograms and summaries of request durations per path and operation to monitor API performance.

Options D and E are not telemetry metrics: audit file size is an operational artifact of the audit device rather than a metric emitted by Vault's telemetry, and user password history is not tracked by Vault at all, as Vault does not store or manage password histories.

Exam trap

Vault Enterprise often tests whether candidates can distinguish telemetry metrics (performance and operation counts) from audit log data (request identity and path) — audit file size is a distractor that belongs to neither.

150
Multi-Selectmedium

Your team runs Vault Agent with auto_auth using the AWS auth method on EC2 instances. The agent's token is about to expire, and you must ensure the agent continues to serve requests without manual intervention. Which TWO behaviors does Vault Agent perform to maintain a valid token? (Choose two.)

Select 2 answers
A.The agent promotes the token to a periodic token by calling the auth method's tune endpoint with a period parameter.
B.The agent automatically renews the token using the renew-self endpoint before its TTL expires, as long as the token is renewable.
C.The agent writes the token to the sink and then requests a new wrapped secret_id from the orchestrator using the response-wrapping endpoint.
D.The agent disables token renewal and instead relies on the Vault server's default lease duration to expire and recreate the token automatically.
E.The agent re-authenticates with the AWS auth method to obtain a new token when the existing token is not renewable or renewal fails.
AnswersB, E

Vault Agent's auto_auth lifecycle includes a token renewal loop. When the token is renewable, the agent calls the renew-self endpoint before expiry to extend its lifetime. This keeps the agent authenticated without operator action and is the primary mechanism for long-running workloads such as EC2 instances that must serve secrets continuously.

Why this answer

Vault Agent maintains authentication by first attempting token renewal through the renew-self endpoint while the token remains renewable. If renewal is impossible because the token is non-renewable, has hit its max TTL, or errors, the agent re-executes the auto_auth method to obtain a fresh token. Together these behaviors keep long-running workloads authenticated without manual restarts.

Exam trap

The trap here is believing the agent can alter token periodicity or fetch wrapped secret_ids itself, when those are operator or orchestrator responsibilities.

Page 1

Page 2 of 3

Page 3

All pages