- A
Set max_ttl to 2 hours on the database role.
Why wrong: max_ttl only sets an upper bound; the default TTL remains 1 hour unless the application explicitly requests a longer TTL.
- B
Set the Vault server's default_lease_ttl to 2 hours in the server configuration.
Why wrong: This changes the global default for all secrets, which could weaken security for other secrets and is not targeted.
- C
Increase the default_lease_ttl on the database secrets engine mount to 2 hours.
This raises the default TTL for all credentials created by this engine, matching the workload's maximum duration without code changes.
- D
Have the application manually renew the lease every 30 minutes.
Why wrong: Manual renewal is operationally complex and risks interruption if renewal fails; it is less efficient than adjusting the TTL.
Quick Answer
The answer is to increase the default_lease_ttl on the database secrets engine mount to 2 hours. This is the most efficient way to extend database credential validity for long running workloads because the default lease TTL determines the initial lifetime of every credential generated by that engine, so raising it to match the maximum workload duration ensures credentials are valid from creation without any code changes or manual intervention. On the VA-003 exam, this scenario tests your understanding of the difference between default_lease_ttl and max_ttl, a common trap where candidates mistakenly think setting max_ttl alone extends the lease—but max_ttl only caps the upper limit, not the initial duration. The question also reinforces that Vault’s lease lifecycle is set at credential creation, not dynamically adjusted later. A helpful memory tip: think of default_lease_ttl as the “birthday” duration—it sets how long the credential lives from the moment it’s born, while max_ttl is just the ceiling it can never exceed.
VA-003 Compare and configure secrets engines Practice Question
This VA-003 practice question tests your understanding of compare and configure secrets engines. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. 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 a production PostgreSQL cluster. The application team reports that dynamic credentials generated from the database secrets engine are being revoked before the application has finished using them. The Vault lease TTL is set to 1 hour, but the application workload sometimes runs for up to 2 hours. What is the MOST efficient way to ensure credentials remain valid for the full workload duration?
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
Increase the default_lease_ttl on the database secrets engine mount to 2 hours.
Option B is correct because increasing the default lease TTL to 2 hours ensures all credentials generated by this engine are valid for the maximum required duration, without requiring code changes. Option A is wrong because setting max_ttl alone does not extend the default TTL; the application must still request a longer TTL. Option C is wrong because the lease duration is determined at creation time; manually renewing each lease is inefficient and error-prone. Option D is wrong because changing the system TTL affects all secrets in Vault, not just database credentials, and may reduce security.
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 max_ttl to 2 hours on the database role.
Why it's wrong here
max_ttl only sets an upper bound; the default TTL remains 1 hour unless the application explicitly requests a longer TTL.
- ✗
Set the Vault server's default_lease_ttl to 2 hours in the server configuration.
Why it's wrong here
This changes the global default for all secrets, which could weaken security for other secrets and is not targeted.
- ✓
Increase the default_lease_ttl on the database secrets engine mount to 2 hours.
Why this is correct
This raises the default TTL for all credentials created by this engine, matching the workload's maximum duration without code changes.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
Have the application manually renew the lease every 30 minutes.
Why it's wrong here
Manual renewal is operationally complex and risks interruption if renewal fails; it is less efficient than adjusting the TTL.
Common exam traps
Common exam trap: answer the scenario, not the keyword
Many certification questions include familiar terms but test a specific constraint. Read the exact wording before choosing an answer that is generally true but wrong for this case.
Detailed technical explanation
How to think about this question
This question should be treated as a scenario, not a definition check. Identify the problem, the constraint and the best action. Then compare each option against those facts.
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.
- Use explanations to understand the rule behind the answer.
TExam Day Tips
- Underline the problem statement mentally.
- 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 VA-003 exam domain this question belongs to, then review the specific concept being tested. Practise related questions in that domain and focus on understanding why each wrong answer is tempting — not just why the correct answer is right.
- →
Compare and configure secrets engines — study guide chapter
Learn the concepts, then practise the questions
- →
Compare and configure secrets engines 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 and configure secrets engines — This question tests Compare and configure secrets engines — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Increase the default_lease_ttl on the database secrets engine mount to 2 hours. — Option B is correct because increasing the default lease TTL to 2 hours ensures all credentials generated by this engine are valid for the maximum required duration, without requiring code changes. Option A is wrong because setting max_ttl alone does not extend the default TTL; the application must still request a longer TTL. Option C is wrong because the lease duration is determined at creation time; manually renewing each lease is inefficient and error-prone. Option D is wrong because changing the system TTL affects all secrets in Vault, not just database credentials, and may reduce security.
What should I do if I get this VA-003 question wrong?
Identify which VA-003 exam domain this question belongs to, then review the specific concept being tested. Practise related questions in that domain and focus on understanding why each wrong answer is tempting — not just why the correct answer is right.
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 →
Keep practising
More VA-003 practice questions
- Refer to the exhibit. A developer reports that a token they created using `vault token create -policy=my-policy -ttl=2h`…
- An administrator runs the commands shown in the exhibit. Later, they run 'vault kv delete kv-v2/secret' and then 'vault…
- A security administrator notices that a Vault client using AppRole authentication is generating a very large number of t…
- Which TWO statements correctly describe differences between AppRole and Kubernetes authentication methods?
- An administrator wants to use Vault's authentication method that allows users to log in with their corporate credentials…
- An administrator needs to enable authentication method for human users that integrates with an existing LDAP directory.…
Last reviewed: Jun 6, 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.