Question 120
An application team removes embedded database passwords from microservices. The team confirms that a deployment requires nonsecret environment settings without the cost of secret rotation. Which next design step is best?
Explanation
Correct Answer
The scenario identifies this requirement: A deployment requires nonsecret environment settings without the cost of secret rotation. Select Store configuration using Systems Manager Parameter Store with appropriate parameter type as the specified technical mechanism. Parameter Store suits configuration values and controlled retrieval. This response addresses the problem described rather than a different design goal.
Incorrect Answers
The option Configure a supported Secrets Manager rotation workflow for the database secret addresses a separate condition: an application needs scheduled automatic secret rotation with RDS integration. Secret rotation manages credential lifecycle without application code edits. The actual requirement is a deployment requires nonsecret environment settings without the cost of secret rotation. Recommended corrective action: Store configuration using Systems Manager Parameter Store with appropriate parameter type. Parameter Store suits configuration values and controlled retrieval.
Allow the precise secretsmanager:GetSecretValue action on the secret ARN to its execution role would help if a Lambda function needs to fetch the secret but receives AccessDenied. Lambda's execution identity authorizes secret retrieval. That is not the symptom described here: a deployment requires nonsecret environment settings without the cost of secret rotation. The matching response is Store configuration using Systems Manager Parameter Store with appropriate parameter type, because parameter Store suits configuration values and controlled retrieval.
For the alternative failure application code stores an RDS database password in a Git repository, the control Move the password into AWS Secrets Manager and rotate the compromised credential is relevant: secrets Manager decouples sensitive values from source code. Here the evidence instead is a deployment requires nonsecret environment settings without the cost of secret rotation. The selected technical mechanism is Store configuration using Systems Manager Parameter Store with appropriate parameter type: parameter Store suits configuration values and controlled retrieval.