- A
Set the default lease TTL on the database mount to 1 hour.
Why wrong: The default lease TTL applies to all secrets without a specific role TTL; but the role TTL overrides the default. Also, the default lease TTL is already 24h, but changing it to 1h would affect other roles that might need longer leases.
- B
Configure the database role with a TTL of 1 hour and an explicit max TTL of 2 hours.
This ensures each lease expires after 1 hour, and the explicit max TTL prevents any renewal beyond 2 hours, minimizing exposure.
- C
Increase the system's default lease TTL to 48 hours to give applications more flexibility.
Why wrong: This would lengthen the lease duration, increasing the exposure window, which is the opposite of the goal.
- D
Manually revoke leases after each application finishes using them.
Why wrong: Manual revocation is not scalable and prone to human error; automated TTL-based expiry is preferred.
Quick Answer
The correct approach is to configure the database role with a TTL of 1 hour and an explicit max TTL of 2 hours, because role-level TTLs override the mount’s default lease TTL, allowing you to enforce shorter-lived credentials per application. This works because Vault evaluates TTLs hierarchically: the role’s TTL takes precedence over the engine’s default, and the max TTL acts as a hard cap that even a renewing client cannot exceed, ensuring leases are revoked promptly after use. On the VA-003 exam, this tests your understanding of the vault role TTL vs mount default lease TTL distinction—a common trap is assuming the mount default applies universally, but role TTLs are the correct mechanism for per-application control. Remember the memory tip: “Role rules, mount defaults only when roles are silent”—if a role specifies a TTL, it always wins, and the max TTL is your safety net against runaway leases.
VA-003 Manage Vault leases Practice Question
This VA-003 practice question tests your understanding of manage vault leases. 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 company uses Vault to manage database credentials for its applications. The applications request a one-hour TTL for database secrets, but the database engine's default lease TTL is set to 24 hours. The Vault administrator wants to ensure that leases are revoked promptly after the applications finish using them, to minimize the window of exposure. Which approach best achieves this goal?
Clue words in this question
Noticing these words before you look at the options changes how you read each choice.
Clue:
"best"Why it matters: Signals that multiple options may be partially correct. Choose the option that most directly solves the exact problem described, not the one that sounds most complete.
Clue:
"minimum / minimize"Why it matters: Asks for the least resource use — fewest addresses, smallest subnet, lowest overhead. Eliminate over-provisioned options even if they would technically work.
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
Configure the database role with a TTL of 1 hour and an explicit max TTL of 2 hours.
Option B is correct because configuring the database role with a TTL of 1 hour and an explicit max TTL of 2 hours allows the application to request a 1-hour lease while ensuring that the lease cannot exceed 2 hours, even if the application fails to renew or release it. This minimizes the exposure window by capping the lease duration, and the Vault administrator can rely on automatic lease revocation at TTL expiry rather than manual intervention. The database engine's default lease TTL of 24 hours is overridden by the role-level TTL, which is the proper way to enforce shorter-lived credentials for specific applications.
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 the default lease TTL on the database mount to 1 hour.
Why it's wrong here
The default lease TTL applies to all secrets without a specific role TTL; but the role TTL overrides the default. Also, the default lease TTL is already 24h, but changing it to 1h would affect other roles that might need longer leases.
- ✓
Configure the database role with a TTL of 1 hour and an explicit max TTL of 2 hours.
Why this is correct
This ensures each lease expires after 1 hour, and the explicit max TTL prevents any renewal beyond 2 hours, minimizing exposure.
Clue confirmation
The clue words "best", "minimum / minimize" in the question point toward this answer.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
Increase the system's default lease TTL to 48 hours to give applications more flexibility.
Why it's wrong here
This would lengthen the lease duration, increasing the exposure window, which is the opposite of the goal.
- ✗
Manually revoke leases after each application finishes using them.
Why it's wrong here
Manual revocation is not scalable and prone to human error; automated TTL-based expiry is preferred.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates often confuse the mount-level default lease TTL with the role-level TTL, assuming that changing the mount default is sufficient, when in fact the role-level TTL and explicit max TTL are required to enforce a strict upper bound on credential lifetime.
Detailed technical explanation
How to think about this question
Under the hood, Vault's lease hierarchy allows role-level TTL to override the mount's default lease TTL, but the effective lease TTL is also bounded by the system's max lease TTL (default 32 days) unless an explicit max TTL is set on the role. Setting an explicit max TTL on the role (e.g., 2 hours) ensures that even if the application requests a longer TTL or renews the lease, it cannot exceed that cap, which is critical for compliance scenarios like PCI DSS where database credentials must be rotated frequently. In a real-world scenario, if the application crashes after obtaining a 1-hour lease without the max TTL, the lease could be renewed up to the mount's 24-hour default, leaving credentials exposed for an entire day.
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 practitioner preparing for the VA-003 exam encounters this exact type of scenario on the job. The correct answer here is not the most general option — it is the best answer for the specific constraint described. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Real exam questions reward reading the full scenario before eliminating options, because the constraint defines which answer fits.
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.
- →
Manage Vault leases — study guide chapter
Learn the concepts, then practise the questions
- →
Manage Vault leases 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?
Manage Vault leases — This question tests Manage Vault leases — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Configure the database role with a TTL of 1 hour and an explicit max TTL of 2 hours. — Option B is correct because configuring the database role with a TTL of 1 hour and an explicit max TTL of 2 hours allows the application to request a 1-hour lease while ensuring that the lease cannot exceed 2 hours, even if the application fails to renew or release it. This minimizes the exposure window by capping the lease duration, and the Vault administrator can rely on automatic lease revocation at TTL expiry rather than manual intervention. The database engine's default lease TTL of 24 hours is overridden by the role-level TTL, which is the proper way to enforce shorter-lived credentials for specific applications.
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: "best", "minimum / minimize". Signals that multiple options may be partially correct. Choose the option that most directly solves the exact problem described, not the one that sounds most complete.
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 11, 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.