VA-003 Create Vault policies Practice Question
A policy must allow a user to revoke their own token. Which endpoint and capability are required?
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
✓
path "auth/token/revoke-self" { capabilities = ["update"] }
To revoke your own token, you need the endpoint 'auth/token/revoke-self' with the 'update' capability. Option A uses 'auth/token/revoke', which is for revoking other tokens and requires sudo capability. Option B uses the correct endpoint but 'write' is not a valid capability in Vault; the correct capability is 'update'. Option C uses 'sys/leases/revoke', which is for revoking leases, not tokens.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
path "auth/token/revoke" { capabilities = ["update"] }
Why it's wrong here
This endpoint is for revoking any token, not just self.
- ✗
path "auth/token/revoke-self" { capabilities = ["write"] }
Why it's wrong here
'write' is not a valid capability; use 'update'.
- ✗
path "sys/leases/revoke" { capabilities = ["update"] }
Why it's wrong here
This is for revoking leases, not tokens.
- ✓
path "auth/token/revoke-self" { capabilities = ["update"] }
Why this is correct
This is the correct endpoint and capability for self-revocation.
Go deeper
Related to this question
About these practice questions
This VA-003 question is part of Courseiva's 498-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam 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.