SAP-C02 · Question #393
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…
The correct answer is D. Create an Amazon Elastic Container Service (Amazon ECS) cluster on AWS Fargate. Use the. Amazon Elastic Container Service (ECS) on AWS Fargate is a fully managed service that allows you to run containers without having to manage the underlying infrastructure. When you launch tasks on Fargate, resources are automatically allocated based on the number of tasks…
Question
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?
Options
- ACreate an Amazon Elastic Kubernetes Service (Amazon EKS) cluster on Amazon EC2. Use the
- BCreate an Amazon Elastic Kubernetes Service (Amazon EKS) cluster on AWS Fargate. Use the
- CCreate an Amazon Elastic Container Service (Amazon ECS) cluster on Amazon EC2. Use the
- DCreate an Amazon Elastic Container Service (Amazon ECS) cluster on AWS Fargate. Use the
How the community answered
(26 responses)- A4% (1)
- B19% (5)
- C8% (2)
- D69% (18)
Explanation
Amazon Elastic Container Service (ECS) on AWS Fargate is a fully managed service that allows you to run containers without having to manage the underlying infrastructure. When you launch tasks on Fargate, resources are automatically allocated based on the number of tasks running, which reduces the operational overhead. Using ECS on Fargate allows you to assign custom tags to tasks using the --tags option in the run-task command, as described in the documentation: https://docs.aws.amazon.com/cli/latest/reference/ecs/run-task.html You can also set enableECSManagedTags to true, which allows the service to automatically add the cluster name and service name as tags. https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement- constraints.html#tag-based-scheduling
Community Discussion
No community discussion yet for this question.