Security, Compliance, and Governance

An application stores its Amazon RDS database password in an encrypted configuration file. Security requires automatic password rotation and retrieval without deploying a new application version. Which solution best meets these requirements?

Show the answer

Correct answerA. Store the password in AWS Secrets Manager, configure RDS rotation, and retrieve it at runtime.

AWhy this is right: Secrets Manager supports RDS credential rotation and lets applications retrieve current credentials without redeployment.

BWhy not this: A KMS alias identifies a KMS key; it is not a storage location for an application password.

CWhy not this: S3 versioning preserves file versions but does not rotate credentials in the database.

DWhy not this: SecureString provides encrypted storage, but it does not itself update and rotate the database password.

AWS Secrets Manager supports automatic rotation of supported RDS credentials and runtime retrieval. A Parameter Store SecureString encrypts a value but does not itself rotate the database password.