VA-003 Utilize Vault CLI and API • Set 3
VA-003 Utilize Vault CLI and API Practice Test 3 — 15 questions with explanations. Free, no signup.
A junior administrator is writing a shell script that will be used by other team members to retrieve static secrets from Vault. The secrets are stored in the KV v2 secrets engine mounted at `secret/`. One particular secret, `credentials`, is located under the path `secret/data/credentials`. The administrator has already authenticated using the Vault CLI with a token that has read access specifically to that path. The environment variables `VAULT_ADDR` and `VAULT_TOKEN` are set correctly to point to the Vault server at `https://vault.example.com:8200` and the valid token. The script needs to run the correct command to retrieve the secret and output its key-value pairs for use by an application. Which command should the administrator include in the script?
Choose an answer to begin — your selection is scored in the full session.
15 questions · instant feedback and full explanations after every question.