Courseiva

CLF-C02 Cloud Technology and Services Practice Question

A company wants to run containerized applications without managing the underlying EC2 instances or clusters. Which AWS service enables this?

⚠ Common exam trap

Many candidates confuse Amazon ECS on EC2 (which still requires instance management) with AWS Fargate (which is serverless), or they incorrectly assume AWS Lambda can run any containerized application despite its execution time and resource constraints.

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

✓

AWS Fargate

AWS Fargate is a serverless compute engine for containers that allows you to run containerized applications without managing the underlying EC2 instances or clusters. You define your task definitions and Fargate automatically provisions and scales the compute infrastructure, abstracting away the need to handle instance patching, capacity planning, or cluster management.

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 with Docker installed

    Why it's wrong here

    Installing Docker on an EC2 instance still requires full lifecycle management of that instance, including OS patching, security updates, and manual configuration of the Docker daemon. You are responsible for cluster orchestration, capacity planning, and high availability, which is operationally heavy and far from a serverless model. This option fails when the goal is minimal infrastructure management.

  • ✗

    Amazon ECS on EC2

    Why it's wrong here

    Amazon ECS on EC2 is a managed container orchestration service, but the underlying EC2 instances in the cluster remain your responsibility. You must provision, patch, scale, and maintain the instance fleet, and you are still exposed to instance failures and capacity constraints. ECS handles the orchestration, but it does not deliver the serverless experience that removes infrastructure management.

  • ✓

    AWS Fargate

    Why this is correct

    Fargate is a serverless compute engine for containers that removes all EC2 instance management, allowing developers to define only container requirements such as CPU and memory. Fargate automatically provisions, scales, and patches the underlying infrastructure invisibly, making it ideal for running containerized applications without operational overhead. You never see or manage the host instances.

  • ✗

    AWS Lambda

    Why it's wrong here

    Lambda executes code as short-lived, event-driven functions rather than running containers with persistent processes. Even when code is packaged as a container image, Lambda runs it as a function with a timeout and does not provide the full container runtime environment expected by arbitrary applications. Containerized applications that need long-running processes or specific container capabilities are not a fit for Lambda.

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

About these practice questions

This CLF-C02 question is part of Courseiva's 993-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

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.