Prepare Smarter for the HCVA0-003 Exam
Build your exam confidence with flexible preparation resources designed around the latest HCVA0-003 exam objectives. Practice at your own pace using PDF questions, online exam simulations, or desktop practice software.
What is required to seal Vault?
Correct Answer: A
Sealing Vault is an administrative operation performed against the /sys/seal endpoint or by using the equivalent operator command. It does not require Shamir unseal keys, because those are used to unseal Vault, not to seal it. It also does not require the root key to be manually supplied. A quorum or threshold of key holders is needed for unsealing in Shamir mode, but sealing is a different action. The best answer is a single operator with sufficient root-level privilege, meaning a token with the root policy or the required sudo capability on the seal path. HashiCorp’s /sys/seal API documentation states that sealing requires a token with the root policy or sudo capability on the path.
================
What is the default maximum time-to-live (TTL) for a token, measured in days?
Correct Answer: A
Comprehensive and Detailed in Depth Explanation:
A: Vault’s default max TTL is 768 hours (32 days). Correct.
B, C, D: Incorrect values per Vault’s defaults.
Overall Explanation from Vault Docs:
“The system max TTL is 768 hours (32 days) unless overridden…”
[Reference: https://developer.hashicorp.com/vault/docs/concepts/tokens#token-time-to-live-periodic-tokens-and-explicit-max-ttls, ]
When you are unsealing Vault using unseal keys, what are you actually doing?
Correct Answer: C
Comprehensive and Detailed In-Depth Explanation:
Unsealing involves:
C. Reconstructing the root key : " Unsealing is the process of obtaining the plaintext root key necessary to read the decryption key to decrypt the data, allowing access to the Vault. " The unseal keys reconstruct this root key via Shamir’s Secret Sharing.
Incorrect Options :
A : Recovery keys are separate.
B : Keys aren’t exported during unseal.
D : Data decryption is a result, not the action.
[Reference: https://developer.hashicorp.com/vault/docs/concepts/seal#seal-unseal, ]
When Vault is sealed, which are the only two operations available to a Vault administrator? (Select two)
Correct Answer: A, E
Comprehensive and Detailed in Depth Explanation:
When Vault is sealed, its functionality is severely restricted to protect encrypted data. The HashiCorp Vault documentation states:
" While Vault is sealed, the only two options available are viewing the vault status (vault status) and unsealing Vault (vault operator unseal).
All the other actions require Vault to be unsealed and the user to be authenticated. " This limitation ensures that no operations can access or modify data until the Vault is unsealed, enhancing security.
The documentation under " Shamir Seals " further elaborates: " When Vault is sealed, it knows where its encrypted data is stored but cannot decrypt it because the master key is not in memory. The only available operations are checking the seal status and initiating the unseal process. " Thus:
A (View the status of Vault) : The vault status command works when sealed, providing details like seal state.
E (Unseal Vault) : The vault operator unseal command allows administrators to begin unsealing.
Options like configure policies (B) , view data in the key/value store (C) , rotate the encryption key (D) , and author security policies (F) require an unsealed Vault and authentication, making A and E the correct selections.
[Reference:, HashiCorp Vault Documentation - Seal Concepts: Shamir Seals, HashiCorp Vault Documentation - Vault Status Command, ]
Which two interfaces automatically assume the token for subsequent requests after successfully authenticating? (Select two)
Correct Answer: A, C
Comprehensive and Detailed in Depth Explanation:
After successful authentication, the CLI and UI interfaces in Vault automatically assume the token for subsequent requests, simplifying user interaction.
The HashiCorp Vault documentation states: " After authenticating, the UI and CLI automatically assume the token for all subsequent requests. The API,
however, requires the user to extract the token from the server response after authenticating in order to send with subsequent requests.
" This is facilitated by Vault’s token helper mechanism for CLI and session management in the UI.
The documentation under " Token Helper " explains: " The Vault CLI uses a token helper to store the token locally after login (e.g., vault login), and future commands
automatically use this token without requiring it to be specified each time. " Similarly, the UI stores the token in the browser session post-login. In contrast, the API requires
explicit inclusion of the token in each request header (e.g., X-Vault-Token), making manual token management necessary. Thus, A (CLI) and C (UI) are correct.
[Reference:, HashiCorp Vault Documentation - Commands: Token Helper, ]