A company is building a serverless ETL pipeline using AWS Glue. The pipeline runs multiple jobs that need to connect to an on-premises database. To establish this connection, the Glue jobs require a database password that is subject to a strict regulatory policy requiring rotation every 60 days. The jobs also require the database port number, which is static and does not contain sensitive information. The solutions architect must design a secure, cost-effective solution with minimal operational overhead.
Which combination of actions should the solutions architect take to meet these requirements? (Select TWO.)
- Store the database password in AWS Secrets Manager and configure automatic rotation using an AWS Lambda function.Cevap
- Store the database port number in AWS Systems Manager Parameter Store as a String parameter.Cevap
- CStore the database password in AWS Systems Manager Parameter Store as a String parameter to avoid the monthly cost of AWS Secrets Manager.
- DEnable automatic rotation on the AWS KMS customer managed key (CMK) used for encryption to automatically rotate the database password every 60 days.
- EStore the database password in AWS Systems Manager Parameter Store as a SecureString parameter and enable the native Parameter Store automatic 60-day rotation feature.
Cevap
Store the database password in AWS Secrets Manager with AWS Lambda-based automatic rotation, and store the database port number in AWS Systems Manager Parameter Store as a String parameter.
To securely manage the database password with automatic 60-day rotation, AWS Secrets Manager is the optimal choice because it integrates with AWS Lambda to orchestrate credential rotation on databases. For the non-sensitive and static database port number, AWS Systems Manager Parameter Store as a standard String parameter is the most cost-effective solution because Parameter Store does not charge for standard parameters.
Adım Adım Çözüm
Anahtar Kavram
Selecting the appropriate AWS service for secrets versus parameters based on security, rotation requirements, and cost-effectiveness.