Data Protection

An application stores a database password in AWS Secrets Manager. A security policy requires unattended password changes every 30 days in both the database and the secret. What should the administrator configure?

Show the answer

Correct answerC. Automatic rotation of the secret with a database rotation function

AWhy not this: Notifications can prompt action but do not perform unattended password changes.

BWhy not this: Copying the existing password into new versions does not change the database credential.

CWhy this is right: A database rotation function coordinates changing the database password and updating the secret.

DWhy not this: KMS key rotation changes encryption key material without changing the password stored in the secret.

Secrets Manager rotation can use a rotation function to update both the database password and the stored secret on a schedule. KMS key rotation changes encryption key material, not the database credential.