
Answer-first summary for fast verification
Answer: Create an Amazon Elastic Container Service (Amazon ECS) cluster on AWS Fargate. Use the AWS CLI run-task command and set enableECSManagedTags to true to launch the planning application. Use the --tags option to assign a custom tag to the task.
1. Explanation for answer D: The answer D suggests using Amazon Elastic Container Service (Amazon ECS) on AWS Fargate to run the route planning application. This solution meets the requirements and minimizes operational overhead for several reasons: - **Serverless and Managed:** AWS Fargate is a serverless compute engine for containers that eliminates the need to manage EC2 instances. This significantly reduces the operational overhead as AWS Fargate takes care of provisioning, configuring, and scaling the infrastructure required to run your containers. - **Resource Allocation:** AWS Fargate allows for precise resource allocation and billing based on the exact amount of vCPU and memory resources needed. This cost-effective approach ensures you're only paying for the resources that are used. - **Custom Tags:** Using the `run-task` command with `enableECSManagedTags` set to true allows for the application of custom tags directly to the tasks. This feature helps in organizing and managing the containers based on different sections or areas, aligning with the company’s needs to have different configurations for different sections. - **Reduced Complexity:** As opposed to setting up and maintaining an Amazon Elastic Kubernetes Service (EKS) cluster, ECS with Fargate is simpler to manage and deploy, further reducing the operational complexity and overhead. Overall, this solution provides a scalable, cost-effective, and low-maintenance approach to running the third-party route planning application on AWS, which is essential for maintaining efficiency and control over operating costs.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
A delivery company needs to migrate its third-party route planning application to AWS. The third party supplies a supported Docker image from a public registry. The image can run in as many containers as required to generate the route map. The company has divided the delivery area into sections with supply hubs so that delivery drivers travel the shortest distance possible from the hubs to the customers. To reduce the time necessary to generate route maps, each section uses its own set of Docker containers with a custom configuration that processes orders only in the section's area. The company needs the ability to allocate resources cost-effectively based on the number of running containers. Which solution will meet these requirements with the LEAST operational overhead?
A
Create an Amazon Elastic Kubernetes Service (Amazon EKS) cluster on Amazon EC2. Use the Amazon EKS CLI to launch the planning application in pods by using the --tags option to assign a custom tag to the pod.
B
Create an Amazon Elastic Kubernetes Service (Amazon EKS) cluster on AWS Fargate. Use the Amazon EKS CLI to launch the planning application. Use the AWS CLI tag-resource API call to assign a custom tag to the pod.
C
Create an Amazon Elastic Container Service (Amazon ECS) cluster on Amazon EC2. Use the AWS CLI with runtasks set to true to launch the planning application by using the --tags option to assign a custom tag to the task.
D
Create an Amazon Elastic Container Service (Amazon ECS) cluster on AWS Fargate. Use the AWS CLI run-task command and set enableECSManagedTags to true to launch the planning application. Use the --tags option to assign a custom tag to the task.