- A
The secret 'secret/data/app/db-creds' does not exist in Vault.
Other secrets work, so this specific secret likely does not exist.
- B
The token does not have the 'app-policy' policy attached due to a misconfiguration in the role.
Why wrong: The token's metadata shows 'app-policy' is attached.
- C
There is an explicit deny rule in the policy that denies access to 'db-creds'.
Why wrong: The policy shown does not contain any deny rules.
- D
The token is periodic and does not have the correct capabilities for the path.
Why wrong: Periodic tokens are not required for AppRole; the policy is attached correctly.
Quick Answer
The answer is that the secret 'secret/data/app/db-creds' does not exist in Vault. This is the most likely cause because the token already has the correct 'app-policy' attached, which grants read access to the wildcard path 'secret/data/app/*', and the service can successfully read other secrets like 'secret/data/app/config' from that same path. The absence of Vault server errors confirms the policy is properly evaluated, but reading a non-existent secret returns a 404 or permission-denied-like response without logging an error, which often misleads troubleshooters into thinking the policy is broken. On the HashiCorp Vault Associate VA-003 exam, this scenario tests your understanding that a valid policy does not guarantee the secret exists—a common trap where candidates blame policy syntax or token capabilities instead of checking the secret’s existence. Remember the memory tip: “Policy permits the path, but the path must hold the data.”
VA-003 Create Vault policies Practice Question
This VA-003 practice question tests your understanding of create vault policies. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
A DevOps team is managing secrets for a microservices application using Vault. They have created a policy named 'app-policy' that grants read access to secrets under the path 'secret/data/app/*'. The policy is assigned to an AppRole role. When a service authenticates with the role ID and secret ID, it receives a token but is unable to read secrets from 'secret/data/app/db-creds'. The token's identity metadata shows the policies associated with the token include 'default' and 'app-policy'. The Vault server logs show no errors. The service can successfully read other secrets from the same path, like 'secret/data/app/config'. What is the most likely cause of the issue?
Clue words in this question
Noticing these words before you look at the options changes how you read each choice.
Clue:
"most likely"Why it matters: Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.
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 secret 'secret/data/app/db-creds' does not exist in Vault.
Option A is correct because the most likely cause is that the secret 'secret/data/app/db-creds' does not exist in Vault. The token has the 'app-policy' policy attached, which grants read access to 'secret/data/app/*', and the service can successfully read other secrets under that path (e.g., 'secret/data/app/config'). The absence of Vault server errors indicates that the policy is correctly evaluated and the path is valid, but a read on a non-existent secret returns a 404 (or a permission-denied-like response) without logging an error. The token's metadata confirms the policy is present, ruling out policy assignment issues.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
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 secret 'secret/data/app/db-creds' does not exist in Vault.
Why this is correct
Other secrets work, so this specific secret likely does not exist.
Clue confirmation
The clue word "most likely" in the question point toward this answer.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
The token does not have the 'app-policy' policy attached due to a misconfiguration in the role.
Why it's wrong here
The token's metadata shows 'app-policy' is attached.
- ✗
There is an explicit deny rule in the policy that denies access to 'db-creds'.
Why it's wrong here
The policy shown does not contain any deny rules.
- ✗
The token is periodic and does not have the correct capabilities for the path.
Why it's wrong here
Periodic tokens are not required for AppRole; the policy is attached correctly.
Common exam traps
Common exam trap: answer the scenario, not the keyword
HashiCorp often tests the distinction between a missing secret and a policy denial, trapping candidates who assume that a 'permission denied' response always indicates a policy issue, when in fact Vault returns a 404 for non-existent paths without logging an error.
Trap categories for this question
Command / output trap
The token's metadata shows 'app-policy' is attached.
Detailed technical explanation
How to think about this question
In Vault, when a secret does not exist at a given path, the read operation returns a 404 status code, which may be misinterpreted as a permission issue by clients. The Vault server logs do not record errors for non-existent secrets because the request is valid but the key is absent. This behavior is distinct from a policy denial, which would log an audit event. In real-world scenarios, teams often misdiagnose missing secrets as policy problems, especially when using dynamic secrets or when secrets are created after the token is issued.
KKey Concepts to Remember
- Read the scenario before looking for a memorised answer.
- Find the constraint that changes the correct option.
- Eliminate answers that are true in general but not in this case.
TExam Day Tips
- Watch for words such as best, first, most likely and least administrative effort.
- Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A small business has 20 workstations on the 192.168.1.0/24 network and one public IP from its ISP. The router uses PAT (NAT overload) so all 20 devices share one public address using different source ports. NAT questions test whether you understand the four address terms and which direction each translation applies.
What to study next
Got this wrong? Here's your next step.
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
- →
Create Vault policies — study guide chapter
Learn the concepts, then practise the questions
- →
Create Vault policies practice questions
Targeted practice on this topic area only
- →
All VA-003 questions
514 questions across all exam domains
- →
HashiCorp Vault Associate VA-003 study guide
Full concept coverage aligned to exam objectives
- →
VA-003 practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related VA-003 practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Compare authentication methods practice questions
Practise VA-003 questions linked to Compare authentication methods.
Assess Vault tokens practice questions
Practise VA-003 questions linked to Assess Vault tokens.
Create Vault policies practice questions
Practise VA-003 questions linked to Create Vault policies.
Manage Vault leases practice questions
Practise VA-003 questions linked to Manage Vault leases.
Compare and configure secrets engines practice questions
Practise VA-003 questions linked to Compare and configure secrets engines.
Utilize Vault CLI and API practice questions
Practise VA-003 questions linked to Utilize Vault CLI and API.
Explain Vault architecture practice questions
Practise VA-003 questions linked to Explain Vault architecture.
Explain encryption as a service practice questions
Practise VA-003 questions linked to Explain encryption as a service.
VA-003 fundamentals practice questions
Practise VA-003 questions linked to VA-003 fundamentals.
VA-003 scenario practice questions
Practise VA-003 questions linked to VA-003 scenario.
VA-003 troubleshooting practice questions
Practise VA-003 questions linked to VA-003 troubleshooting.
Practice this exam
Start a free VA-003 practice session
Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.
FAQ
Questions learners often ask
What does this VA-003 question test?
Create Vault policies — This question tests Create Vault policies — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: The secret 'secret/data/app/db-creds' does not exist in Vault. — Option A is correct because the most likely cause is that the secret 'secret/data/app/db-creds' does not exist in Vault. The token has the 'app-policy' policy attached, which grants read access to 'secret/data/app/*', and the service can successfully read other secrets under that path (e.g., 'secret/data/app/config'). The absence of Vault server errors indicates that the policy is correctly evaluated and the path is valid, but a read on a non-existent secret returns a 404 (or a permission-denied-like response) without logging an error. The token's metadata confirms the policy is present, ruling out policy assignment issues.
What should I do if I get this VA-003 question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
Are there clue words in this question I should notice?
Yes — watch for: "most likely". Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Last reviewed: Jun 30, 2026
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.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.