Hashicorp Certified Vault Associate 002 · Free Practice Question Easy
Question 5
How does the instant updates feature work when using the Vault Secrets Operator?
-
A
by constantly validating the current secret stored in Vault
-
B
by monitoring the Vault audit logs to watch for changes to the target path
-
C
by continuously launching an init container to check for updates
-
D
by subscribing to event notifications from Vault
Reveal correct answer
Correct answer: D
Explanation
Vault Secrets Operator (VSO) supports instant updates for VaultStaticSecrets by subscribing to event notifications from Vault.
https://developer.hashicorp.com/vault/docs/v1.16.x/platform/k8s/vso/sources/vault/instant-updates
A.
Constantly validating the current secret stored in Vault is not how the instant updates feature works when using the Vault Secrets Operator. While it is important to validate secrets, this approach does not provide the real-time updates and automatic synchronization that subscribing to event notifications from Vault offers.
B.
Monitoring the Vault audit logs to watch for changes to the target path is not how the instant updates feature works when using the Vault Secrets Operator. While audit logs are important for tracking and monitoring access to secrets, they are not used for real-time synchronization and updates between Vault and the application.
C.
The instant updates feature does not work by continuously launching an init container to check for updates. This method would be resource-intensive and inefficient as it would involve repeatedly spinning up containers to monitor for changes instead of relying on event notifications from Vault.
D.
The instant updates feature works by subscribing to event notifications from Vault. This allows the Vault Secrets Operator to receive real-time updates and changes to secrets, ensuring that the application always has access to the latest secret values without the need for manual intervention.
Discussion
Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.
