AWS Certified Developer – Associate — Question 244

A company's developer is creating an AWS Lambda function that will read data from an Amazon RDS database. The company's security policies require the database credentials to be encrypted at rest by AWS Key Management Service (AWS KMS) keys. The database credentials must also be automatically rotated. The Lambda function needs to be able to read the database credentials securely.

Which solution will meet these requirements?

Answer options

Correct answer: A

Explanation

Option A is correct because AWS Secrets Manager is specifically designed for securely storing and managing secrets, including automatic rotation of credentials. The other options either do not support automatic rotation (B and D) or do not align with the best practices for storing sensitive information securely (C).