HCVA0-003 practice question 4 of 35

When Vault is sealed, which are the only two operations available to a Vault administrator? (Select two)

Full set: 285 questions
Answer options
A: View the status of Vault Correct answer
B: Configure policies
C: View data stored in the key/value store
D: Rotate the encryption key
E: Unseal Vault Correct answer
F: Author security policies
Correct Answer:
A. View the status of Vault; E. Unseal Vault
Explanation

When a Vault server is started, it is in a "sealed" state. In this state, Vault knows how to access its configured storage backend but does not have the master key in memory required to decrypt the data. Consequently, almost all operations are blocked. The only two operations an administrator can perform are checking the status of the Vault instance (e.g., to confirm it is sealed, its version, and cluster details) and initiating the unseal process to load the master key into memory, thereby making the Vault operational.

Why Incorrect

B. Configure policies: This action requires an unsealed and authenticated Vault, as policies are stored within the encrypted backend.
C. View data stored in the key/value store: Accessing any secret data is the primary function disabled by the seal, as decryption is impossible without the master key.
D. Rotate the encryption key: Key rotation is an advanced administrative operation that can only be performed on an unsealed and active Vault.
F. Author security policies: This is functionally identical to configuring policies and requires an unsealed and authenticated session.

References

1. HashiCorp Vault Official Documentation, "Concepts - Seal/Unseal": "When a Vault server is started, it starts in a sealed state... Before any operation can be performed on the Vault, it must be unsealed... When Vault is sealed, it cannot perform most operations." This document establishes the fundamental limitation of a sealed Vault.

Source: HashiCorp, "Seal/Unseal," Vault Documentation, accessed 2023. Available at: https://developer.hashicorp.com/vault/docs/concepts/seal

2. HashiCorp Vault Official Documentation, "Commands: status": The documentation for the vault status command explicitly shows its output for a sealed Vault, confirming it is a valid operation in this state.

Source: HashiCorp, "status Command," Vault Documentation, accessed 2023. Available at: https://developer.hashicorp.com/vault/docs/commands/status

3. HashiCorp Vault Official Documentation, "Commands: operator unseal": This command is the designated method for transitioning Vault from a sealed to an unsealed state, making it a primary operation available when Vault is sealed.

Source: HashiCorp, "unseal Command," Vault Documentation, accessed 2023. Available at: https://developer.hashicorp.com/vault/docs/commands/operator/unseal

Scroll to Top