Hashicorp Certified Vault Associate 002 · Free Practice Question Medium
Question 13
When a lease is created, what actions can be performed by using only the lease ID? (choose two)
-
A
authenticate using the lease ID
-
B
revoke the lease
-
C
extend the max TTL for the lease
-
D
renew the lease
Reveal correct answers
Correct answers: B, D
Explanation
Using the lease ID, the lease can be renewed up until the maximum TTL, or it can be revoked. Lease IDs are similar to token accessors in Vault.
A. Authenticating using the lease ID is not a valid action that can be performed. The lease ID is specific to managing the lease itself and does not have any direct relationship to authentication processes.
B. Using the lease ID, it is possible to revoke the lease, which immediately invalidates the lease and any associated resources. This action effectively terminates the lease and releases any resources associated with it.
C. Extending the max TTL for the lease is not an action that can be performed directly using only the lease ID. This operation typically involves modifying the configuration or properties of the lease itself, which may require additional permissions or access beyond just the lease ID.
D. By using the lease ID, it is possible to renew the lease, which extends the lease duration without changing any other properties associated with it. This allows the lease to remain active for a longer period of time.
Discussion
Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.
