A company is deploying a microservices-based application on Amazon Elastic Container Service (Amazon ECS). The application requires access to two types of data: database credentials for an Amazon RDS database that must be rotated automatically every 14 days, and a non-sensitive configuration setting indicating the application's logging level. The developer wants to implement a secure solution that minimizes both management overhead and overall cost. Which of the following actions should the developer take to meet these requirements? (Select TWO.)
- Store the database credentials in AWS Secrets Manager and configure automatic rotation using the built-in integration for Amazon RDS.Cevap
- Store the logging level configuration in Systems Manager Parameter Store as a Standard parameter to optimize costs.Cevap
- CStore both the database credentials and the logging level configuration in AWS Secrets Manager to centralize management and leverage automatic rotation for all settings.
- DStore the database credentials in a Systems Manager Parameter Store SecureString parameter and write a custom Lambda function triggered by Amazon EventBridge to rotate the RDS password.
- EHardcode the database credentials within the Dockerfile environment variables and store the logging level configuration in Systems Manager Parameter Store.
Cevap
Store the database credentials in AWS Secrets Manager and configure automatic rotation using the built-in integration for Amazon RDS, and store the logging level configuration in Systems Manager Parameter Store as a Standard parameter to optimize costs.
The correct options involve storing the database credentials in AWS Secrets Manager and the logging level in Systems Manager Parameter Store. AWS Secrets Manager natively integrates with Amazon RDS to provide automatic credential rotation without manual overhead, which satisfies the 14-day rotation requirement. Systems Manager Parameter Store Standard parameters are free of charge, making them the most cost-effective choice for storing non-sensitive configuration settings like application logging levels.
Adım Adım Çözüm
Anahtar Kavram
Choosing between AWS Secrets Manager and Systems Manager Parameter Store based on rotation capabilities and cost optimization.
Tahmini Süre:1m 30s