VA-003 Manage Vault leases Practice Question
An admin needs to revoke all leases associated with a particular policy violation. Which two methods can be used? (Choose two.)
⚠ Common exam trap
This question tests your ability to distinguish between the `revoke-prefix` and `revoke-force` commands, as well as understanding that individual lease revocation or token revocation commands are not suited for bulk lease revocation by policy violation. Candidates often confuse the CLI syntax or mistakenly think `vault lease revoke` with a single lease ID can revoke all leases, or that `vault token revoke -mode=orphan` affects leases.
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 sys/leases/revoke-prefix <prefix>
`vault write sys/leases/revoke-prefix <prefix>` revokes all leases sharing a given prefix, which is the standard method for bulk revocation based on a policy violation path. Option E is correct because `vault lease revoke -prefix <mount_path>` achieves the same result by revoking all leases under a specified mount path, effectively targeting the same scope. Both commands allow an admin to revoke multiple leases associated with a particular policy violation without needing individual lease IDs.
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 sys/leases/revoke-force <prefix>
Why it's wrong here
Incorrect path; there is no revoke-force endpoint.
- ✗
vault token revoke -mode=orphan <token>
Why it's wrong here
Orphan mode revokes the token but leaves its leases intact; not suitable for revoking leases.
- ✗
vault lease revoke <lease_id>
Why it's wrong here
Only revokes a single lease, not all associated with a policy.
- ✓
vault write sys/leases/revoke-prefix <prefix>
Why this is correct
API equivalent to revoke by prefix.
- ✓
vault lease revoke -prefix <mount_path>
Why this is correct
Revokes all leases under the given prefix.
Visual reference
Go deeper
Related to this question
About these practice questions
Courseiva writes every VA-003 question from scratch — 498 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. 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.