HCVA0-003 practice question 16 of 35
True or False? Performing a rekey operation using the vault operator rekey command creates new unseal/recovery keys as well as a new root key?
Full set: 285 questionsThe vault operator rekey command is a critical security operation that generates a new master key for the Vault. As a direct consequence of creating a new master key, a new set of unseal keys (also referred to as recovery keys in some contexts) is also generated, as these keys are Shamir's shares of the master key. However, this operation does not generate a new root token. The root token is a highly privileged authentication credential used for initial setup and emergency administrative tasks. The generation of a new root token is a separate and distinct operation performed using the vault operator generate-root command. Therefore, the statement that a rekey operation creates both new unseal keys and a new root key is incorrect.
The "True" option is incorrect because it makes a compound claim, and one part of that claim is false. While the rekey operation does create new unseal/recovery keys, it does not create a new root key. For the entire statement to be true, both conditions would need to be met.
1. HashiCorp Vault Official Documentation, operator rekey Command: This document explicitly states the purpose of the rekey command. It details the generation of a new master key, which necessitates new unseal keys, but makes no mention of generating a root token.
Source: HashiCorp, "Vault Commands (CLI) - operator rekey".
Reference: https://developer.hashicorp.com/vault/docs/commands/operator/rekey
Section: Command description.
Content: "The rekey operation generates a new master key. All data in the storage backend is re-encrypted with the new master key... This command starts the rekey process. The Vault will be rekeyed to a new set of unseal keys."
2. HashiCorp Vault Official Documentation, operator generate-root Command: This source clearly defines the separate and specific process for creating a new root token, demonstrating it is not part of the rekey operation.
Source: HashiCorp, "Vault Commands (CLI) - operator generate-root".
Reference: https://developer.hashicorp.com/vault/docs/commands/operator/generate-root
Section: Command description.
Content: "The generate-root command generates a new root token. This is a highly privileged operation and requires a quorum of unseal keys to authorize the generation."
3. HashiCorp Vault Official Documentation, Rekeying and Rotating Concepts: This conceptual guide distinguishes between rekeying the master key and other security operations, reinforcing that the rekey process is focused on the master key and its shares (unseal keys).
Source: HashiCorp, "Vault Concepts - Rekeying and Rotating".
Reference: https://developer.hashicorp.com/vault/docs/concepts/rekeying-and-rotating
Section: "Rekeying Vault".
Content: "Rekeying Vault changes the master key used to protect the data encryption key... The rekey operation requires a quorum of existing unseal key holders to be present." This section focuses exclusively on the master key and unseal keys, with no mention of root tokens.
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…
