Courseiva
Utilize Vault CLI and APImediumMultiple SelectObjective-mapped

VA-003 Utilize Vault CLI and API Practice Question

Which TWO of the following Vault CLI commands can be used to write data to Vault?

⚠ Common exam trap

HashiCorp often tests the distinction between `vault write` and `vault kv put` by including plausible but nonexistent commands like `vault set` or `vault push`, leading candidates to confuse them with common Unix or Git commands.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

vault write

`vault write` is the primary Vault CLI command for writing data directly to a specified path, including secrets, policies, or configuration. Option E is correct because `vault kv put` is the dedicated command for writing key-value pairs to the KV secrets engine, which is a common use case for storing secret data.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • vault set

    Why it's wrong here

    'vault set' is not a valid Vault CLI command.

  • vault put

    Why it's wrong here

    'vault put' is not a valid Vault CLI command.

  • vault push

    Why it's wrong here

    'vault push' is not a valid Vault CLI command.

  • vault write

    Why this is correct

    'vault write' is a valid CLI command for writing data to any path, including KV secrets.

  • vault kv put

    Why this is correct

    'vault kv put' is the correct command for writing data to the KV secrets engine.

About these practice questions

One of 498 original VA-003 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This VA-003 practice question is part of Courseiva's free HashiCorp certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the VA-003 exam.