AWS Certified Database – Specialty — Question 185

A company is creating a serverless application that uses multiple AWS services and stores data on an Amazon RDS DB instance. The database credentials must be stored securely. An AWS Lambda function must be able to access the credentials. The company also must rotate the database password monthly by using an automated solution.

What should a database specialist do to meet those requirements in the MOST secure manner?

Answer options

Correct answer: C

Explanation

The correct answer is C because AWS Secrets Manager is specifically designed for securely storing and managing secrets, including automatic rotation of database credentials. Option A lacks the dedicated secret management and rotation capabilities of Secrets Manager. Option B is less secure due to storing credentials in S3, which is not ideal for sensitive information. Option D involves unnecessary complexity with DynamoDB and does not leverage a purpose-built solution for secret management.