Courseiva

CCNA Fault Tolerant Vault Environments Questions

29 questions · Fault Tolerant Vault Environments · All types, answers revealed

1
MCQmedium

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

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

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

Why this answer

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

Exam trap

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

2
Multi-Selecteasy

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

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

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

Why this answer

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

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

Exam trap

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

3
MCQmedium

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

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

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

Why this answer

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

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

Exam trap

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

4
MCQeasy

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

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

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

Why this answer

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

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

Exam trap

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

5
MCQhard

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

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

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

Why this answer

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

Exam trap

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

How to eliminate wrong answers

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

6
MCQmedium

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

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

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

Why this answer

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

Exam trap

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

How to eliminate wrong answers

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

7
MCQmedium

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

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

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

Why this answer

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

Unsealing alone does not establish cluster membership.

Exam trap

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

8
MCQmedium

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

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

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

Why this answer

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

Exam trap

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

How to eliminate wrong answers

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

9
MCQmedium

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

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

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

Why this answer

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

Exam trap

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

10
MCQhard

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

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

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

Why this answer

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

This manual intervention ensures consistency until the secondary catches up.

Exam trap

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

11
MCQmedium

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

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

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

Why this answer

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

Exam trap

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

How to eliminate wrong answers

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

12
MCQeasy

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

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

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

Why this answer

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

Exam trap

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

How to eliminate wrong answers

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

13
Multi-Selecthard

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

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

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

Why this answer

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

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

Exam trap

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

14
MCQmedium

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

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

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

Why this answer

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

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

Exam trap

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

15
MCQeasy

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

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

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

Why this answer

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

Exam trap

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

How to eliminate wrong answers

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

16
MCQeasy

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

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

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

Why this answer

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

Exam trap

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

How to eliminate wrong answers

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

17
Multi-Selecthard

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

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

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

Why this answer

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

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

Exam trap

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

18
MCQhard

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

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

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

Why this answer

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

Exam trap

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

How to eliminate wrong answers

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

19
MCQhard

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

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

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

Why this answer

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

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

Exam trap

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

20
MCQmedium

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

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

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

Why this answer

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

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

Exam trap

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

21
MCQmedium

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

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

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

Why this answer

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

Exam trap

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

22
Multi-Selectmedium

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

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

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

Why this answer

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

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

Exam trap

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

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

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

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

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

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

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

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

Ready to test yourself?

Try a timed practice session using only Fault Tolerant Vault Environments questions.