
Answer-first summary for fast verification
Answer: Integrate the application to fetch variables from AWS Systems Manager Parameter Store and AWS Secrets Manager, using distinct paths for each environment.
The correct answer is A. AWS Systems Manager Parameter Store and AWS Secrets Manager are designed to securely store and retrieve configuration data and sensitive information like API URLs and credentials. This solution ensures that variables are managed centrally, reducing the need for code changes across different environments. AWS KMS is primarily for encryption keys and not optimal for managing configuration data directly. Encrypting files and defining variables in ECS task definitions require more manual handling and are less ideal for dynamic environments.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
How can a developer securely manage and retrieve variables, including API authentication and URL, across multiple environments for an ECS-deployed application with minimal code changes?
A
Integrate the application to fetch variables from AWS Systems Manager Parameter Store and AWS Secrets Manager, using distinct paths for each environment.
B
Utilize AWS Key Management Service for storing API URL and credentials as unique keys per environment.
C
Implement variable retrieval from encrypted files co-located with the application, with environment-specific files for API URL and credentials.
D
Modify the application to access variables defined in the ECS task definition, with unique identifiers for authentication info and API URL across environments.
No comments yet.