CLF-C02 - Cloud Technology and Services (34% of the exam) - Section 3.5

Recognise the appropriate use of AWS container and serverless compute options, including Amazon ECS, Amazon EKS, AWS Fargate and AWS Lambda.

Distinguish container orchestration options, Amazon ECS for AWS-native orchestration and Amazon EKS for Kubernetes workloads, from serverless options that abstract infrastructure away. Recognise AWS Fargate as the serverless engine for containers that removes the need to provision EC2 instances, and AWS Lambda as the event-driven service for short-running code.

Amazon ECSAmazon EKSAWS FargateAWS Lambda

Practice question for this objective

Free sampleCloud Technology and Servicesmedium

A company runs its containers on Amazon ECS and currently manages the cluster of Amazon EC2 instances that host the containers, spending time patching and scaling those hosts. It wants to keep using ECS but stop provisioning, patching and scaling any host servers itself. Which compute option should it select for its ECS tasks?

  • AAmazon EC2 launch type, where the company keeps running and patching the pool of host instances that the ECS containers are placed onto
  • BAmazon EKS, which would replace ECS with managed Kubernetes but still leaves the company managing its own worker node instances by default
  • CAWS Lambda, which runs function code in response to events rather than running the company's existing long-lived ECS container tasks
  • DAWS Fargate, the serverless compute engine that runs ECS containers without the company provisioning, patching or scaling any host servers Correct
AWS Fargate is the serverless compute engine that runs ECS or EKS containers without the customer managing the underlying host servers. Fargate lets ECS run each container task on capacity that AWS provisions, patches and scales, so the customer stops operating a pool of EC2 host instances while still using ECS as the orchestrator.

Why A is wrong: The EC2 launch type still requires the company to run and patch the host instances, which is exactly the management burden it wants to remove.

Why B is wrong: Switching to EKS changes the orchestrator and, without a serverless engine, still leaves worker nodes to manage, so it does not meet the stated goal.

Why C is wrong: Lambda runs event-driven functions, not the company's existing ECS container tasks, so it does not fit a request to keep using ECS.

Why D is correct: Fargate is the serverless engine for ECS that runs each task without the customer managing host instances, removing the host patching and scaling work.

See more CLF-C02 practice questions, answers explained.

Exam traps in Cloud Technology and Services

Answers that look right on this material and are not. Each one is a distractor from a different question in the CLF-C02 bank for this domain.

  • Amazon EC2, which provides resizable virtual machines whose operating system and scaling the customer is responsible for managing.

    Why it is wrong: EC2 looks like easy compute, but the customer must patch the operating system and manage capacity, so it is not serverless.

  • Amazon RDS, a managed relational database service that runs database engines for the team so it does not have to administer the underlying database servers itself

    Why it is wrong: RDS manages relational databases rather than container orchestration, so it has nothing to do with running the team's Kubernetes workloads on AWS.

  • Amazon S3, an object storage service used to keep files and container images in buckets but which does not schedule, run or scale the containers themselves across a cluster

    Why it is wrong: S3 stores objects and images but performs no orchestration, so it can hold the container artefacts yet cannot schedule or scale the running tasks the company needs.

Examworthy is not affiliated with or endorsed by Amazon Web Services. Original, blueprint-aligned practice material only.