Courseiva
Manage Vault leaseseasyMultiple ChoiceObjective-mapped

VA-003 Manage Vault leases Practice Question

Exhibit

Refer to the exhibit.

```
vault write database/roles/mydb \
    db_name=mysql \
    creation_statements="CREATE USER '{{name}}'@'%' IDENTIFIED BY '{{password}}';GRANT SELECT ON *.* TO '{{name}}'@'%';" \
    default_ttl=1h \
    max_ttl=24h \
    renewable=false
```

A developer requests a credential from this role. Which statement about the resulting lease is true?

⚠ Common exam trap

In the Vault exam, candidates often confuse the default lease TTL (1 hour) with the maximum TTL (24 hours or higher), and they may incorrectly assume all leases are renewable. The 'renewable' flag is a separate configuration that can be set to false, making the lease non-renewable regardless of TTL.

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 lease will have a TTL of 1 hour and cannot be renewed.

In Vault, when a developer requests a credential from a role that is configured with the default lease TTL of 1 hour and the role has `explicit_max_ttl` set to 0 (or not set), the resulting lease will have a TTL of 1 hour. Additionally, if the role is configured with `renewable=false`, the lease cannot be renewed. Option C correctly reflects both the 1-hour TTL and non-renewable behavior.

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 lease will have a TTL of 24 hours and can be renewed.

    Why it's wrong here

    Both statements are false.

  • The lease will have a TTL of 1 hour and can be renewed.

    Why it's wrong here

    Renewable is false, so it cannot be renewed.

  • The lease will have a TTL of 1 hour and cannot be renewed.

    Why this is correct

    The default_ttl sets the initial TTL, and renewable=false prevents renewal.

  • The lease will have a TTL of 24 hours and cannot be renewed.

    Why it's wrong here

    default_ttl is 1h, not 24h.

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.