Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

HashiCorp HCVA0-003 Exam - Topic 1 Question 18 Discussion

Actual exam question for HashiCorp's HCVA0-003 exam
Question #: 18
Topic #: 1
[All HCVA0-003 Questions]

An application is trying to use a dynamic secret in which the lease has expired. What can be done in order for the application to successfully request data from Vault?

Show Suggested Answer Hide Answer
Suggested Answer: C

Comprehensive and Detailed in Depth

Once a dynamic secret's lease expires, it cannot be renewed or reused; a new secret must be requested. The HashiCorp Vault documentation states: 'A lease must be renewed before it has expired. Once it has expired, it is permanently revoked and a new secret must be requested.' This means that after expiration, the secret is invalidated, and the application must obtain a new secret with a new lease to regain access.

Trying an expired secret (A) is futile as it's revoked. Performing a lease renewal (B) is impossible post-expiration, as the docs note: 'Renewal must occur before the lease expires.' Extending the TTL (D) isn't an option for an expired lease. Thus, C is the correct action.


HashiCorp Vault Documentation - Leases: Lease Renew and Revoke

Contribute your Thoughts:

0/2000 characters
Robt
5 hours ago
I think we talked about lease renewals in class, so maybe option B is the right choice? But I'm not entirely sure if that's the only way.
upvoted 0 times
...

Save Cancel