Courseiva
Assess Vault tokenshardMultiple ChoiceObjective-mapped

VA-003 Assess Vault tokens Practice Question

An organization uses Vault's token auth method to issue tokens for long-running services. They want to ensure that tokens are automatically revoked after 30 days, even if the service repeatedly renews them. Which token role configuration achieves this?

⚠ Common exam trap

Many candidates confuse `ttl` (which resets on renewal) with `max_ttl` (which enforces an absolute lifetime), leading candidates to choose Option A, thinking a long TTL alone will expire the token after 30 days.

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

Set max_ttl to 720h on the token role

Setting `max_ttl` to 720h (30 days) on the token role enforces an absolute upper lifetime for the token, regardless of how many times it is renewed. This ensures the token is automatically revoked after 30 days, even if the service repeatedly renews it before the current TTL expires.

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 ttl to 720h without setting max_ttl

    Why it's wrong here

    Without max_ttl, the token can be renewed beyond the initial ttl.

  • Set explicit_max_ttl to 720h on the token role

    Why it's wrong here

    explicit_max_ttl is not a valid parameter; the correct attribute is max_ttl.

  • Set period to 720h without setting max_ttl

    Why it's wrong here

    Periodic tokens without max_ttl can be renewed indefinitely.

  • Set max_ttl to 720h on the token role

    Why this is correct

    max_ttl imposes a hard limit on the token's total lifetime, regardless of renewals.

About these practice questions

One of 498 original VA-003 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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.