Which AWS service allows you to run Docker apps across a cluster of EC2?

Boost your AWS Certified Solutions Architect Professional knowledge. Study with our powerful practice exams featuring flashcards and detailed explanations. Prepare thoroughly for your SAP-C02 certification with our comprehensive quiz!

Multiple Choice

Which AWS service allows you to run Docker apps across a cluster of EC2?

Explanation:
Running Docker containers on a cluster of EC2 instances is what Amazon Elastic Container Service provides. ECS creates and manages a cluster of EC2 instances and lets you deploy Docker images as tasks. You define a task definition that specifies the container image, CPU and memory requirements, networking, and other runtime settings. ECS then schedules those tasks across the EC2 cluster, handles placement and health checks, restarts, and scaling, and can integrate with load balancing for distributing traffic. If you want a serverless approach where you don’t manage the EC2 instances, you’d look at Fargate, but the scenario described—running Docker apps across a cluster of EC2—points to ECS as the relevant service. The other options involve Kubernetes on AWS (EKS), on-prem extension (Outposts), or serverless container runtimes, which don’t fit the “cluster of EC2” pattern as directly.

Running Docker containers on a cluster of EC2 instances is what Amazon Elastic Container Service provides. ECS creates and manages a cluster of EC2 instances and lets you deploy Docker images as tasks. You define a task definition that specifies the container image, CPU and memory requirements, networking, and other runtime settings. ECS then schedules those tasks across the EC2 cluster, handles placement and health checks, restarts, and scaling, and can integrate with load balancing for distributing traffic. If you want a serverless approach where you don’t manage the EC2 instances, you’d look at Fargate, but the scenario described—running Docker apps across a cluster of EC2—points to ECS as the relevant service. The other options involve Kubernetes on AWS (EKS), on-prem extension (Outposts), or serverless container runtimes, which don’t fit the “cluster of EC2” pattern as directly.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy