Courseiva

HashiCorp Certified: Vault Operations Professional (Vault Enterprise) (Vault Enterprise) (Vault Enterprise) — Questions 151–196

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

Page 2

Page 3 of 3

151
MCQeasy

Which Vault command is used to check the status of the seal configuration and verify if it is using an HSM?

A.vault status
B.vault operator hsm-check
C.vault read sys/seal-config
D.vault seal-status
AnswerA

`vault status` queries the active node's seal configuration directly, reporting the seal type and whether auto-unseal is backed by an HSM (PKCS#11). This satisfies the stem's requirement to verify HSM usage, since the output exposes the seal stanza details without requiring unseal keys or privileged operator tokens.

Why this answer

The 'vault status' command reports the seal configuration and status of a Vault node, including whether auto-unseal is in use and, for HSM-backed seals, details about the seal type. It is the standard CLI command to check seal state and confirm HSM usage. Running it against a Vault server shows fields like 'Seal Type: hsm' when HSM auto-unseal is configured.

Exam trap

Vault Enterprise often tests whether candidates know the real CLI command versus plausible-sounding fabricated ones (hsm-check, seal-status), catching those who guess based on naming conventions rather than actual Vault command syntax.

How to eliminate wrong answers

Option B is wrong because 'vault operator hsm-check' is not a real Vault command — there is no such subcommand under 'vault operator'. Option C is wrong because 'sys/seal-config' is not a valid Vault API path; the seal configuration is exposed via 'vault status' and the 'sys/seal-status' endpoint, not 'sys/seal-config'. Option D is wrong because 'vault seal-status' is not a Vault CLI command; the correct command is 'vault status' (which internally calls the sys/seal-status API).

152
MCQhard

You are configuring Vault replication in an environment with strict firewall rules. Which ports must be open between the primary and secondary clusters?

A.Only port 8200.
B.Port 443 and port 80.
C.Only port 8201.
D.Port 8200 and port 8201.
AnswerD

Raft replication traffic between clusters flows over the cluster port 8201, while 8200 carries the API and request forwarding. Both must be open bidirectionally so the secondary can receive replication streams and serve client requests.

Why this answer

Vault replication requires both the API port (8200) and the cluster port (8201) to be open between primary and secondary clusters. Port 8200 carries client API traffic and replication API calls, while port 8201 is the dedicated cluster-to-cluster port used for replication data streaming and internal RPC between nodes. Both must be reachable bidirectionally for replication to establish and stay healthy.

Exam trap

Vault Enterprise often tests the misconception that replication only needs the API port 8200, causing candidates to overlook the dedicated cluster port 8201 required for inter-node replication traffic.

How to eliminate wrong answers

Option A is wrong because opening only 8200 allows API traffic but blocks the cluster port 8201 that Vault uses for replication data transfer, so replication will fail to establish. Option B is wrong because ports 443 and 80 are HTTP/HTTPS web ports unrelated to Vault's default listeners; Vault replication does not use them unless explicitly reconfigured. Option C is wrong because opening only 8201 allows cluster traffic but blocks the API port 8200 needed for replication API calls and client operations.

153
MCQmedium

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

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

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

Why this answer

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

Exam trap

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

154
MCQeasy

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

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

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

Why this answer

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

Exam trap

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

How to eliminate wrong answers

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

155
MCQmedium

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

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

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

Why this answer

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

Exam trap

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

How to eliminate wrong answers

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

156
Multi-Selectmedium

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

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

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

Why this answer

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

Exam trap

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

157
MCQhard

A Vault Enterprise cluster is configured with Auto-Unseal using AWS KMS. The security team rotates the KMS key used for Auto-Unseal. After rotation, Vault nodes are restarted. What is the expected behavior when the nodes attempt to unseal?

A.Vault will require a manual rekey of the root key using the new KMS key version before it can unseal.
B.Vault will fail to unseal because the encrypted root key was encrypted with the old key version, and the new key version cannot decrypt it.
C.Vault will unseal successfully because AWS KMS automatically uses the correct key version based on the ciphertext metadata.
D.Vault will automatically detect the new key version and unseal successfully without any configuration changes.
AnswerC

AWS KMS stores the key version used during encryption within the ciphertext metadata. When Vault calls KMS to decrypt the root key, KMS automatically selects the correct key version for decryption, even after rotation, as long as that version remains enabled. Thus, Vault unseals successfully without configuration changes. This is the expected behavior when key rotation occurs and old versions are retained.

Why this answer

AWS KMS key rotation creates a new key version while preserving older versions. The ciphertext of Vault's root key contains metadata indicating which key version was used for encryption. When Vault requests decryption, KMS automatically uses that version, provided it is still enabled.

Therefore, Vault unseals successfully without configuration changes or manual rekeying.

Exam trap

The trap here is assuming that key rotation invalidates existing ciphertext; in reality, KMS retains old versions and uses them for decryption unless explicitly disabled.

158
MCQmedium

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

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

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

Why this answer

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

Exam trap

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

How to eliminate wrong answers

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

159
MCQeasy

What does the 'root' policy in Vault provide?

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

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

Why this answer

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

Exam trap

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

How to eliminate wrong answers

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

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

160
MCQeasy

What is the primary function of the 'ui = true' configuration setting?

A.Enable command-line interface tools.
B.Enable the web-based graphical interface.
C.Enable auto-unseal.
D.Increase API throughput.
AnswerB

Setting ui = true activates Vault's built-in web-based graphical interface, allowing browser access to manage secrets, policies and authentication. Without it, the UI listener is not served, so operators must use the CLI or API instead.

Why this answer

The 'ui = true' setting in the Vault server configuration enables the web-based graphical user interface, allowing operators to log in and manage secrets, policies, and auth methods through a browser. It does not affect CLI availability, auto-unseal, or API throughput. When enabled, the UI is served on the same listener port as the API (e.g., 8200) at the /ui path.

Exam trap

Vault Enterprise often tests the confusion between 'ui = true' (web UI) and CLI/API settings, causing candidates to incorrectly associate it with auto-unseal or performance tuning.

How to eliminate wrong answers

Option A is wrong because the CLI (vault command) is always available regardless of the 'ui' setting — 'ui = true' has no bearing on command-line tools. Option C is wrong because auto-unseal is configured via seal stanzas (e.g., AWS KMS, Azure Key Vault, Transit) and is unrelated to the 'ui' setting. Option D is wrong because API throughput is governed by listener configuration, server resources, and storage backend performance, not by enabling the UI.

161
MCQeasy

Which component of Vault is responsible for communicating with the HSM?

A.The seal component.
B.The audit log manager.
C.The storage backend.
D.The transit engine.
AnswerA

The seal component interfaces directly with the HSM to perform cryptographic operations such as unsealing Vault's master key, satisfying the requirement that Vault communicate with the HSM. It handles auto-unseal and seal-wrap functionality, delegating root key protection to the hardware module rather than storing it in Vault's storage backend.

Why this answer

The seal component is the Vault subsystem responsible for encrypting and decrypting the root key, and it is the layer that integrates with external key management, including HSMs via PKCS#11. When auto-unseal is configured, the seal stanza drives all communication with the HSM — loading the library, opening a session, and using the HSM key to wrap/unwrap Vault's master key. No other Vault component talks to the HSM directly.

Exam trap

The trap is confusing the transit engine (which also does crypto) with the seal — candidates who know transit handles encryption often wrongly assume it also handles HSM-based unsealing.

How to eliminate wrong answers

Option B is wrong because the audit log manager only writes structured audit events to configured devices (file, syslog, socket); it has no cryptographic or HSM interaction. Option C is wrong because the storage backend persists encrypted data (e.g., to Consul, Raft, or a database) and never handles key material or HSM calls. Option D is wrong because the transit secrets engine performs encryption-as-a-service for application data using Vault-managed keys, but it does not communicate with the HSM for unsealing — that is exclusively the seal's job.

162
MCQmedium

When testing a new HSM configuration in a development environment, why is it recommended to use a separate partition?

A.The PKCS#11 library requires a unique partition for every Vault instance.
B.It reduces the memory footprint of the Vault service.
C.To avoid accidental data loss or interference with production keys.
D.To increase the speed of the cryptographic operations.
AnswerC

A separate HSM partition isolates development keys from production material, so test operations such as key generation, deletion or reset cannot overwrite or destroy live keys. This directly satisfies the stem's requirement to avoid accidental data loss or interference with production keys.

Why this answer

Using a separate HSM partition for development isolates dev/test keys from production keys, preventing accidental overwrites, deletions, or cryptographic operations that could corrupt or expose production key material. Partitions in an HSM are logically isolated security domains, so operations in one partition cannot affect objects in another. This is a best practice for safe testing of new HSM configurations.

Exam trap

The trap is assuming partitions are a performance or library requirement rather than a security isolation mechanism — candidates pick answers about speed or PKCS#11 constraints instead of data safety.

How to eliminate wrong answers

Option A is wrong because PKCS#11 does not require a unique partition per Vault instance — multiple Vault instances can share a partition if configured, though it's not recommended for prod/dev separation. Option B is wrong because partition choice has no meaningful effect on Vault's memory footprint; partitions are an HSM-side construct. Option D is wrong because partition separation does not increase cryptographic operation speed — HSM performance is determined by the module's capacity, not partition layout.

163
MCQmedium

You have a Vault Enterprise cluster with integrated storage (Raft) running three nodes in one data center. To prepare for a potential data center outage, you add three more nodes in a second data center. After a network partition isolates the first data center, the three nodes in the second data center remain active and continue serving reads and writes. Later, the partition is resolved, but the original three nodes have not automatically rejoined. You need to restore the cluster to a healthy state with all six nodes participating, while minimizing downtime. What is the most appropriate action?

A.Run `vault operator raft snapshot restore` on the three nodes in the second data center to force them to recognize the original nodes as peers.
B.Restart the Vault service on all six nodes simultaneously to trigger a new leader election and automatic peer discovery.
C.Use the `vault operator raft join` command on each of the original three nodes, specifying the API address of a current leader in the second data center.
D.Remove the three original nodes from the Raft configuration using `vault operator raft remove-peer`, then re-add them as new nodes with `vault operator raft join`.
AnswerC

After a partition, nodes that were isolated may not automatically rejoin if they fell behind or lost their configuration. Running `vault operator raft join` on each isolated node with the leader's API address forces them to rejoin the cluster and catch up. This is the documented procedure for adding or re-adding nodes to a Raft cluster and minimizes downtime because the active cluster continues serving requests.

Why this answer

When a network partition isolates a subset of Raft nodes, those nodes may not automatically rejoin after connectivity is restored, especially if they missed heartbeats and were removed from the active configuration. The correct recovery is to run `vault operator raft join` on each isolated node, pointing to a current leader. This re-establishes the node as a follower and allows it to catch up, restoring full cluster health with minimal disruption.

Exam trap

The trap here is assuming that Raft nodes automatically rejoin after a partition resolves, when in fact manual join may be required if they were removed or fell too far behind.

164
Multi-Selecteasy

Which TWO statements are true about the relationship between Performance Standby nodes and Performance Replication?

Select 2 answers
A.Performance Replication is a type of Performance Standby.
B.Performance Standby nodes are required for Performance Replication.
C.Performance Standby allows read scaling within a single cluster.
D.Performance Replication can be used in conjunction with Performance Standby nodes on the same cluster.
E.Replication requires performance standby for all nodes.
AnswersC, D

Performance Standby nodes serve read-only requests within one Vault cluster, offloading reads from the active node and thereby satisfying the stem's read-scaling requirement. This is distinct from Performance Replication, which spans multiple clusters across regions. The scaling here stays intra-cluster, so no cross-cluster replication topology is involved.

Why this answer

Option C is correct because Performance Standby nodes in Vault are read-only replicas within the same cluster that serve read requests, thereby enabling read scaling within a single cluster. Option D is correct because Performance Replication and Performance Standby are complementary features that can coexist on the same cluster, allowing both cross-cluster replication and intra-cluster read scaling. Option A is incorrect because Performance Replication and Performance Standby are distinct features, not a subtype relationship.

Option B is incorrect because Performance Replication does not require Performance Standby nodes; replication can function without them. Option E is incorrect because replication does not require performance standby nodes for all nodes.

Exam trap

The trap is conflating Performance Standby (intra-cluster read scaling) with Performance Replication (cross-cluster data replication) — candidates assume one requires or is a type of the other.

165
Multi-Selecthard

A Vault Enterprise administrator is configuring a new cluster with Integrated Storage and wants to enable TLS for secure communication. The administrator has obtained a server certificate, a private key, and a CA certificate. Which TWO configuration parameters must be set in the listener stanza to enable TLS? (Choose two.)

Select 2 answers
A.tls_key_file
B.tls_client_ca_file
C.tls_min_version
D.tls_ca_file
E.tls_cert_file
AnswersA, E

The tls_key_file parameter specifies the path to the private key corresponding to the server certificate. It is required for TLS to decrypt and sign handshake messages. Without it, Vault cannot complete the TLS handshake. It must be set in the listener stanza and kept secure with appropriate file permissions.

Why this answer

To enable TLS in a Vault listener stanza, you must provide the server certificate and its corresponding private key using tls_cert_file and tls_key_file. These are the only required parameters for TLS. The CA file is only needed for client certificate verification, and tls_min_version is optional.

The other options are either not required or invalid parameter names.

Exam trap

The trap here is assuming that a CA certificate is required for basic TLS, when in fact it is only needed for mutual TLS or client verification.

166
MCQhard

You are using Vault Enterprise with Disaster Recovery (DR) replication. The primary cluster is in Region A, and the DR secondary is in Region B. A catastrophic failure occurs in Region A, and the primary cluster is completely lost. You promote the DR secondary to primary. After promotion, you need to reconfigure the old primary's remaining nodes (if any) to act as a DR secondary for the new primary. However, the old primary's nodes are completely destroyed. What is the recommended approach to re-establish DR replication with a new secondary cluster in Region A?

A.Generate a new DR secondary activation token on the new primary and use it to configure a new Vault cluster in Region A as a DR secondary.
B.Reuse the original DR secondary activation token from the old primary to configure the new nodes.
C.Configure the new nodes as a Performance Replication secondary instead of DR, because DR requires the original primary.
D.Restore a Raft snapshot from the old primary to the new nodes and then run 'vault operator dr promote' on them.
AnswerA

After promoting the DR secondary, the new primary can generate a new activation token for a new DR secondary. You then deploy a new Vault cluster in Region A, configure it with the same storage backend and seal, and use the token to enable DR replication. This establishes a new DR relationship and ensures data is replicated to the new secondary.

Why this answer

After promoting a DR secondary, the new primary can generate a new activation token for a new DR secondary. You then deploy a new Vault cluster in the failed region, configure it with the same storage and seal, and use the token to enable DR replication. This creates a fresh DR relationship.

Reusing old tokens or restoring snapshots is not appropriate, and Performance Replication is not a substitute for DR.

Exam trap

The trap here is believing that the original activation token can be reused or that a snapshot restore is sufficient, when in fact a new token must be generated.

167
Multi-Selecthard

Which TWO of the following are potential causes for a 'PKCS#11 error' during Vault operation?

Select 2 answers
A.Incompatibility between the library version and the HSM firmware.
B.Incorrect or expired HSM PIN.
C.The Vault token has expired.
D.The storage backend is full.
E.The network is blocked by a local firewall.
AnswersA, B

Version mismatches between the PKCS#11 library and HSM firmware break the C_GetFunctionList contract, so Vault's seal or auto-unseal calls fail with a PKCS#11 error. This satisfies the stem's requirement for a genuine cause: the vendor library must match the firmware's supported interface version.

Why this answer

Option A is correct because Vault's PKCS#11 auto-unseal and HSM integrations load a vendor PKCS#11 library (e.g., libCryptoki2.so) to talk to the HSM, and a mismatch between that library version and the HSM's firmware can cause the C_* calls to fail, surfacing as a 'PKCS#11 error'. Option B is correct because the PKCS#11 session login uses the HSM's user PIN (C_Login with CKU_USER); an incorrect or expired PIN makes authentication fail and Vault reports a PKCS#11 error. Option C is not a PKCS#11 cause: an expired Vault token produces a Vault API 'permission denied' or token-expired error, unrelated to the HSM's PKCS#11 interface.

Option D is unrelated because a full storage backend causes write failures in Vault's storage layer, not a PKCS#11 cryptographic error. Option E is unrelated because a local firewall blocking network traffic would typically manifest as connection timeouts or refused connections, not a PKCS#11 library-level error.

Exam trap

The trap is attributing PKCS#11 errors to generic Vault issues like token expiry or storage — candidates must recognize that PKCS#11 errors are specific to the HSM integration layer.

168
MCQmedium

You are preparing to add a new Performance Secondary cluster to an existing Vault Enterprise Performance Replication setup. The primary cluster uses integrated storage. To ensure that the new secondary can successfully receive replication data and serve read requests, which step must you take before enabling replication on the secondary?

A.Manually copy the primary's storage data to the secondary's storage backend.
B.Set up a load balancer to distribute traffic between the primary and secondary.
C.Generate a secondary activation token on the primary using the command `vault write -f sys/replication/performance/primary/secondary-token`.
D.Configure the secondary with a new seal stanza that matches the primary's seal configuration.
AnswerC

The activation token is required to authenticate the secondary to the primary. It is generated on the primary cluster and then used on the secondary when enabling replication. This token contains the necessary details for the secondary to establish a connection and start receiving data. Without it, the secondary cannot be activated.

Why this answer

To enable Performance Replication on a secondary, you must first generate an activation token on the primary. This token is then used on the secondary to authenticate and establish the replication connection. Without the token, the secondary cannot join the replication set and will not receive data from the primary.

Exam trap

The trap here is assuming that replication can be enabled without an activation token or that manual data synchronization is needed.

169
MCQeasy

A Vault Enterprise administrator is preparing a new cluster that will use a PKCS#11 HSM for auto-unseal. Before starting Vault, they need to confirm the HSM library is discoverable. Which environment variable or configuration field should they set to point Vault to the PKCS#11 library?

A.Set the LD_LIBRARY_PATH to include the HSM library directory and omit the lib field.
B.Export the VAULT_HSM_LIB environment variable to the library path before starting Vault.
C.Place the library in the Vault plugin directory and reference it by filename only.
D.Set the lib parameter in the seal stanza to the absolute path of the PKCS#11 library.
AnswerD

The PKCS#11 seal stanza uses the lib field to specify the absolute path to the vendor's PKCS#11 shared library, such as /usr/lib/libpkcs11.so. Vault loads this library at startup to communicate with the HSM. Without a correct lib path, Vault cannot initialize the seal and auto-unseal fails. This is the documented configuration field for library discovery, not an environment variable.

Why this answer

Vault locates the PKCS#11 library through the lib field in the seal stanza, which must contain the absolute path to the vendor's shared library. Environment variables and plugin directories are not used for this purpose. Setting lib correctly is a prerequisite for PKCS#11 auto-unseal to initialize.

Exam trap

The trap here is thinking Vault uses an environment variable like LD_LIBRARY_PATH or a plugin directory to find the PKCS#11 library, when the seal stanza's lib field is the required mechanism.

170
MCQhard

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

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

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

Why this answer

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

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

Exam trap

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

171
MCQmedium

When using Vault Agent to authenticate with the AWS auth method, which parameter is required in the 'method' block to identify the IAM role?

A.identity
B.iam_role
C.aws_role
D.role
AnswerD

The AWS auth method's 'method' block requires 'role' to name the IAM role whose bound principal and policies Vault uses when authenticating. Without it, Vault cannot map the signed STS identity to a configured role, so login fails.

Why this answer

In Vault Agent's auto-auth configuration, the AWS auth method's 'method' block requires the 'role' parameter to specify which Vault role (bound to an IAM principal) the agent should authenticate as. The 'role' parameter maps to the Vault role name, not the IAM role name directly — the binding between IAM role and Vault role is configured server-side. This is consistent across all Vault auth methods, which use 'role' as the standard parameter name.

Exam trap

The trap is the plausible-sounding 'iam_role' or 'aws_role' — candidates assume the parameter name mirrors the AWS concept, but Vault standardizes on 'role' across all auth methods.

How to eliminate wrong answers

Option A is wrong because 'identity' is not a valid parameter in the AWS auth method's method block — it may be confused with identity tokens or entity aliases, but it does not identify the IAM role. Option B is wrong because 'iam_role' is not a recognized Vault Agent auto-auth parameter; while the AWS auth method does bind to IAM roles, the parameter name is not 'iam_role'. Option C is wrong because 'aws_role' is not a valid parameter — it sounds plausible but Vault uses the generic 'role' key across auth methods for consistency.

172
MCQhard

A Vault cluster is configured with Auto-Unseal using AWS KMS. The underlying KMS key is rotated. What action is required to ensure Vault continues to operate without interruption?

A.Update the 'kms_key_id' in the configuration file.
B.Restart the Vault process to reload the KMS configuration.
C.Run vault operator rekey to update the master key.
D.No action is required, assuming IAM permissions are correctly maintained.
AnswerD

Vault stores only the KMS key identifier and relies on IAM permissions to call Decrypt; AWS KMS rotation creates new backing key material under the same key ID, so no Vault reconfiguration is needed provided permissions persist.

Why this answer

When AWS KMS auto-unseal is configured, Vault stores the encrypted master key and calls KMS Decrypt to unwrap it. AWS KMS key rotation creates a new backing key version under the same key ID, and KMS transparently uses the correct version for decrypt operations. As long as the IAM principal Vault uses retains kms:Decrypt on that key, no Vault configuration change or restart is required.

Exam trap

The trap is assuming that rotating a KMS key requires updating Vault's configuration or restarting the cluster; in reality, KMS rotation is transparent because the key ID and IAM permissions remain unchanged.

How to eliminate wrong answers

Option A is wrong because the kms_key_id does not change during rotation; rotation creates a new key version under the same key ID, so updating the config would be unnecessary and potentially harmful. Option B is wrong because restarting Vault does not affect KMS key version resolution and would cause unnecessary downtime. Option C is wrong because rekeying changes Vault's master key and unseal shares, which is unrelated to KMS key rotation.

173
MCQeasy

Which component of the Vault Agent is responsible for managing the lifecycle of the vault token retrieved via auto-auth?

A.Sink
B.Template engine
C.Auto-auth
D.Cache
AnswerC

Auto-auth handles token login, renewal, and maintenance.

Why this answer

The auto-auth component of Vault Agent is responsible for authenticating to Vault and managing the lifecycle of the resulting token, including renewal and re-authentication when the token expires. It obtains the token via the configured auth method (e.g., AppRole, AWS, Kubernetes) and keeps it valid for other components like the template engine and cache.

Exam trap

The trap is confusing auto-auth with sinks or cache — candidates must remember that auto-auth owns the authentication and token renewal lifecycle, while sinks only persist the token and cache only stores it for reuse.

How to eliminate wrong answers

Option A is wrong because a sink is a destination for the token (e.g., a file) — it writes the token out but does not manage its lifecycle or renewal. Option B is wrong because the template engine consumes secrets and tokens to render files but does not authenticate or renew tokens. Option D is wrong because the cache stores tokens and leases for reuse by other processes but does not perform authentication or renewal itself.

174
Multi-Selecthard

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

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

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

Why this answer

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

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

Exam trap

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

175
Multi-Selectmedium

Which THREE actions can the 'change_mode' parameter trigger in the Vault Agent template block?

Select 3 answers
A.signal
B.restart
C.delete
D.noop
E.exec
AnswersA, B, D

Sends a signal to the process specified by the exec block's command, allowing graceful reload without terminating it. This satisfies the change_mode requirement for notifying a running application of updated secrets via a configurable signal.

Why this answer

In the Vault Agent template stanza, the change_mode parameter controls what happens when the rendered secret changes, and its valid values are signal, restart, and noop. Option A (signal) is correct because it sends the configured signal (default SIGHUP, or the value of signal) to the process specified by the exec block, allowing the application to reload its configuration without a full restart. Option B (restart) is correct because it instructs Vault Agent to stop and restart the child process defined in the exec block so it picks up the new secret.

Option D (noop) is correct because it tells Vault Agent to take no action on the process when the template output changes, leaving the application to detect the change itself. Option C (delete) is not a valid change_mode value; Vault Agent does not delete the process or file as a change action. Option E (exec) is also not a valid change_mode value; exec is a separate template stanza block that defines the command to run, not a change-triggered action.

Exam trap

The trap is confusing `change_mode` values with other Vault Agent features — candidates may assume `exec` or `delete` are valid change modes because Vault Agent supports exec blocks and file management, but the actual valid values are only `signal`, `restart`, and `noop`.

176
MCQmedium

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

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

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

Why this answer

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

Exam trap

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

How to eliminate wrong answers

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

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

177
MCQeasy

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

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

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

Why this answer

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

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

Exam trap

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

How to eliminate wrong answers

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

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

178
MCQhard

A Vault Enterprise cluster with integrated storage (Raft) is experiencing intermittent performance degradation. The operator observes that the 'vault_raft_leader_lastContact' metric frequently spikes above 500 ms. Which underlying issue is most likely indicated by this metric behavior?

A.The Raft log is growing too large and needs compaction.
B.The leader is unable to communicate with followers due to network latency or packet loss.
C.The leader node is overloaded with client requests, causing delays in follower heartbeats.
D.The followers are experiencing disk I/O bottlenecks, delaying their responses to the leader.
AnswerB

The 'vault_raft_leader_lastContact' metric measures the time since the leader last contacted each follower. Spikes indicate delays in communication, often caused by network issues such as high latency, packet loss, or congestion. This directly affects Raft replication and can lead to performance degradation. The operator should investigate network connectivity between nodes to resolve the intermittent spikes.

Why this answer

The 'vault_raft_leader_lastContact' metric tracks the time elapsed since the leader last successfully contacted each follower. Spikes above 500 ms indicate communication delays, commonly due to network latency or packet loss. This metric is a key indicator of Raft cluster health, and persistent spikes can lead to leader elections or degraded performance.

Investigating network reliability between nodes is the appropriate next step.

Exam trap

The trap here is confusing Raft communication metrics with storage or load metrics, leading to misdiagnosis of the root cause.

179
MCQmedium

What does the 'vault_core_seal_setup_duration' metric represent?

A.The time taken to initialize the storage backend.
B.The time between audit log rotations.
C.The time spent waiting for a lease to expire.
D.The duration of the unseal process.
AnswerD

This tracks the time spent during the seal/unseal phase.

Why this answer

The 'vault_core_seal_setup_duration' metric measures the time taken to complete the unseal process — specifically, the duration of the seal setup operations that occur when Vault transitions from sealed to unsealed. It is a core telemetry metric used to monitor unseal performance.

Exam trap

The trap is confusing seal setup with storage initialization or lease operations — candidates must map the metric name's 'seal' component to the unseal process, not to storage or audit functions.

How to eliminate wrong answers

Option A is wrong because storage backend initialization is measured by different metrics (like vault_storage_* metrics), not seal setup. Option B is wrong because audit log rotation timing is not captured by this metric — audit metrics track log device operations separately. Option C is wrong because lease expiration waiting time relates to lease metrics (vault_expire_*), not seal setup.

180
MCQeasy

You are deploying a new Vault Enterprise cluster with integrated storage (Raft) in a single data center. You have three nodes: vault-1, vault-2, and vault-3. After starting Vault on all three nodes, you initialize vault-1, which becomes the leader. You then need to join vault-2 and vault-3 to the cluster. Which command should you run on vault-2 and vault-3 to join them to the Raft cluster?

A.vault operator raft snapshot restore -force http://vault-1:8200
B.vault operator raft add-peer vault-1
C.vault write sys/storage/raft/join leader_api_addr=http://vault-1:8200
D.vault operator raft join http://vault-1:8200
AnswerD

The `vault operator raft join` command is used to join a node to an existing Raft cluster. You must specify the API address of a node that is already a member of the cluster, typically the leader. Running this on vault-2 and vault-3 will add them as followers. This is the standard procedure for adding nodes to a Vault Raft cluster after initialization.

Why this answer

To add a new node to an existing Vault Raft cluster, you run `vault operator raft join` on the new node, specifying the API address of an existing cluster member. This causes the node to contact the leader, receive the current Raft configuration, and begin replicating data. It is the documented and supported method for cluster expansion.

Exam trap

The trap here is confusing the join command with other Raft operations like snapshot restore or non-existent commands such as add-peer.

181
MCQeasy

Which log level should be used when you need to capture detailed debugging information for Vault startup issues?

A.debug
B.warn
C.error
D.info
AnswerA

Debug level emits the most granular diagnostics, including configuration parsing, plugin loading and seal/unseal steps, which is what startup troubleshooting needs. It satisfies the requirement for detailed debugging information beyond the coarser info and warn levels.

Why this answer

The debug log level captures the most granular diagnostic output from Vault, including internal subsystem activity, plugin initialization steps, and configuration parsing details that occur during startup. When troubleshooting startup failures, this verbosity is essential because errors often originate before the listener or storage backends fully initialize, and lower log levels suppress those early messages. Setting log_level = "debug" in the Vault configuration or passing -log-level=debug at startup surfaces the exact sequence of operations leading to the failure.

Exam trap

Vault Enterprise often tests whether candidates confuse log verbosity levels, so the trap is assuming that 'info' or 'error' provides enough detail for startup diagnostics when only 'debug' exposes the pre-listener initialization sequence.

How to eliminate wrong answers

Option B is wrong because warn only reports potentially harmful situations and suppresses the detailed initialization trace needed to diagnose startup failures. Option C is wrong because error only logs failures that have already occurred, hiding the preceding steps that explain why the failure happened. Option D is wrong because info provides operational messages like unseal progress and listener startup but omits the internal subsystem detail required for deep startup troubleshooting.

182
MCQmedium

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

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

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

Why this answer

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

Exam trap

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

183
Multi-Selecthard

Which TWO of the following factors can cause a Vault cluster to lose quorum in a Raft-based deployment?

Select 2 answers
A.Loss of a majority of the nodes in the Raft voting set.
B.The load balancer health check fails on a follower.
C.Enabling performance replication on the cluster.
D.A network partition preventing nodes from reaching the leader.
E.The 'api_addr' is configured incorrectly on a follower.
AnswersA, D

Raft requires a strict majority of voting nodes to commit entries and elect a leader. Losing more than half the voters halts writes and leader election, directly satisfying the stem's quorum-loss condition. Non-voting or standby nodes do not count towards this majority, so their survival cannot prevent quorum loss.

Why this answer

Option A is correct because Raft requires a majority of voting nodes (quorum) to commit log entries and elect a leader; losing more than half of the voting set means no quorum can be achieved, halting writes and leader election. Option D is correct because a network partition that isolates nodes from the leader can split the cluster such that neither side retains a majority of voters, preventing quorum and causing the cluster to lose its ability to operate. Option B is wrong because a load balancer health check failure only affects traffic routing to that follower, not Raft consensus or quorum.

Option C is wrong because enabling performance replication is a supported enterprise feature that does not itself break Raft quorum. Option E is wrong because an incorrect api_addr on a follower affects client redirection and cluster address advertisement, not the Raft voting quorum.

184
MCQeasy

What is the benefit of using Performance Replication over standard DR Replication?

A.Performance replication supports write operations.
B.Performance replication provides disaster recovery capabilities.
C.Performance replication allows the secondary to serve read requests.
D.Performance replication is cheaper to license.
AnswerC

Performance Replication enables secondaries to serve read requests locally, satisfying the stem's demand for a benefit over DR Replication. DR Replication secondaries remain on standby and cannot handle reads, whereas Performance Replication secondaries actively serve reads, distributing load and reducing latency for geographically dispersed clients.

Why this answer

Performance Replication is designed to let secondary clusters serve read requests locally, offloading read traffic from the primary and reducing latency for geographically distributed users. This is its defining benefit over DR Replication, which keeps secondaries in a warm standby state that cannot serve client reads.

Exam trap

The trap is conflating the goals of Performance Replication (read scaling and locality) with DR Replication (failover readiness) — candidates pick 'disaster recovery' because both involve secondary clusters.

How to eliminate wrong answers

Option A is wrong because Performance Replication secondaries are read-only for replicated mounts — writes must still go to the primary (except for local mounts). Option B is wrong because disaster recovery capability is the purpose of DR Replication, not the differentiator for Performance Replication (though PR secondaries can be promoted). Option D is wrong because licensing cost is not a technical benefit and both replication types are Enterprise features under the same license tier.

185
MCQhard

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

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

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

Why this answer

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

Exam trap

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

186
MCQmedium

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

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

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

Why this answer

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

Exam trap

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

187
Multi-Selecthard

Your organization uses Vault Enterprise with Performance Replication to replicate secrets across multiple data centers. You are planning a failover test where the primary cluster will be taken offline. You need to ensure that the secondary cluster can be promoted to primary without data loss. Which two actions must you perform before the failover to guarantee a clean promotion? (Choose two.)

Select 2 answers
A.Ensure that the secondary cluster is unsealed and has a valid license that includes Performance Replication.
B.Disable Performance Replication on the primary before taking it offline.
C.Verify that the replication status on the secondary shows 'stream-wals' and that the lag is within acceptable limits.
D.Run 'vault operator raft snapshot save' on the primary and restore it on the secondary.
E.Configure the secondary to use a different seal mechanism than the primary.
AnswersA, C

Before promotion, the secondary must be unsealed and operational. A valid license with Performance Replication is required for the secondary to function as a replication target and to be promoted. Without these, the promotion will fail or the cluster may not operate correctly.

Why this answer

Before promoting a Performance Replication secondary, you must ensure it is healthy and synchronized. Checking the replication status confirms that the secondary is receiving updates and is not lagging. Additionally, the secondary must be unsealed and have a valid license that includes Performance Replication.

These steps guarantee a clean promotion with minimal data loss. Other actions like snapshot restore or disabling replication are unnecessary and can disrupt the process.

Exam trap

The trap here is thinking that a snapshot restore is needed for failover, when Performance Replication already provides continuous data replication.

188
MCQeasy

Which tool is commonly used to view Vault metrics in a graphical format?

A.Vault Audit Viewer
B.Vault UI
C.Grafana
D.Logstash
AnswerC

Grafana queries Vault's Prometheus-compatible /sys/metrics endpoint and renders the returned counters and gauges as dashboards, satisfying the requirement for graphical visualisation. Unlike CLI output or raw log files, it presents time-series data visually, letting operators spot trends and anomalies in seal status, request latency and token counts.

Why this answer

Grafana is a widely adopted open-source visualization and dashboarding tool that integrates with time-series databases like Prometheus, InfluxDB, and Graphite. Vault exposes metrics in these formats (e.g., Prometheus endpoint at /v1/sys/metrics), and Grafana can query and display them as graphs, gauges, and alerts. This makes Grafana the standard choice for graphically monitoring Vault's performance and health metrics.

Exam trap

The trap here is confusing Vault's native UI or audit logging with metrics visualization; candidates might assume the Vault UI includes graphing capabilities or that audit logs serve as metrics, but only external tools like Grafana provide graphical metric dashboards.

How to eliminate wrong answers

Option A is wrong because Vault Audit Viewer is not a real tool; Vault has audit devices that log requests to files or syslog, but no built-in graphical viewer. Option B is wrong because the Vault UI is a web interface for managing secrets, policies, and configurations, not for visualizing metrics; it does not provide time-series graphs of operational metrics. Option D is wrong because Logstash is a log processing pipeline, not a metrics visualization tool; it can ship logs but does not render graphs.

189
Multi-Selecthard

A Vault Enterprise administrator is designing an HSM integration that must survive the loss of a single HSM appliance. The design uses PKCS#11 auto-unseal and Seal Wrap. Which TWO considerations are critical to ensure availability and data recoverability? (Choose two.)

Select 2 answers
A.Configure the seal stanza with a list of HSM endpoints or a load-balanced address so Vault can fail over to a secondary HSM.
B.Ensure the HSM wrapping key is backed up and restorable to a replacement HSM partition.
C.Configure Vault to use a software seal as a fallback if the HSM is unavailable.
D.Store the HSM PIN in Vault's configuration file in plaintext to ensure Vault can always authenticate.
E.Enable Seal Wrap on all mounts and rotate all keys immediately after enabling it.
AnswersA, B

High availability of the HSM is essential for auto-unseal and Seal Wrap operations. Vault's PKCS#11 seal can be configured with multiple endpoints or a load-balanced address so that if one appliance fails, Vault can reach another. Without this, loss of the HSM prevents unsealing and cryptographic operations. This directly addresses survival of a single HSM appliance failure and is a critical design consideration.

Why this answer

Surviving a single HSM appliance failure requires both redundant HSM access and recoverable wrapping key material. Configuring multiple endpoints or a load-balanced address lets Vault fail over, while backing up and restoring the wrapping key ensures data can be decrypted on a replacement HSM. Universal Seal Wrap, plaintext PINs, and software fallback do not address these core requirements.

Exam trap

The trap here is focusing on Seal Wrap coverage or PIN storage as availability measures, when the real requirements are HSM redundancy and wrapping key backup for recoverability.

190
MCQhard

When utilizing performance replication, your Vault cluster experiences high replication lag between the primary and secondary sites. Which action would most effectively reduce this lag?

A.Configure path filters to exclude high-churn paths from replication.
B.Convert the secondary cluster to a Disaster Recovery secondary.
C.Increase the number of Performance Standby nodes.
D.Enable Batch token replication.
AnswerA

Path filters let you exclude high-churn paths from replication, directly cutting the volume of write-ahead log entries shipped to secondaries. Less replicated data means the secondary applies the log faster, reducing measured replication lag at the primary.

Why this answer

Performance replication lag is most directly reduced by filtering out high-churn paths (e.g., transit secrets engine, high-volume KV writes) that don't need to be replicated to the secondary. Path filters let you exclude specific mounts from replication, cutting the volume of data that must traverse the link and thus reducing lag. This is the targeted, effective action for a bandwidth-bound replication lag problem.

Exam trap

The trap is choosing topology changes (DR conversion) or node scaling (performance standbys) instead of the targeted path-filtering action that directly reduces replicated data volume.

How to eliminate wrong answers

Option B is wrong because converting a performance secondary to a DR secondary changes the replication mode (DR replicates only core data, not performance data) but does not reduce lag on the existing performance replication path — it's a topology change, not a lag remedy. Option C is wrong because performance standby nodes serve read traffic locally; they do not accelerate replication throughput between primary and secondary. Option D is wrong because batch token replication is a token-type optimization, not a mechanism to reduce replication lag for data writes.

191
MCQeasy

A junior operator notices that the standby nodes in a three-node Vault Enterprise cluster report a sealed status after a planned restart, while the active node is unsealed. They want to confirm cluster readiness before adding the nodes back to the load balancer. Which endpoint should they query on each node to determine seal status and standby state programmatically?

A./v1/sys/mounts
B./v1/sys/health
C./v1/sys/seal-status
D./v1/sys/leader
AnswerC

The seal-status endpoint returns sealed, initialized, standby, and cluster identifiers without requiring authentication. It is designed for exactly this readiness check, so a load balancer or operator can poll each node and confirm it is unsealed and either active or standby before routing traffic. It reports the state the operator needs without exposing sensitive data.

Why this answer

The seal-status endpoint is unauthenticated and returns sealed, initialized, standby, and cluster fields, which is precisely the information needed to confirm a node is unsealed and ready before returning it to service. The leader endpoint describes leadership only, mounts requires authentication and says nothing about sealing, and health is aimed at automated probes rather than direct seal verification.

Exam trap

The trap here is reaching for the health endpoint by habit, when seal-status gives the explicit sealed and standby booleans an operator wants for a manual readiness check.

192
MCQeasy

In a Vault HA setup using Raft, how many nodes are typically recommended for a production cluster to ensure fault tolerance?

A.1 node.
B.2 nodes.
C.3 nodes.
D.10 nodes.
AnswerC

Raft requires a quorum of (n/2)+1 nodes to elect a leader and commit writes. Three nodes tolerate one failure while retaining quorum, satisfying the stem's fault-tolerance constraint; two would lose quorum on any single failure.

Why this answer

A three-node Raft cluster is the minimum recommended for production because it tolerates the failure of one node while maintaining quorum. Raft requires a majority of nodes to be available for writes, so with three nodes, two must be up — allowing one failure without losing availability. This is the standard recommendation for Vault HA deployments using integrated storage.

Exam trap

The trap is assuming that two nodes provide fault tolerance — candidates forget that Raft requires a majority quorum, so two nodes cannot tolerate any failure without losing write availability.

How to eliminate wrong answers

Option A is wrong because a single node provides no fault tolerance — if it fails, the cluster is unavailable and data may be lost. Option B is wrong because two nodes cannot form a reliable quorum; if one fails, the remaining node has only 50% of the cluster, which does not constitute a majority, so the cluster becomes unavailable for writes. Option D is wrong because ten nodes is excessive for typical production deployments — while it increases fault tolerance, it also increases replication overhead and latency; odd numbers are preferred to avoid tie votes, and three or five nodes are the standard recommendations.

193
MCQhard

You manage a Vault Enterprise cluster with Performance Replication enabled. The primary cluster is in us-east-1 and a secondary cluster is in eu-west-1. Clients in eu-west-1 are experiencing high read latency even though replication lag is consistently low. You have already verified that the secondary is healthy and has Performance Standby nodes. What is the most likely cause?

A.The secondary cluster's Integrated Storage is undersized or has high disk latency, causing slow local reads.
B.The secondary cluster is in a different region, so all reads must traverse the WAN to the primary.
C.The primary cluster is not sending replication data to the secondary fast enough.
D.The secondary cluster's Performance Standby nodes are not configured to forward reads to the active node.
AnswerA

Performance Secondary clusters maintain their own Integrated Storage and serve reads locally. If the underlying storage is undersized or has high latency, read operations will be slow even with low replication lag. This is a common oversight when scaling reads: the secondary's local storage performance directly affects read latency.

Why this answer

Performance Secondary clusters serve reads locally from their own Integrated Storage. Even with low replication lag, slow reads can occur if the secondary's storage is undersized or has high disk latency. The primary's replication speed and WAN traversal are not factors when lag is low and reads are local.

Exam trap

The trap here is focusing on replication lag as the sole indicator of read performance, overlooking that the secondary's local storage performance directly impacts read latency.

194
MCQhard

Your Vault Enterprise cluster is configured with a PKCS#11 HSM for auto-unseal. During a disaster recovery test, you restore a snapshot to a new cluster that also has the same HSM seal configuration. After starting the new cluster, Vault remains sealed and logs indicate a PKCS#11 error. What is the most likely cause?

A.The snapshot must be decrypted with the old cluster's unseal keys before the HSM can be used.
B.The HSM key used for seal wrap was not included in the snapshot and must be recreated on the HSM.
C.The new cluster requires a different PKCS#11 library version that matches the HSM firmware.
D.The new cluster cannot authenticate to the HSM because the token label or PIN in its seal configuration does not match the HSM partition.
AnswerD

For auto-unseal, Vault must authenticate to the same HSM partition and use the same key. If the new cluster's seal configuration has a different token_label or pin, or if the HSM partition is not accessible, Vault cannot log in and will remain sealed with a PKCS#11 error. This is the most likely cause when restoring to a new cluster with HSM auto-unseal.

Why this answer

Auto-unseal with PKCS#11 requires Vault to authenticate to the same HSM partition and use the same key. When restoring to a new cluster, the seal configuration must reference the correct token_label and pin. If these do not match, Vault cannot log in to the HSM and remains sealed.

The most likely cause is a mismatch in token label or PIN.

Exam trap

The trap here is assuming the HSM key is stored in the snapshot, when it actually resides in the HSM and must be accessible via correct authentication.

195
MCQhard

A Vault Enterprise cluster uses a PKCS#11 HSM for seal wrap and auto-unseal. The security team rotates the HSM partition PIN. Vault nodes are still running with the old PIN in their configuration files. What is the most likely operational impact?

A.Vault nodes will fail to unseal after a restart because they cannot authenticate to the HSM with the old PIN.
B.Vault will automatically fall back to Shamir unseal and prompt for unseal keys.
C.Vault continues to operate normally because the PIN is only used during initial unseal and is cached in memory.
D.Seal wrap operations will continue using the old PIN until the next key rotation, then fail.
AnswerA

When the HSM partition PIN is rotated, the old PIN becomes invalid. Vault uses the configured PIN to log in to the PKCS#11 token during unseal. If the configuration still contains the old PIN, Vault cannot establish a session, so auto-unseal fails on restart. This is the expected impact of a PIN rotation without updating Vault's seal configuration.

Why this answer

The PKCS#11 PIN is used to authenticate to the HSM partition whenever Vault needs to open a session, including during unseal. Rotating the PIN without updating Vault's seal configuration means the old PIN is rejected, so nodes cannot unseal after a restart. The correct remediation is to update the pin value in the seal stanza and restart Vault.

Exam trap

The trap here is believing Vault caches the HSM PIN in memory and therefore does not need the current PIN after the initial unseal.

196
Multi-Selectmedium

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

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

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

Why this answer

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

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

Exam trap

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

Page 2

Page 3 of 3

All pages