Courseiva
Manage Vault leases →easyMultiple Choice

VA-003 Manage Vault leases Practice Question

What command is used to view the remaining time on a lease?

⚠ Common exam trap

HashiCorp often tests the distinction between `vault lease lookup` and `vault read`, where candidates mistakenly think `vault read` can inspect lease details because it is used to read secrets, but lease metadata requires a dedicated lease API command.

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

✓

vault lease lookup <lease_id>

The correct command to view the remaining time on a lease is `vault lease lookup <lease_id>`. This command retrieves the lease metadata, including the issue time, duration (TTL), and remaining time, directly from the Vault server. It is the standard method for inspecting lease details without extending or modifying the lease.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✓

    vault lease lookup <lease_id>

    Why this is correct

    The vault lease lookup command retrieves a lease's metadata, including its expiry time and remaining TTL, given the lease ID. This directly answers the requirement to view how much time remains before the lease expires.

  • ✗

    vault lease info <lease_id>

    Why it's wrong here

    Vault has no lease info subcommand; lease inspection is performed through vault lease lookup, which returns TTL and renewal details. The syntax looks plausible because other Vault commands use descriptive subcommands, but it would only be right if such a command existed for querying lease metadata.

  • ✗

    vault status <lease_id>

    Why it's wrong here

    vault status reports seal state, HA mode and cluster information for the Vault server, not lease details. It is tempting because it is the general status command, but lease inspection requires vault lease lookup, which returns the TTL and expiry for a given lease ID.

  • ✗

    vault read <lease_id>

    Why it's wrong here

    Reading a lease ID returns the secret's data and metadata, not its remaining TTL, so it cannot answer the question. It is tempting because vault read is the standard command for inspecting a lease's associated secret, and would be correct when retrieving the credential itself rather than its expiry.

About these practice questions

This VA-003 question is part of Courseiva's 366-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam 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.