- A
Set token_num_uses=1 in the role.
Why wrong: token_num_uses limits the generated token, not the SecretID.
- B
Set bound_cidr_list to a specific IP.
Why wrong: CIDR list restricts network access, not usage count.
- C
Set secret_id_ttl=1s in the role.
Why wrong: TTL controls time, not usage count.
- D
Set secret_id_num_uses=1 in the role.
secret_id_num_uses limits the number of times a SecretID can be used.
Quick Answer
The answer is to set `secret_id_num_uses=1` in the AppRole role configuration. This parameter directly enforces single-use SecretID behavior by limiting the number of times a given SecretID can be presented during login; after the first successful authentication, Vault automatically revokes that SecretID, making it impossible to reuse. On the HashiCorp Vault Associate VA-003 exam, this concept tests your understanding of AppRole’s fine-grained control over credential lifecycle, often appearing as a distractor where candidates confuse `secret_id_num_uses` with `token_num_uses` or `secret_id_ttl`. A common trap is thinking that setting `token_num_uses=1` achieves the same result, but that limits the token’s lifespan, not the SecretID’s usage. To remember: think “SecretID, one and done” — the SecretID itself is consumed after a single login, while the token it generates can have its own separate constraints.
VA-003 Compare authentication methods Practice Question
This VA-003 practice question tests your understanding of compare authentication methods. 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.
An administrator configures AppRole with a RoleID and SecretID. They want to ensure that each SecretID can be used only once. Which configuration should they use?
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
Set secret_id_num_uses=1 in the role.
Option D is correct because setting `secret_id_num_uses=1` in the AppRole role configuration ensures that each SecretID can be used only once to obtain a token. Once the SecretID is used for login, it is automatically revoked and cannot be reused. This directly satisfies the requirement of single-use SecretIDs.
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.
- ✗
Set token_num_uses=1 in the role.
Why it's wrong here
token_num_uses limits the generated token, not the SecretID.
- ✗
Set bound_cidr_list to a specific IP.
Why it's wrong here
CIDR list restricts network access, not usage count.
- ✗
Set secret_id_ttl=1s in the role.
Why it's wrong here
TTL controls time, not usage count.
- ✓
Set secret_id_num_uses=1 in the role.
Why this is correct
secret_id_num_uses limits the number of times a SecretID can be used.
Related concept
Read the scenario before looking for a memorised answer.
Common exam traps
Common exam trap: answer the scenario, not the keyword
HashiCorp often tests the distinction between `secret_id_num_uses` (controls SecretID reuse) and `token_num_uses` (controls token reuse), leading candidates to confuse the two and incorrectly select Option A.
Detailed technical explanation
How to think about this question
Under the hood, Vault's AppRole authentication uses a two-factor approach: RoleID (like a username) and SecretID (like a password). Setting `secret_id_num_uses=1` causes Vault to decrement a usage counter on the SecretID each time it is used for login; when the counter reaches zero, the SecretID is immediately revoked. This is distinct from `token_num_uses`, which controls the token's lifecycle after authentication. In production, this is often used for short-lived, one-time access patterns such as CI/CD pipelines where each job should get a unique credential.
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 network engineer segments a warehouse floor into three subnets: 20 scanners, 5 printers, and 2 management hosts. Picking the wrong mask wastes addresses or leaves too few usable hosts. Exam questions test whether you can apply CIDR notation, calculate block size, and identify the correct usable-host range for a given prefix.
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.
- →
Compare authentication methods — study guide chapter
Learn the concepts, then practise the questions
- →
Compare authentication methods 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?
Compare authentication methods — This question tests Compare authentication methods — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Set secret_id_num_uses=1 in the role. — Option D is correct because setting `secret_id_num_uses=1` in the AppRole role configuration ensures that each SecretID can be used only once to obtain a token. Once the SecretID is used for login, it is automatically revoked and cannot be reused. This directly satisfies the requirement of single-use SecretIDs.
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.
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 →
Same concept, more angles
2 more ways this is tested on VA-003
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. Which THREE factors contribute to the security of the AppRole authentication method? (Choose three.)
hard- A.Keeping the RoleID secret
- B.Configuring token policies
- ✓ C.Setting a secret_id_num_uses limit
- ✓ D.Binding the SecretID to a specific CIDR block
- ✓ E.Setting a secret_id_ttl
Why C: Option C is correct because setting a `secret_id_num_uses` limit restricts the number of times a SecretID can be used to obtain a token from Vault. This prevents replay attacks and limits the blast radius if a SecretID is leaked, as it becomes invalid after the specified number of uses.
Variation 2. Drag and drop the steps to enable AppRole authentication in Vault into the correct order.
mediumWhy : First enable the auth method, then create the role, then retrieve the RoleID, generate a SecretID, and finally login.
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.