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 3 Question 25 Discussion

When generating a dynamic secret, what value is returned that a user can use to renew or revoke the lease?
D) lease_id
A) renewable
B) token_ttl
C) lease_max

HashiCorp HCVA0-003 Exam - Topic 3 Question 25 Discussion

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

When generating a dynamic secret, what value is returned that a user can use to renew or revoke the lease?

Show Suggested Answer Hide Answer
Suggested Answer: D

Comprehensive and Detailed in Depth Explanatio n:

When Vault generates a dynamic secret, it returns a lease_id, which is the value a user can use to renew or revoke the lease. The HashiCorp Vault documentation states: 'When creating a dynamic secret, Vault always returns a lease_id. This lease_id can be used to do a vault lease renew or a vault lease revoke command to manage the lease of a secret.' The lease_id uniquely identifies the lease associated with the dynamic secret, enabling precise management of its lifecycle.

The documentation under the 'Lease Renew and Revoke' section explains: 'Every secret in Vault is associated with a lease. When that lease expires, Vault revokes the secret and removes access to it. Associated with every lease is a unique lease_id. This identifier can be used to renew the lease before it expires or revoke it manually.' In contrast, renewable is a boolean indicating if the lease can be renewed, not a value for management. token_ttl relates to token duration, not lease management. lease_max is not a standard term in Vault's lease system. Thus, D (lease_id) is the correct answer.


HashiCorp Vault Documentation - Leases: Lease Renew and Revoke

Contribute your Thoughts:

0/2000 characters
Casie
4 days ago
I think the answer might be lease_id, but I'm not completely sure. It seems to fit with what we discussed in class.
upvoted 0 times
...

Save Cancel