AWS Certified Developer – Associate (DVA-C02) — Question 18

A developer is deploying a new application to Amazon Elastic Container Service (Amazon ECS). The developer needs to securely store and retrieve different types of variables. These variables include authentication information for a remote API, the URL for the API, and credentials. The authentication information and API URL must be available to all current and future deployed versions of the application across development, testing, and production environments.
How should the developer retrieve the variables with the FEWEST application changes?

Answer options

Correct answer: A

Explanation

Option A is correct because using AWS Systems Manager Parameter Store and AWS Secrets Manager allows for a seamless and secure way to manage variables across multiple environments with minimal changes. The other options either complicate the retrieval process or do not provide the same level of security and ease of access across development, testing, and production environments.