AWS Certified SysOps Administrator – Associate — Question 265

A manufacturing company uses an Amazon RDS DB instance to store inventory of all stock items. The company maintains several AWS Lambda functions that interact with the database to add, update, and delete items. The Lambda functions use hardcoded credentials to connect to the database.

A SysOps administrator must ensure that the database credentials are never stored in plaintext and that the password is rotated every 30 days.

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

Answer options

Correct answer: C

Explanation

AWS Secrets Manager natively supports automated rotation for Amazon RDS databases with built-in templates, making it the most operationally efficient solution. Options A, B, and D require writing, maintaining, and scheduling custom rotation code, which introduces unnecessary operational overhead. Additionally, storing credentials in plaintext environment variables is insecure and fails to meet the security requirements.