Questions 37 to 39

Explanations for questions 37 to 39

We'll cover the following

Question 37

The development team in your company has created a new application, which runs multiple components in Docker containers. You plan to deploy this app on AWS. You would prefer to use AWS managed infrastructure for running the containers as you do not want to manage EC2 instances.

Which of the solutions given below would deliver these requirements? (Select TWO)

  1. Use the Elastic Container Service (ECS) with the Fargate Launch Type.
  2. Put your container images in a private repository.
  3. Use the Elastic Container Service (ECS) with the EC2 Launch Type.
  4. Use CloudFront to deploy Docker on EC2
  5. Put your container images in the Elastic Container Registry (ECR).

Correct Answer: 1, 5

Explanation: If you do not want to manage EC2 instances, you must use the AWS Fargate launch type, which is a serverless infrastructure managed by AWS. Fargate only supports container images hosted on Elastic Container Registry (ECR) or Docker Hub.

The following image articulates the key differences between EC2 Launch Type and Fargate:

Level up your interview prep. Join Educative to access 70+ hands-on prep courses.