Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Question 26 of 28
Free Preview · 28 of 92 · questions 1–28 of 92 are free. Sign up free to sync your progress across devices.
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
The Vault Agent stores its token cache in memory only. This means: No sensitive data is written to disk. If the agent process restarts, the cache is cleared. It enhances security by reducing the chance of token leakage from storage.
Vault Agent stores its cache on disk rather than solely in memory. This design choice allows the cached tokens and lease information to persist across agent restarts. If the cache were only kept in memory (option D), any restart of the agent would result in losing that data, forcing a reauthentication. Storing the cache in an unencrypted file (by default) provides persistence and continuity, even though it means the data is stored in plaintext on disk unless additional measures are taken.
https://developer.hashicorp.com/vault/docs/agent-and-proxy/agent/caching#caching-and-renewals