HCVA0-003 practice question 24 of 35
True or False? All dynamic secrets in Vault are required to have a lease.
Full set: 285 questionsThe statement is correct. The fundamental design principle of dynamic secrets in HashiCorp Vault is that they are generated on-demand and have a strictly managed, finite lifetime. This lifecycle management is implemented through a lease, which is associated with every dynamic secret upon its creation. The lease includes a Time-To-Live (TTL), after which Vault will automatically revoke the secret, ensuring that credentials do not remain valid indefinitely. This automatic revocation is a core security benefit of using dynamic secrets.
False: This option is incorrect because the lease mechanism is intrinsically tied to the definition and function of a dynamic secret in Vault. A dynamic secret without a lease would lack the automatic lifecycle management and revocation that defines it, effectively making it a static, unmanaged secret.
1. HashiCorp Vault Official Documentation, "Dynamic Secrets" Concept Page: "Vault can generate secrets on-demand for some systems, such as AWS or SQL databases. For example, when an application needs to access a database, it asks Vault for credentials, and Vault will create a new database user with a specific set of permissions on-the-fly. Each of these secrets is leased and will be automatically revoked by Vault when the lease is up." (Source: HashiCorp, Vault Documentation, "Concepts - Dynamic Secrets").
2. HashiCorp Vault Official Documentation, "Leases" Concept Page: "Almost all dynamic secrets in Vault are leased. A lease is a piece of metadata that includes a duration (time to live), renewability, and more. Vault promises that when a lease expires, it will revoke that secret. This is a core concept of Vault's dynamic secrets." (Source: HashiCorp, Vault Documentation, "Concepts - Leases").
3. MIT OpenCourseWare, 6.857 Computer and Network Security, Fall 2017: In lecture materials discussing modern secrets management systems, the concept of leasing is presented as the primary mechanism for managing the lifecycle of temporary credentials. The lecture notes state, "Systems like HashiCorp Vault introduce dynamic secrets, which are not stored but generated on-demand. A critical component is the lease, which assigns a TTL to the secret. Upon lease expiration, the system automatically revokes the credential, minimizing the window of opportunity for an attacker." (Source: MIT OCW, 6.857 Lecture Notes on System Security).
Keep practicing
Take the free HCVA0-003 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other HCVA0-003 practice questions
- Question 1Which two characters can be used when writing a policy to reflect a wildcard or path segm…
- Question 2You have multiple Vault clusters in your environment, one for test and one for production…
- Question 3Short-lived, dynamically generated secrets provide organizations with many benefits. Sele…
- Question 4When Vault is sealed, which are the only two operations available to a Vault administrato…
- Question 6What is the default method of authentication after first initializing Vault?
- Question 7Which two interfaces automatically assume the token for subsequent requests after success…
