New Year Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

Amazon Web Services AWS Certified Developer - Associate DVA-C02 Question # 19 Topic 2 Discussion

Amazon Web Services AWS Certified Developer - Associate DVA-C02 Question # 19 Topic 2 Discussion

DVA-C02 Exam Topic 2 Question 19 Discussion:
Question #: 19
Topic #: 2

A developer is migrating a containerized application from an on-premises environment to an Amazon ECS cluster.

In the on-premises environment, the container uses a Docker file to store the application. Service dependency configurations such as databases, caches, and storage volumes are stored in a docker-compose.yml file.

Both files are located at the top level of the code base that the developer needs to containerize. When the developer deploys the code to Amazon ECS, the instructions from the Docker file are carried out. However, none of the configurations from docker-compose.yml are applied.

The developer needs to resolve the error and ensure the configurations are applied.


A.

Store the file path for the docker-compose.yml file as a Docker label. Add the label to the ECS cluster's container details.


B.

Add the details from the docker-compose.yml file to an ECS task definition. Associate the task with the ECS cluster.


C.

Create a namespace in the ECS cluster. Associate the docker-compose.yml file to the namespace.


D.

Update the service type of the ECS cluster to REPLICA, and redeploy the stack.


Get Premium DVA-C02 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.