
Answer-first summary for fast verification
Answer: Put the two containers into a single task definition using a Fargate Launch Type
Overall explanation Correct option: Put the two containers into a single task definition using a Fargate Launch Type Amazon Elastic Container Service (Amazon ECS) is a highly scalable, fast, container management service that makes it easy to run, stop, and manage Docker containers on a cluster. You can host your cluster on a serverless infrastructure that is managed by Amazon ECS by launching your services or tasks using the Fargate launch type. For more control over your infrastructure, you can host your tasks on a cluster of Amazon Elastic Compute Cloud (Amazon EC2) instances that you manage by using the EC2 launch type.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
The development team at an e-commerce company is looking to implement a serverless data storage solution using Docker containers. They plan to run this service on two Docker containers that need to share resources effectively.
Which of the following Amazon ECS (Elastic Container Service) configurations would be best suited to meet this operational requirement?
A
Put the two containers into a single task definition using a Fargate Launch Type
B
Put the two containers into two separate task definitions using an EC2 Launch Type
C
Put the two containers into a single task definition using an EC2 Launch Type
D
Put the two containers into two separate task definitions using a Fargate Launch Type
No comments yet.