Courseiva
Assess Vault tokenseasyMultiple ChoiceObjective-mapped

VA-003 Assess Vault tokens Practice Question

Exhibit

Refer to the exhibit.
```
path "secret/data/app/*" {
  capabilities = ["read", "list"]
}
path "auth/token/lookup" {
  capabilities = ["sudo"]
}
```

A token with the above policy attempts to look up its own token by calling the accessor endpoint. What will happen?

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

The operation fails with a permission denied error

The policy grants sudo on 'auth/token/lookup', but the endpoint for lookup by accessor is 'auth/token/lookup-accessor', which is a different path. Therefore, this policy does not allow that operation. Option A is wrong because the path is different. Option C is wrong because the policy does not have read or create on the correct path. Option D is wrong because the token has capabilities, just not on the required path.

Answer analysis

Option-by-option breakdown

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

  • The operation succeeds because the token can read its own token

    Why it's wrong here

    Self-lookup uses auth/token/lookup-self, not the accessor endpoint.

  • The operation fails with a permission denied error

    Why this is correct

    The policy does not cover the accessor endpoint.

  • The operation succeeds because sudo allows all accessor operations

    Why it's wrong here

    Sudo is path-specific.

  • The operation fails because the token lacks any capabilities

    Why it's wrong here

    It has capabilities on other paths.

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 →

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.