A multi-tier web application uses an Amazon Aurora MySQL DB cluster for storage and EC2 instances for the application tier. IT security requires that database credentials be encrypted and rotated every 14 days. What should a solutions architect do to meet this requirement with the LEAST operational effort?
Choose an answer
Tap an option to check your answer.
Correct answer: Create a new AWS Key Management Service (AWS KMS) encryption key. Use AWS Secrets Manager to create a new secret that uses the KMS key with the appropriate credentials. Associate the secret with the Aurora DB cluster. Configure a custom rotation period of 14 days..
Why this is the answer
The correct option leverages AWS Secrets Manager, which is specifically designed for securely storing, managing, and rotating database credentials and other secrets. It natively integrates with Aurora MySQL, allowing direct association and automated rotation using a custom schedule (like 14 days) with minimal operational overhead. Secrets Manager handles the encryption using KMS and the rotation logic automatically.
Incorrect options:
Using Systems Manager Parameter Store with a Lambda function for rotation requires custom development and maintenance for the rotation logic, increasing operational effort compared to Secrets Manager's built-in functionality.
Storing credentials in EFS or S3 with a custom Lambda for rotation introduces more complexity, requires managing file access, and lacks the direct, automated integration and rotation capabilities that Secrets Manager offers for database credentials. These methods are also less secure and auditable for secret management.
A company hosts a multi-tier web application that uses an Amazon Aurora MySQL DB cluster for storage. The application tier is hosted on Amazon EC2 instances. The company's IT security guidelines mandate that the database credentials be encrypted and rotated every 14 days. What should a solutions architect do to meet this requirement with the LEAST operational effort?
All-in-one access
One subscription. Every exam.
Every plan unlocks unlimited answer search, practice tests, AI explanations, and the full resource library — in 20+ languages.