AWS Certified Developer – Associate (DVA-C02) — Question 97

A company must deploy all its Amazon RDS DB instances by using AWS CloudFormation templates as part of AWS CodePipeline continuous integration and continuous delivery (CI/CD) automation. The primary password for the DB instance must be automatically generated as part of the deployment process.

Which solution will meet these requirements with the LEAST development effort?

Answer options

Correct answer: D

Explanation

Option D is correct because it directly leverages AWS Secrets Manager to generate and securely store the password, which simplifies the process without requiring additional Lambda code or custom resources. The other options involve more complexity, such as writing Lambda functions or using CLI commands, which do not align with the requirement for the least development effort.