Data Security and Governance

A custom Secrets Manager rotation Lambda creates an AWSPENDING password for a database user, but its remaining rotation steps are unimplemented. What must those steps do before moving AWSCURRENT to the new version? (Choose two.)

Choose 2 answers

Show the answer

Correct answersA. Test database authentication with the pending credentials.D. Set the database user's password to the pending value.

AWhy this is right: Successful database authentication validates the replacement credentials before they become current.

BWhy not this: Rotation promotes the new version by moving staging labels, rather than copying its value into the current version.

CWhy not this: Retrieving the value does not verify that the password was applied to the database or works for authentication.

DWhy this is right: The database password must match the pending secret so the new credentials can authenticate.

The setSecret step applies the pending password to the database, and testSecret validates that the credentials work before finishSecret moves AWSCURRENT. Reading the pending secret proves retrieval works, not that the database accepts the password.