Security Engineering

A team rotates a shared database credential held in a secrets manager and wants no application outage. Which two practices support this? (Choose two.)

Choose 2 answers

Show the answer

Correct answersB. Applications fetch the secret from the vault at runtime instead of embedding itD. Automated rotation updates the database account and stored secret together

AWhy not this: Deleting the old version first leaves clients with no valid secret until they refetch, causing outages.

BWhy this is right: Fetching at runtime means applications obtain the current secret after each rotation without redeployment.

CWhy not this: A credential cached for the process lifetime goes stale at rotation and breaks authentication.

DWhy this is right: Changing the account and the stored secret in one automated step avoids a mismatch that causes failures.

Runtime retrieval lets applications pick up the new value, and automated rotation keeps the database and stored secret in sync. Caching at startup leaves running processes holding a stale credential after rotation.