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

A company runs a payment application on Amazon EC2 instances behind an Application Load Balance. The EC2 instances run in an Auto Scaling group across multiple Availability Zones. The application needs to retrieve application secrets during the application startup and export the secrets as environment variables. These secrets must be encrypted at rest and need to be rotated every month.

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

Answer options

Correct answer: D

Explanation

Option D is correct because AWS Secrets Manager is designed for managing secrets with built-in encryption and automatic rotation features, minimizing development effort. Options A and C involve more manual processes and aren't optimized for secret management, while Option B, though valid, requires additional setup for rotation and does not leverage the full capabilities of AWS Secrets Manager.