DVA-C01-LATEST practice question 30 of 35

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 tor the application to initialize How should the environment variables be passed to the container?

Full set: 608 questions
Answer options
A: Define an array that includes the environment variables under the environment parameter within the service definition
B: Define an array that includes the environment variables under the environment parameter within the task definition Correct answer
C: Define an array that includes the environment variables under the entrypoint parameter within the task definition
D: Define in array that includes the environment variables under the entryPoint parameter within the service definition
Correct Answer:
B. Define an array that includes the environment variables under the environment parameter within the task definition
Explanation

:

Scroll to Top