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

A data visualization company wants to strengthen the security of its core applications. The applications are deployed on AWS across its development, staging, pre-production, and production environments. The company needs to encrypt all of its stored sensitive credentials. The sensitive credentials need to be automatically rotated. A version of the sensitive credentials need to be stored for each environment.

Which solution will meet these requirements in the MOST operationally efficient way?

Answer options

Correct answer: D

Explanation

AWS Secrets Manager natively supports both automatic rotation and encryption of sensitive data, making it the most operationally efficient choice. Creating a distinct secret for each environment (Option D) is correct because Secrets Manager versions (Option A) are designed for managing rotation history (like current and previous values) rather than segregating different environments. AWS Systems Manager Parameter Store (Option B) does not support automatic rotation natively, and hardcoding environment variables in application code (Option C) is highly insecure and does not support rotation.