HCVA0-003 practice question 21 of 35

True or False? Once you create a KV v1 secrets engine and place data in it, there is no way to modify the mount to include the features of a KV v2 secrets engine.

Full set: 285 questions
Answer options
A: True Correct answer
B: False
Correct Answer:
F; A. True; L; S; E
Explanation

The statement is false. HashiCorp Vault provides a dedicated command-line interface (CLI) command, vault kv upgrade, specifically designed to perform an in-place upgrade of a Key/Value (KV) version 1 secrets engine to version 2. This process is non-destructive, meaning it preserves all existing data while adding the advanced features of KV v2, such as secret versioning and soft-delete capabilities.

Why Incorrect

The "True" option is incorrect because it makes a definitive claim that there is "no way" to modify the mount. This is factually inaccurate, as the vault kv upgrade command is an officially documented and supported feature for this exact migration path.

References

1. HashiCorp Vault Official Documentation, "KV Secrets Engine - CLI: vault kv upgrade": This official documentation page details the command used for the upgrade process. It explicitly states, "The kv upgrade command upgrades a KV v1 secrets engine to KV v2 in-place."

Source: HashiCorp Vault Documentation, Command-line Interface (CLI), vault kv upgrade.

2. HashiCorp Learn, "Versioning and Upgrading the KV Secrets Engine" Tutorial: This official tutorial provides a practical, step-by-step guide on how to perform the upgrade. In the "Upgrade KV secrets engine" section, it instructs the user to run the vault kv upgrade command, demonstrating that the functionality exists and is a standard administrative procedure.

Source: HashiCorp Learn, Vault Tutorials, "Versioning and Upgrading the KV Secrets Engine".

Scroll to Top