Automate Database Credential Rotation with AWS Secrets Manager
Short answer
A Use AWS Secrets Manager to create a secret associated with the Aurora cluster, encrypted with KMS, and configure a custom 14-day rotation period.
Question
Key Takeaways
The question tests knowledge of managed credential services versus custom implementations; the trap is choosing manual rotation methods that require significant code maintenance.
This page explains how to securely manage and rotate Amazon Aurora MySQL credentials using AWS Secrets Manager to meet strict security mandates with minimal operational overhead.
Common mistake: Candidates often select options involving Systems Manager Parameter Store or S3/EFS because they are familiar storage mechanisms, failing to recognize that these require building and maintaining custom Lambda functions for rotation logic.
Expert Analysis
Why the Answer Is Correct
AWS Secrets Manager is the native service designed specifically for storing secrets like database credentials. It provides built-in integration with Amazon Aurora, allowing you to associate a secret directly with the DB cluster. The key feature here is the ability to configure a custom rotation schedule (every 14 days) without writing the underlying rotation logic from scratch, as AWS provides pre-built Lambda functions for major databases like Aurora. This satisfies the requirement for encryption (via KMS) and automated rotation with the least operational effort.
Why the Other Options Are Wrong
Option B involves Systems Manager Parameter Store. While it supports SecureString and KMS encryption, it does not have built-in automatic rotation capabilities for database credentials; you would need to write and maintain a custom Lambda function to handle the rotation logic, increasing operational effort. Options C and D suggest storing credentials in files on EFS or S3. These are static storage solutions that do not integrate with database authentication systems natively. Implementing rotation here requires complex custom scripts to update the file and ensure application reloads, which is error-prone and high-effort compared to Secrets Manager.
Community Comment Notes
Community consensus strongly favors Option A, citing the direct association between Secrets Manager and Aurora clusters. Users note that while Parameter Store is good for configuration data, Secrets Manager is the specialized tool for secrets requiring rotation. Comments emphasize that 'manual implementation' in other options contradicts the 'least operational effort' constraint.
Official Reference
https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotate-secrets.html
This link opens the official vendor documentation in a new tab.
Exam Strategy
When asked for 'least operational effort' regarding credentials, always look for AWS Secrets Manager first. If the question involves parameters/config, look for Systems Manager Parameter Store. Never choose file-based storage (S3/EFS) for active database credentials unless absolutely necessary.
Frequently Asked Questions
Why not use Systems Manager Parameter Store for password rotation?
Can I rotate Aurora credentials manually without Secrets Manager?
Community Votes
100% of anonymous learners picked answer A. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 3 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 3
-
viejito 👍 2respuesta correcta A . Credenciales , rotación automática =AWS Secrets Manager .
-
LeonSauveterre 👍 1 Answered AA - AWS KMS + Secrets Manager support custom rotation intervals, such as 14 days, with built-in integration for Aurora DB clusters. B, C, D - Manual implementation of rotation? This is really hard.
-
aragon_saa 👍 2 Answered AAnswer is A
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All SAA-C03 Questions
Access 120 questions with complete answers and detailed explanations.
View Full SAA-C03 Practice Test →