A solutions architect is designing a configuration management strategy for a containerized application. The application requires access to two types of data: database credentials for an Amazon Aurora MySQL database, which must be rotated automatically every 30 days, and external API endpoints that must be encrypted at rest but do not change. To minimize monthly costs and administrative effort, which combination of actions should the solutions architect take? (Select TWO.)
- Store the database credentials in AWS Secrets Manager and configure automatic rotation using the built-in AWS Lambda function template.Cevap
- Store the external API endpoints as SecureString parameters in AWS Systems Manager Parameter Store.Cevap
- CStore the database credentials in AWS Systems Manager Parameter Store as String parameters to reduce AWS KMS decryption latency.
- DStore the database credentials as SecureString parameters in AWS Systems Manager Parameter Store and enable AWS KMS automatic key rotation to automatically rotate the database password.
- EStore the external API endpoints as String parameters in AWS Systems Manager Parameter Store to avoid the complexity of managing KMS keys.
Cevap
Store the database credentials in AWS Secrets Manager with automatic rotation using the built-in Lambda template, and store the external API endpoints as SecureString parameters in AWS Systems Manager Parameter Store.
The correct solution involves storing the database credentials in AWS Secrets Manager with automatic rotation enabled using the built-in Lambda function template, and storing the static API endpoints as SecureString parameters in AWS Systems Manager Parameter Store. Secrets Manager provides native, out-of-the-box automatic rotation for RDS and Aurora databases, which eliminates the need to build and maintain custom rotation code. For the static API endpoints, Parameter Store SecureString parameters provide encryption at rest via AWS KMS at no additional cost for standard parameters, representing the most cost-efficient option since Secrets Manager incurs a monthly cost per secret.
Adım Adım Çözüm
Anahtar Kavram
Secrets and Parameter Management