Question 492 of 1,024
Cloud Technology and ServicesmediumMultiple ChoiceObjective-mapped

AWS Fargate: Run Containers Without Managing Servers or Orchestration

This CLF-C02 practice question tests your understanding of cloud technology and services. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

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?

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.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

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.

    Related concept

    Read the scenario before looking for a memorised answer.

  • 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?”

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates often 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.

Detailed technical explanation

How to think about this question

AWS Fargate runs each container task in its own isolated virtual environment with a dedicated kernel, using a lightweight hypervisor (Firecracker) that provides strong security and resource isolation. Under the hood, Fargate automatically handles capacity planning, patching, and scaling of the underlying compute resources, and integrates with Amazon ECS service auto-scaling to adjust the number of tasks based on CloudWatch metrics like CPU or memory utilization. In a real-world scenario, a team deploying a microservices-based e-commerce platform can use Fargate to run hundreds of containers without worrying about EC2 instance management, while still benefiting from integration with AWS services like ALB for traffic routing and VPC for network isolation.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

An e-commerce site experiences heavy traffic on Black Friday and near-zero traffic during off-peak weeks. Rather than provisioning permanent large VMs, the team uses auto-scaling groups that add capacity automatically under load and reduce it overnight. Questions like this test whether you understand elasticity, availability zones, and cloud compute scaling patterns.

Quick reference

Cloud Service Model Comparison

ModelYou ManageProvider ManagesExamples
IaaSOS, runtime, apps, dataHardware, hypervisor, networkingEC2, Azure VMs, GCP Compute Engine
PaaSApps and dataOS, runtime, middleware, hardwareElastic Beanstalk, Azure App Service
SaaSData and settings onlyEverything elseMicrosoft 365, Salesforce, Workday
FaaS / ServerlessFunction code onlyInfra, scaling, runtimeLambda, Azure Functions, Cloud Run
CaaSContainers and appsKubernetes, OS, hardwareEKS, AKS, GKE

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related CLF-C02 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free CLF-C02 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this CLF-C02 question test?

Cloud Technology and Services — This question tests Cloud Technology and Services — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: 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.

What should I do if I get this CLF-C02 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

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 →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

1 more ways 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.

Keep practising

More CLF-C02 practice questions

Last reviewed: Jun 11, 2026

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.

Loading comments…

Sign in to join the discussion.

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.