Question 492 of 988
CLF-C02 Cloud Technology and Services Practice Question
A company is developing a microservices application using Docker containers. The development team wants to deploy and run these containers on AWS without having to provision or manage any underlying EC2 instances. Additionally, the team does not want to manage the container orchestration control plane. They need a fully serverless compute engine for containers that automatically scales based on demand. Which AWS compute option should the team use?
⚠ Common exam trap
Many candidates confuse AWS Lambda's container image support with a full container orchestration solution, but Lambda is not designed for long-running or stateful container workloads and lacks the orchestration features of ECS or EKS.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Amazon ECS with the AWS Fargate launch type
Amazon ECS with the AWS Fargate launch type is the correct choice because it provides a fully serverless compute engine for containers. Fargate eliminates the need to provision or manage EC2 instances and removes the burden of managing the container orchestration control plane, as AWS handles both the underlying infrastructure and the orchestration layer. It automatically scales container instances based on demand, meeting the team's requirement for a serverless, auto-scaling container solution.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Amazon EC2 instances with Docker installed
Why it's wrong here
This option requires you to manually provision, patch, and manage the EC2 instances, as well as configure Docker and handle scaling. It does not provide a serverless experience and involves significant operational overhead, which contradicts the requirement of not managing underlying instances.
When this WOULD be correct
This option would be correct if the question required full control over the underlying infrastructure, such as for compliance or performance tuning, and the team was willing to manage EC2 instances and the Docker orchestration themselves.
- ✗
AWS Lambda
Why it's wrong here
AWS Lambda is a serverless compute service for running code in response to events, but it is designed for functions, not for running Docker containers directly. While Lambda can package code as containers, it does not support long-running microservices or full container orchestration features like networking and service discovery. It is not the right choice for deploying general containerized microservices.
When this WOULD be correct
A company needs to run a stateless, event-driven function triggered by S3 uploads or API Gateway requests, with execution time under 15 minutes, and wants to avoid managing any servers or containers.
- ✓
Amazon ECS with the AWS Fargate launch type
Why this is correct
AWS Fargate is a serverless compute engine for containers that works with Amazon ECS and Amazon EKS. With Fargate, you do not need to provision or manage EC2 instances; you specify the CPU and memory requirements, and Fargate automatically runs and scales the containers. This fully meets the requirement of a serverless container compute service with no cluster management.
- ✗
Amazon EKS with managed node groups
Why it's wrong here
Amazon EKS with managed node groups reduces the operational burden of managing EC2 instances because AWS handles patching and scaling of the worker nodes. However, you are still responsible for the EC2 instances themselves (they appear in your account), and you are billed for the underlying instances. It is not fully serverless and still involves managing the node group infrastructure.
When this WOULD be correct
This option would be correct if the team needs to run containerized applications on Kubernetes and wants AWS to manage the Kubernetes control plane and worker node scaling, but is willing to manage the EC2 instances (or use managed node groups to reduce some management overhead). For example, if the question specified 'need to use Kubernetes' and 'want to reduce but not eliminate EC2 management'.
Option-by-option analysis
Why each answer is right or wrong
Understanding why wrong answers are wrong — and when they would be correct — is what separates a 750 score from a 900. The CLF-C02 exam frequently reuses these exact scenarios with slightly different constraints.
✓Amazon ECS with the AWS Fargate launch typeCorrect answer▾
Why this is correct
AWS Fargate is a serverless compute engine for containers that works with Amazon ECS and Amazon EKS. With Fargate, you do not need to provision or manage EC2 instances; you specify the CPU and memory requirements, and Fargate automatically runs and scales the containers. This fully meets the requirement of a serverless container compute service with no cluster management.
✗Amazon EC2 instances with Docker installedWrong answer — click to see why▾
Why this is wrong here
Amazon EC2 instances with Docker installed require provisioning and managing underlying EC2 instances, which contradicts the requirement for a fully serverless compute engine that does not involve managing EC2 instances or the container orchestration control plane.
★ When this WOULD be the correct answer
This option would be correct if the question required full control over the underlying infrastructure, such as for compliance or performance tuning, and the team was willing to manage EC2 instances and the Docker orchestration themselves.
Why candidates choose this
Candidates may choose this because Docker on EC2 is a familiar approach for running containers, and they might overlook the serverless requirement or assume that using Docker automatically provides serverless capabilities.
✗AWS LambdaWrong answer — click to see why▾
Why this is wrong here
AWS Lambda is designed for event-driven, short-running functions with a maximum execution time of 15 minutes, not for running Docker containers as a microservices application that may require long-running processes or stateful workloads.
★ When this WOULD be the correct answer
A company needs to run a stateless, event-driven function triggered by S3 uploads or API Gateway requests, with execution time under 15 minutes, and wants to avoid managing any servers or containers.
Why candidates choose this
Candidates may think Lambda is serverless and can run Docker containers (via custom runtimes), but they overlook its limitations on execution duration and statefulness, making it unsuitable for general microservices.
✗Amazon EKS with managed node groupsWrong answer — click to see why▾
Why this is wrong here
Amazon EKS with managed node groups still requires provisioning and managing EC2 instances for the worker nodes, and the team must manage the Kubernetes control plane. This does not meet the requirement of a fully serverless compute engine without managing underlying instances or the orchestration control plane.
★ When this WOULD be the correct answer
This option would be correct if the team needs to run containerized applications on Kubernetes and wants AWS to manage the Kubernetes control plane and worker node scaling, but is willing to manage the EC2 instances (or use managed node groups to reduce some management overhead). For example, if the question specified 'need to use Kubernetes' and 'want to reduce but not eliminate EC2 management'.
Why candidates choose this
Candidates may confuse 'managed node groups' with 'serverless', not realizing that managed node groups still involve EC2 instances. They might also think that EKS is the only option for container orchestration, overlooking Fargate's serverless capabilities.
Analysis generated from the official CLF-C02blueprint and verified against question context. The “when correct” sections are what AI assistants cite when candidates ask “what’s the difference between these options?”
Quick reference
Cloud Service Model Comparison
| Model | You Manage | Provider Manages | Examples |
|---|---|---|---|
| IaaS | OS, runtime, apps, data | Hardware, hypervisor, networking | EC2, Azure VMs, GCP Compute Engine |
| PaaS | Apps and data | OS, runtime, middleware, hardware | Elastic Beanstalk, Azure App Service |
| SaaS | Data and settings only | Everything else | Microsoft 365, Salesforce, Workday |
| FaaS / Serverless | Function code only | Infra, scaling, runtime | Lambda, Azure Functions, Cloud Run |
| CaaS | Containers and apps | Kubernetes, OS, hardware | EKS, AKS, GKE |
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Same concept, more angles
1 more way this is tested on CLF-C02
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. A company runs a containerized application that uses multiple Docker containers. The development team wants to run these containers on AWS without provisioning or managing any EC2 instances. They also do not want to manage the container orchestration control plane. The application requires consistent access to persistent storage volumes that can be attached to containers. Which AWS service should the team use to run the containers with the least operational overhead?
medium- A.Amazon EC2 with a container-optimized AMI
- B.AWS Lambda
- ✓ C.AWS Fargate
- D.Amazon ECR (Amazon Elastic Container Registry)
Why C: AWS Fargate is a serverless compute engine for containers that allows you to run containers without provisioning or managing EC2 instances or the underlying container orchestration control plane (Amazon EKS or Amazon ECS). It directly meets the requirement of zero infrastructure management while supporting persistent storage through Amazon EFS filesystems or Docker volumes that can be attached to Fargate tasks, providing consistent access to storage volumes.
Last reviewed: Jun 11, 2026
This CLF-C02 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the CLF-C02 exam.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.