Security and Compliance

An application stores its Amazon RDS database credentials in AWS Secrets Manager. The credentials must change automatically every 30 days without manual database updates; what should the engineer configure?

Show the answer

Correct answerD. Automatic rotation of the secret

AWhy not this: Replication copies a secret to another Region; it does not change the database password.

BWhy not this: KMS key rotation changes encryption key material rather than database credentials.

CWhy not this: Replacing an IAM role does not change the database credentials stored in the secret.

DWhy this is right: Secret rotation coordinates changing the database credentials and updating their stored value.

Secrets Manager rotation updates the stored credentials and the corresponding database credentials. KMS key rotation changes encryption key material, not the database password.