VAULT-ASSOCIATE practice question 6 of 15

What can be used to limit the scope of a credential breach?

Full set: 57 questions
Answer options
A: Storage of secrets in a distributed ledger
B: Enable audit logging
C: Use of a short-lived dynamic secrets Correct answer
D: Sharing credentials between applications
Correct Answer:
C. Use of a short-lived dynamic secrets
Explanation

Dynamic 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.

Why Incorrect

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.

References

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).

Scroll to Top