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?
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.
C . Define an array that includes the environment variables under the entryPoint parameter within the task definition.
D . Define an array that includes the environment variables under the entryPoint parameter within the service definition.
Answer: B
Leave a Reply