A Secrets Manager rotation function updates a database password, but its testSecret step fails before finishSecret runs. Which actions preserve the rotation workflow's validation safeguard? (Choose two.)
Choose 2 answers
Show the answer
Correct answersD. Correct the validation failure and retry rotation before promoting the pending version.E. Keep AWSCURRENT on the existing version until the pending credentials pass validation.
AWhy not this: Application failures after promotion are not a substitute for the rotation function's validation.
BWhy not this: Promoting untested credentials bypasses the validation safeguard.
CWhy not this: Updating the database password does not replace testing authentication and required access.
DWhy this is right: Resolving the failure and retrying allows validation to succeed before promotion.
EWhy this is right: AWSCURRENT should not move to the pending version until validation succeeds.
The pending credentials must pass testSecret before finishSecret promotes them to AWSCURRENT. Correct the failure and retry the workflow; successful setSecret only establishes the database password and does not establish that the credentials work as required.