
AWS Certified Developer - Associate
Get started today
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?
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?
Explanation:
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.