Courseiva

CCNA Vault Server Configuration Questions

26 questions · Vault Server Configuration · All types, answers revealed

1
MCQeasy

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

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

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

Why this answer

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

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

Exam trap

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

2
Multi-Selecthard

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

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

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

Why this answer

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

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

Exam trap

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

3
MCQmedium

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

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

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

Why this answer

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

Exam trap

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

How to eliminate wrong answers

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

4
MCQmedium

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

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

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

Why this answer

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

Exam trap

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

How to eliminate wrong answers

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

5
MCQmedium

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

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

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

Why this answer

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

6
Multi-Selectmedium

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

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

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

Why this answer

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

Exam trap

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

7
Multi-Selectmedium

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

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

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

Why this answer

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

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

Exam trap

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

8
MCQhard

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

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

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

Why this answer

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

Exam trap

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

How to eliminate wrong answers

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

9
MCQmedium

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

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

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

Why this answer

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

Exam trap

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

How to eliminate wrong answers

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

10
MCQhard

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

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

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

Why this answer

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

Exam trap

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

How to eliminate wrong answers

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Ready to test yourself?

Try a timed practice session using only Vault Server Configuration questions.