AWS Certified Solutions Architect – Professional (SAP-C02) — Question 21

A security engineer determined that an existing application retrieves credentials to an Amazon RDS for MySQL database from an encrypted file in Amazon S3. For the next version of the application, the security engineer wants to implement the following application design changes to improve security:
The database must use strong, randomly generated passwords stored in a secure AWS managed service.
The application resources must be deployed through AWS CloudFormation.
The application must rotate credentials for the database every 90 days.
A solutions architect will generate a CloudFormation template to deploy the application.
Which resources specified in the CloudFormation template will meet the security engineer’s requirements with the LEAST amount of operational overhead?

Answer options

Correct answer: A

Explanation

Option A is the correct answer because AWS Secrets Manager is specifically designed for managing and rotating secrets with minimal operational overhead, and it includes built-in support for password rotation. Options B and D involve AWS Systems Manager Parameter Store, which lacks the automated rotation capabilities that Secrets Manager provides. Option C, while using Secrets Manager, introduces unnecessary complexity with EventBridge instead of leveraging the built-in rotation functionality of Secrets Manager.