nerdexam
Amazon

DVA-C02 · Question #201

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…

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

How the community answered

(54 responses)
  • A
    2% (1)
  • B
    93% (50)
  • C
    4% (2)
  • D
    2% (1)

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.

Full DVA-C02 Practice