VAULT-ASSOCIATE practice question 6 of 15
What can be used to limit the scope of a credential breach?
Full set: 57 questionsDynamic secrets are generated on-demand by Vault and are associated with a specific Time-To-Live (TTL). Once this lease period expires, Vault automatically revokes the credential, rendering it invalid. This practice significantly limits the scope of a potential breach because even if a credential is compromised, its usefulness to an attacker is restricted to its short lifespan. This minimizes the window of opportunity for malicious activity and reduces the overall risk associated with credential exposure.
A. Storage of secrets in a distributed ledger: A distributed ledger's primary purpose is decentralized and immutable record-keeping, not limiting the time-based scope of a credential breach.
B. Enable audit logging: Audit logging is a detective control used for forensics to understand what happened after a breach, not a preventative control to limit the breach's impact.
D. Sharing credentials between applications: This is a security anti-pattern that increases the scope of a breach, as a single compromised credential would grant access to multiple systems.
1. HashiCorp Vault Documentation, "Dynamic Secrets": "Additionally, Vault can automatically revoke these secrets after their lease is up, so even if a secret is stolen, it is only useful for a certain period of time. This is known as limiting the "window of vulnerability"." (Reference: Vault Documentation > Concepts > Dynamic Secrets).
2. HashiCorp Vault Documentation, "The Vault Way": "By creating secrets dynamically, the lifetime of the secret can be scoped to the lifetime of the task. Once the task is completed, the secret can be revoked. This reduces the surface area for an attack if the secret is ever compromised." (Reference: Vault Documentation > The Vault Way > Dynamic Secrets).
3. HashiCorp Learn, "Dynamic Secrets: Vault Getting Started": "The key benefit of dynamic secrets is that they don't exist until they are read, so there is no risk of someone stealing them. Once their lease expires, the secrets are automatically revoked." (Reference: HashiCorp Learn > Get Started - Vault > Dynamic Secrets).
Keep practicing
Take the free VAULT-ASSOCIATE practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other VAULT-ASSOCIATE practice questions
- Question 1To give a role the ability to display or output all of the end points under the /secrets/…
- Question 4Which of the following cannot define the maximum time-to-live (TTL) for a token?
- Question 8What is the Vault CLI command to query information about the token the client is currentl…
- Question 10When unsealing Vault, each Shamir unseal key should be entered:
- Question 11You have a 2GB Base64 binary large object (blob) that needs to be encrypted. Which of the…
- Question 12What command creates a secret with the key "my-password" and the value "53cr3t" at path "…
