HCVA0-003 practice question 9 of 35
During a service outage, you must ensure all current tokens and leases are copied to another Vault cluster for failover so applications don’t need to authenticate. How can you accomplish this?
Full set: 285 questionsDisaster Recovery (DR) replication is the Vault Enterprise feature designed for "hot standby" failover scenarios. It replicates nearly all data from a primary to a secondary cluster, including authentication tokens, leases, and policies. During an outage, the secondary DR cluster can be promoted to become the new primary. Because the tokens and leases have been synchronized, applications can continue their operations against the newly promoted cluster without needing to re-authenticate. This provides a seamless failover experience, which is the core requirement of the question.
A. Writing tokens and leases to a file is an insecure manual process, not a built-in, automated high-availability or disaster recovery solution provided by Vault.
B. The Vault Agent's auto-auth feature simplifies re-authentication for applications, but it does not replicate existing tokens or leases to a failover cluster.
D. Performance Replication is designed for scaling read-heavy workloads and explicitly does not replicate transient data like tokens and leases to secondary clusters.
1. HashiCorp Vault Official Documentation, "Disaster Recovery Replication": "Disaster Recovery (DR) Replication is designed for a "hot standby" scenario. It replicates all data from a primary to a secondary cluster. If the primary cluster fails, the secondary can be promoted to take its place." This confirms that DR replication is the intended mechanism for this scenario.
2. HashiCorp Vault Official Documentation, "Performance Replication": "Performance replication does not replicate ephemeral data such as tokens and leases. This means that clients cannot use a token generated on a primary cluster with a performance secondary cluster." This directly invalidates option D.
3. HashiCorp Vault Official Documentation, "Replication" (Model Comparison Table): The table comparing replication models clearly states that for "Tokens and Leases," Disaster Recovery replication provides "Full Sync," while Performance Replication provides "None." This highlights the fundamental difference and supports the choice of C over D.
Keep practicing
Take the free HCVA0-003 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other HCVA0-003 practice questions
- Question 1Which two characters can be used when writing a policy to reflect a wildcard or path segm…
- Question 2You have multiple Vault clusters in your environment, one for test and one for production…
- Question 3Short-lived, dynamically generated secrets provide organizations with many benefits. Sele…
- Question 4When Vault is sealed, which are the only two operations available to a Vault administrato…
- Question 6What is the default method of authentication after first initializing Vault?
- Question 7Which two interfaces automatically assume the token for subsequent requests after success…
