VA-003 Utilize Vault CLI and API Practice Question
Which THREE API endpoints are valid for managing policies in Vault?
⚠ Common exam trap
HashiCorp often tests the misconception that PUT is the standard HTTP method for creating/updating resources in Vault, but Vault specifically uses POST for policy management, making PUT an invalid choice.
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
✓
GET /v1/sys/policy/{name}
The GET, DELETE, and POST endpoints are valid for managing policies in Vault. GET retrieves a policy, DELETE removes it, and POST creates or updates a policy. These correspond to the standard CRUD operations supported by Vault's sys/policy API.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
GET /v1/sys/policy/{name}
Why this is correct
GET retrieves the named policy.
- ✗
PUT /v1/sys/policy/{name}
Why it's wrong here
Vault uses POST, not PUT, for policy creation.
- ✗
PATCH /v1/sys/policy/{name}
Why it's wrong here
PATCH is not supported for policy management.
- ✓
DELETE /v1/sys/policy/{name}
Why this is correct
DELETE removes the specified policy.
- ✓
POST /v1/sys/policy/{name}
Why this is correct
POST is used to create or update a policy.
Go deeper
Related to this question
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 →
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.