Data Protection

An application briefly caches database credentials, and new connections must succeed while its Secrets Manager secret rotates. The database supports cloned users, and a separate administrative secret is available. Which rotation strategy best accommodates clients still using the previously retrieved credentials?

Show the answer

Correct answerC. Alternating-users rotation using the administrative secret

AWhy not this: The standard alternating-users strategy requires elevated credentials to manage the alternate database user.

BWhy not this: More frequent retrieval reduces stale-cache time but does not preserve the old password during single-user rotation.

CWhy this is right: Alternating users preserves a usable credential during rotation and uses administrative credentials to manage the users.

DWhy not this: A longer interval reduces rotation frequency but does not remove the single-user password-change transition.

Alternating-users rotation updates one of two database users while the other remains usable, accommodating clients with recently cached credentials. Single-user rotation changes the same user's password and can cause failures before clients refresh.