AmazonAmazon
DVA-C02 · Question #201
DVA-C02 Question #201: Real Exam Question with Answer & Explanation
The correct answer is B: Define an array that includes the environment variables under the environment parameter within. https://docs.aws.amazon.com/AmazonECS/latest/userguide/task_definition_parameters.html#con tainer_definitions
Submitted by ngozi_ng· Mar 5, 2026Deployment
Question
A developer needs to deploy an application running on AWS Fargate using Amazon ECS. The application has environment variables that must be passed to a container for the application to initialize. How should the environment variables be passed to the container?
Options
- ADefine an array that includes the environment variables under the environment parameter within
- BDefine an array that includes the environment variables under the environment parameter within
- CDefine an array that includes the environment variables under the entryPoint parameter within the
- DDefine an array that includes the environment variables under the entryPoint parameter within the
Explanation
https://docs.aws.amazon.com/AmazonECS/latest/userguide/task_definition_parameters.html#con tainer_definitions
Community Discussion
No community discussion yet for this question.