A developer is designing a serverless payment processing application running on AWS Lambda. The application must retrieve the following credentials and configuration settings securely:
1. A third-party API key that is manually rotated every 90 days and must be securely accessed by Lambda functions running in different AWS accounts.
2. A database credential for an Amazon RDS PostgreSQL database that requires automatic rotation every 30 days without causing application downtime.
3. Non-sensitive application configuration parameters (such as timeout limits and connection pool sizes) that must be stored hierarchically and retrieved at minimal cost.
Which of the following configuration options should the developer select to meet these requirements? (Select TWO).
- Store the RDS database credentials and the third-party API key in AWS Secrets Manager, attaching a resource-based policy to the API key secret to grant read access to the Lambda functions in the other AWS accounts.Cevap
- Store the non-sensitive configuration parameters as Standard parameters in AWS Systems Manager Parameter Store using hierarchical paths.Cevap
- CStore the third-party API key in AWS Systems Manager Parameter Store as a SecureString parameter, and configure a resource-based policy on the parameter to allow the other AWS accounts to retrieve it.
- DStore the database credentials in AWS Systems Manager Parameter Store, and configure an Amazon EventBridge rule that triggers an AWS Lambda function to rotate the credentials in RDS and update the parameter value.
- EHardcode the third-party API key directly in the Lambda function's source code to avoid API retrieval latency, and use the default credential provider chain to authenticate the database client.