Courseiva

VA-003 · topic practice

Manage Vault leases practice questions

This domain covers Vault lease lifecycle management: listing and revoking leases, understanding why expired leases persist until cleanup, tuning lease TTLs on secrets engines, and configuring audit devices that record lease operations. Questions test whether you can reason about lease counts, TTL precedence, and audit log ordering rather than recite definitions.

Courseiva uses original exam-style practice questions designed for learning and revision. The goal is to understand the concepts, recognise exam patterns, and improve through explanations — not memorise copied exam dumps.

Editorial oversight:Johnson Ajibi· MSc IT Security, IEEE Senior Member
20 questionsDomain: Manage Vault leases

What the exam tests

What to know about Manage Vault leases

Be able to list, renew, and revoke leases with the vault lease CLI, explain why expired leases still appear, and adjust lease TTLs on secrets engines. The key skill is knowing what actually reduces active lease counts: revocation, not waiting for expiry.

Using vault lease list, vault lease revoke, and vault lease renew against lease IDs

Why expired leases remain visible until Vault's expiration manager cleans them up

Tuning lease TTLs and max TTLs on secrets engines such as PKI and KV

Configuring audit devices with vault audit enable file and reading audit log entries

Why learners struggle

Why Manage Vault leases questions are commonly missed

DHCP questions are missed when learners overlook the relay agent requirement for cross-subnet assignments, or assume that because a DHCP server exists, a client will always get an address. Routing, relay, scope, and exclusion details all affect the outcome.

  • ·DHCP relay required — clients on a different subnet cannot broadcast to a remote DHCP server without a helper address
  • ·Excluded addresses — addresses in an excluded range are never offered, even if they are in the scope
  • ·Default gateway option — must match the client subnet, not the server's subnet
  • ·APIPA address (169.254.x.x) — indicates DHCP discovery failed, not a server response
  • ·DORA flow — Discovery, Offer, Request, Acknowledgement; missing any step breaks assignment
  • ·Scope exhaustion — a full scope returns no addresses even when the server is reachable

Watch out for

Common Manage Vault leases exam traps

  • ▸Assuming expired leases disappear immediately; they linger until the expiration manager revokes them, so listing shows stale entries.
  • ▸Confusing lease revocation with secret deletion, or forgetting that revoking a lease can revoke child leases and tokens.
  • ▸Setting a lease TTL on a secrets engine but ignoring max TTL, which caps renewals and forces re-issuance.

Practice set

Manage Vault leases questions

20 questions · select your answer, then reveal the explanation

A developer runs the commands shown in the exhibit. After renewing the lease, the lease_duration remains 1 hour. What is the most likely reason?

Exhibit

Refer to the exhibit.

```
$ vault read database/creds/my-role
Key                Value
---                -----
lease_id           database/creds/my-role/abc123...
lease_duration     1h
lease_renewable    true
password           ...
username           v-token-my-role-...

$ vault lease renew database/creds/my-role/abc123...
Key                Value
---                -----
lease_id           database/creds/my-role/abc123...
lease_duration     1h
lease_renewable    true
```

A company runs a microservices application on Kubernetes. Each service authenticates to Vault using the Kubernetes auth method and obtains a short-lived token with a TTL of 15 minutes. The services use these tokens to read secrets from the KV v2 secrets engine. Recently, the operations team noticed that Vault's lease count has been steadily increasing, and some services are experiencing 'lease not found' errors when trying to renew their tokens. Investigation reveals that the services are not renewing tokens before they expire because the token TTL is too short to complete some long-running tasks. The team wants to fix the issue without compromising security. They are considering the following actions:

A. Increase the default lease TTL for the KV v2 mount to 1 hour. B. Increase the token TTL for the Kubernetes auth role to 1 hour. C. Implement a renewal loop in each service to renew tokens every 10 minutes. D. Use periodic tokens with a period of 1 hour for all services.

A DevOps team uses Vault dynamic secrets for database credentials with a lease of 1 hour. They notice that applications are making excessive calls to renew leases, causing performance issues. The team wants to reduce the renewal frequency while maintaining security. What is the best approach?

A Vault administrator needs to manage leases for dynamic secrets. Which TWO of the following are valid operations related to lease management?

A developer is troubleshooting an application that uses Vault's PostgreSQL secrets engine. The application successfully obtains a database credential from Vault, but after 30 minutes, the application starts receiving authentication errors from the database. The developer checks the Vault audit logs and sees that the lease for the credential was revoked. The lease was originally created with a TTL of 1 hour. The application is not renewing the lease. The developer wants to fix the issue so that the credential works for the full 1 hour. What should the developer do?

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?

A security policy requires that all leases must be revoked within 1 hour of creation. Which setting should be configured on the secret engine mount?

Refer to the exhibit. An operator wants the credential to be valid for exactly 2 hours. What should they do?

Exhibit

Key                Value
---                -----
lease_id           database/creds/readonly/xyz789
lease_duration     30m
lease_renewable    true
password           ...
username           ...

Refer to the exhibit. A user with this policy can successfully read credentials but cannot renew the lease. What is the missing capability?

Exhibit

path "database/creds/readonly" {
  capabilities = ["read"]
}

Refer to the exhibit. What is the most likely cause of this error?

Exhibit

Error renewing lease: lease not found

A DevOps team uses Vault to generate temporary database credentials. They notice that some applications are failing because their database credentials expire unexpectedly before the expected TTL. The Vault admin configured the database role with a default TTL of 1h and max TTL of 24h. What is the most likely cause?

An admin wants to revoke all leases associated with a specific AWS IAM user created by Vault. Which command should they use?

An admin needs to check the remaining lifespan of a lease. Which command should they use?

An organization uses Vault with a database secrets engine. They have a role that issues credentials with a lease TTL of 30 minutes. After some time, they notice that the database is full of stale users. What is the most likely cause?

Which of the following commands would force a lease to expire immediately?

A company uses Vault to manage SSH OTP credentials. They set the role with default_ttl=5m and max_ttl=30m. Users report that they receive an error when trying to renew the OTP after 10 minutes. What is the most likely reason?

An admin wants to view all active leases for a specific secrets engine path. Which two approaches are valid? (Choose two.)

Which of the following factors determine the actual TTL of a lease issued by a secrets engine? (Choose three.)

An admin needs to revoke all leases associated with a particular policy violation. Which two methods can be used? (Choose two.)

Based on the exhibit, what is the maximum total lifespan of this lease?

Exhibit

Refer to the exhibit.

```
$ vault lease lookup database/creds/readonly/abc123
Key                 Value
---                 -----
id                  database/creds/readonly/abc123
issue_time          2023-10-05T14:30:00Z
renewable           true
ttl                 30m
max_ttl             1h
```

Free account

Track your progress over time

Create a free account to save your results and see which topics improve across sessions.

Focused Manage Vault leases sessions

Start a Manage Vault leases only practice session

Every question in these sessions is drawn from the Manage Vault leases domain — nothing else.

Related practice questions

Related VA-003 topic practice pages

Move into related areas when this topic feels solid.

Frequently asked questions

What does the VA-003 exam test about Manage Vault leases?
Be able to list, renew, and revoke leases with the vault lease CLI, explain why expired leases still appear, and adjust lease TTLs on secrets engines. The key skill is knowing what actually reduces active lease counts: revocation, not waiting for expiry.
How should I use these practice questions?
Select your answer before revealing the explanation. Then read why each option is right or wrong — this active recall approach builds retention far faster than re-reading notes.
Can I practise just Manage Vault leases questions in a focused session?
Yes — the session launcher on this page draws every question from the Manage Vault leases domain. Use a 10-question session first to gauge your baseline, then move to 20 or 30 once the weak spots are clear.
Where can I practise other VA-003 topics?
Use the topic links above to move to related areas, or go back to the VA-003 question bank to see all topics.
Are these real exam questions or dumps?
These are original practice questions written to test the same concepts the VA-003 exam covers. They are not copied from any real exam or dump site.