A company is deploying an application that requires access to a database password. The company's security policy mandates that this database password must be encrypted at rest and automatically rotated every 30 days. Which combination of steps should a solutions architect take to meet these requirements? (Select TWO.)
- Store the database password in AWS Secrets Manager.Answer
- Enable automatic rotation in AWS Secrets Manager and configure an AWS Lambda function to update the database credentials.Answer
- CStore the database password as a String parameter in AWS Systems Manager Parameter Store.
- DStore the database password as a SecureString parameter in AWS Systems Manager Parameter Store and configure Parameter Store automatic rotation.
- EStore the database password in AWS Secrets Manager and rely on AWS KMS automatic key rotation to update the database password value.
Answer
The database password must be stored in AWS Secrets Manager, with automatic rotation enabled using an AWS Lambda function.
AWS Secrets Manager provides built-in encryption at rest and integrates with AWS Lambda to automatically rotate database credentials on a schedule.
Step-by-Step Solution
Key Concept
Credential Storage and Automated Rotation in AWS