Courseiva

CCNA Fault Tolerant Vault Environments Questions

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

1
MCQmedium

In the event of a total primary cluster failure, what is the status of the secrets stored in the DR secondary cluster before promotion?

A.They are automatically synced back to a new primary.
B.They are encrypted and cannot be accessed.
C.They are available for reading if the secondary is unsealed.
D.They are unavailable and must be restored from backup.
AnswerC

The data exists on the secondary, ready to be served once promoted.

Why this answer

Secrets are replicated to the DR secondary; however, the secondary is in a read-only state and cannot serve them until it is promoted to primary.

2
Multi-Selectmedium

Which THREE of the following steps are necessary when performing a manual disaster recovery promotion?

Select 3 answers
A.Running 'vault operator dr promotion' on the secondary.
B.Deleting the old primary's data from the secondary.
C.Updating client configurations to point to the new primary URL.
D.Unsealing the secondary node with its keys.
E.Re-initializing the cluster.
AnswersA, C, D

This is the command to trigger the promotion.

Why this answer

Promotion involves authenticating, executing the promotion command, and ensuring the new primary is reachable.

3
MCQmedium

You are configuring a Vault cluster for high availability using Consul as the storage backend. During a network partition, the standby nodes cannot reach the leader node. What must occur for a new leader to be elected?

A.The load balancer must perform a health check and restart the standby nodes.
B.The Consul agent must expire the leader's session, triggering an election among standby nodes.
C.Vault requires a manual unseal process on all nodes to trigger a new election.
D.The Vault administrator must manually promote a standby node via the CLI.
AnswerB

The storage backend manages the lock; once the leader's session expires, standby nodes race to acquire it.

Why this answer

In an HA cluster using Consul, the leader node holds a session lock. If the leader fails or loses connectivity, the session expires, allowing standby nodes to attempt to acquire the lock and become the new leader.

4
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

This directs traffic to the active node.

Why this answer

HA requires storage for state, a server for processing, and a mechanism to direct traffic.

5
Multi-Selectmedium

Which TWO of the following are valid reasons why a node might fail to join an existing Raft cluster?

Select 2 answers
A.The node has not been initialized with 'vault operator init'.
B.The 'cluster_addr' is not reachable from the leader.
C.The node is already part of another Raft cluster.
D.The storage backend is set to 'consul'.
E.The node has a different Vault version.
AnswersB, C

The leader must be able to reach the new node to add it.

Why this answer

Configuration errors and network issues are the most common causes for joining failures.

6
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

Clients must be redirected to the new cluster to continue operations.

Why this answer

Once a DR secondary is promoted, it becomes a standalone primary. You must ensure that clients are updated to point to this new cluster and that new authentication/authorization policies are synced.

7
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

Raft nodes coordinate automatically to manage state and leadership via consensus.

Why this answer

Raft storage is integrated into Vault, and the cluster uses the Raft consensus protocol to elect a leader and replicate data across peers.

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

This is the primary purpose of api_addr.

Why this answer

The 'api_addr' is used by the leader to tell other nodes how to reach it. Changing it affects cluster communication and how clients connect.

9
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

This command cleans up the Raft configuration.

Why this answer

Using 'vault operator raft remove-peer' allows you to gracefully remove a stale or dead peer from the consensus list.

10
MCQhard

You are troubleshooting a sync issue in Performance Replication. The logs indicate 'replication lag'. Which parameter should you review to ensure optimal data synchronization between clusters?

A.The network connection and replication buffer throughput.
B.The 'disable_mlock' setting.
C.The 'max_lease_ttl' value.
D.The 'default_max_request_size'.
AnswerA

Replication lag is usually due to network congestion or inadequate buffer capacity.

Why this answer

While there isn't a single 'lag' parameter, review the 'replication_buffer_size' or network throughput limits between clusters as part of diagnosing synchronization bottlenecks.

11
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

Performance standbys are designed to handle read traffic locally.

Why this answer

Performance standby nodes allow local read-only requests to be served, reducing the load on the primary node.

12
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

Lag indicates potential data loss or sync issues.

Why this answer

Monitoring lag, ensuring network reliability, and testing recovery procedures are essential for DR maintenance.

13
MCQmedium

When configuring DR replication, what is the purpose of the 'primary_token' used on the secondary cluster?

A.It is used to authorize the secondary to unseal itself.
B.It is used to allow the secondary to perform write operations.
C.It is used by the secondary to authenticate with the primary cluster.
D.It is used to encrypt data transferred over the network.
AnswerC

The replication token is essential for the handshake between clusters.

Why this answer

The primary token is used by the secondary cluster to authenticate with the primary and establish the replication link.

14
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 manages the lock required for leadership.

Why this answer

The storage backend (e.g., Consul, Raft) provides a distributed locking mechanism that Vault uses to ensure only one leader exists.

15
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 provides high availability; DR provides recovery from total cluster loss.

Why this answer

HA is about local node availability, while DR is about replicating data across clusters for geographic or systemic failure recovery.

16
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

This tells other nodes how to reach this node.

Why this answer

Communication requires proper address bindings and TLS configurations to be secure and reachable.

17
Multi-Selectmedium

Which TWO of the following are requirements for a successful Vault HA deployment using Raft?

Select 2 answers
A.The 'cluster_addr' must be configured for inter-node communication.
B.An external Consul agent running on every node.
C.A load balancer to perform round-robin writes.
D.A shared network file system (NFS) for the storage directory.
E.The 'api_addr' must be reachable by all other nodes.
AnswersA, E

This is required for nodes to talk to each other.

Why this answer

Raft requires specific configuration for consensus and networking to function correctly in an HA environment.

18
MCQmedium

In a Performance Replication setup, a secondary cluster is experiencing high latency for read requests. Which action should you take to verify if the requests are being routed correctly?

A.Check the 'sys/metrics' endpoint to verify the number of performance standby requests.
B.Increase the 'max_lease_ttl' on the primary cluster.
C.Run 'vault write sys/replication/performance/secondary/update' to increase synchronization speed.
D.Restart the secondary cluster to clear the internal request cache.
AnswerA

Metrics provide visibility into whether performance standbys are handling local reads effectively.

Why this answer

Checking the X-Vault-Index headers and looking at performance standby metrics helps determine if requests are hitting the local cluster or being forwarded to the primary.

19
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

Replication does not automatically unseal the secondary node.

Why this answer

If a DR secondary is sealed, it cannot participate in replication. It must be unsealed separately from the primary.

20
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

Writes cannot be processed locally on a standby.

Why this answer

Performance standbys handle reads and improve throughput but cannot perform writes.

21
MCQmedium

You have a Performance Replication setup. A client sends a write request to a performance standby node. What happens to this request?

A.The standby node attempts to become the leader and process the write.
B.The request is cached locally until the primary is available.
C.The request is rejected with a 403 Forbidden.
D.The request is forwarded to the primary cluster.
AnswerD

Performance standbys forward writes to the primary cluster to maintain consistency.

Why this answer

Performance standby nodes are read-only. Any write requests sent to them must be forwarded to the primary cluster.

22
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

Both ports are required for replication and gossip/clustering.

Why this answer

Vault replication typically requires the API port (default 8200) and the cluster port (default 8201) to be reachable between nodes for cross-cluster communication.

23
MCQhard

When migrating from an external storage backend to Raft, which command is used to capture the current state of the cluster for migration?

A.vault operator raft snapshot save
B.vault operator migrate
C.vault write sys/storage/backup
D.vault operator seal
AnswerA

This is the correct command to capture state for migration/backup.

Why this answer

The 'vault operator raft snapshot save' command is used to export the current data state to a file, which can then be restored into a new Raft-based cluster.

24
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 majority of nodes to be alive to elect a leader.

Why this answer

Quorum requires a majority of nodes to be healthy. Losing too many nodes or having network issues causes loss of quorum.

25
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

3 nodes provide a minimum fault-tolerant quorum.

Why this answer

A minimum of 3 nodes is standard for Raft to allow for majority consensus (quorum) if one node fails.

Ready to test yourself?

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