HCVA0-003 practice question 33 of 35

What is the correct order that Vault uses to protect data?

Full set: 285 questions
Answer options
A: root key --> encryption key --> data Correct answer
B: unseal keys --> root key --> data
C: root key --> data
D: encryption key --> root key --> data
Correct Answer:
A. root key --> encryption key --> data
Explanation

Vault protects data using a method known as envelope encryption. In this model, data stored in the backend is encrypted using a high-entropy encryption key (a Data Encryption Key or DEK). This encryption key is itself encrypted by a separate, more powerful key known as the root key (a Key-Encrypting Key or KEK). This creates a cryptographic hierarchy where the root key protects the encryption key, and the encryption key protects the data. This two-tiered approach allows for efficient rotation of the encryption keys that protect the data without altering the highly sensitive root key, which is a core security principle of Vault's architecture.

Why Incorrect

B. This option incorrectly omits the essential encryption key layer. The root key protects the encryption key, not the data directly.
C. This is an oversimplification. Vault uses envelope encryption, not direct encryption of data with the root key, for better security and key management.
D. This inverts the cryptographic hierarchy. The more sensitive root key is used to protect the data encryption key, not the other way around.

References

1. HashiCorp. (n.d.). Vault Architecture. Vault Documentation. Retrieved from https://developer.hashicorp.com/vault/docs/concepts/architecture.

Reference Point: In the "Storage Backend" section, it states, "The key used to encrypt the data is also stored with the data, but it is encrypted with another key known as the root key." This directly confirms the order: root key protects the encryption key, which protects the data.

2. HashiCorp. (n.d.). Vault Security Model. Vault Documentation. Retrieved from https://developer.hashicorp.com/vault/docs/concepts/security.

Reference Point: The "Encryption of Data at Rest" section explains, "...it has the master key in memory. This master key is used to encrypt the keyring... The keyring contains the encryption keys used to encrypt data in the storage backend." This validates the hierarchy of Master (Root) Key -> Keyring (Encryption Key) -> Data.

Scroll to Top