CLF-C02 Cloud Technology and Services Practice Question
A media company processes user-uploaded images to generate thumbnails and metadata. The current solution runs a script on a single Amazon EC2 instance, which becomes overloaded during peak hours, causing delays. The company wants a solution that automatically scales to handle spikes in upload volume, requires no server management, and charges only for the processing time consumed. Which AWS service should the company use?
⚠ Common exam trap
It's easy for candidates to confuse 'auto scaling' with 'serverless' and choose Amazon EC2 Auto Scaling (Option B) because it scales, but they overlook the requirement for 'no server management' and 'pay only for processing time,' which EC2 Auto Scaling does not satisfy.
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 Lambda
AWS Lambda is the correct choice because it provides a serverless compute service that automatically scales with incoming upload volume, requires no server management, and charges only for the actual processing time (in 1ms increments). The media company's need for automatic scaling, zero server management, and pay-per-use billing aligns perfectly with Lambda's event-driven architecture, where each image upload can trigger a Lambda function to generate thumbnails and metadata without provisioning or managing any underlying infrastructure.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
AWS Lambda
Why this is correct
Correct. AWS Lambda is a serverless compute service that executes code in response to triggers (e.g., S3 uploads) and automatically scales based on incoming traffic. It requires no server management and charges only for the compute time used, meeting all stated requirements.
- ✗
Amazon EC2 Auto Scaling
Why it's wrong here
Incorrect. EC2 Auto Scaling can automatically adjust the number of EC2 instances, but you still manage the underlying servers (OS, patches, scaling). It does not meet the 'no server management' requirement and charges for running instances even when idle.
- ✗
AWS Batch
Why it's wrong here
Incorrect. AWS Batch is designed for batch computing jobs that run on a managed fleet of EC2 instances. While it can scale, it relies on instances that are provisioned in a compute environment, which may introduce idle cost and management overhead. It is not serverless like Lambda and is less suited for real-time event-driven image processing.
When this WOULD be correct
A company needs to run a large-scale, compute-intensive batch job (e.g., rendering 10,000 video files) that can be parallelized, and they want to manage job dependencies and retries without writing custom orchestration code. AWS Batch would be the right choice because it handles job scheduling and can automatically provision EC2 instances.
- ✗
Amazon Lightsail
Why it's wrong here
Incorrect. Amazon Lightsail provides pre-configured virtual private servers (similar to EC2) with a simplified management interface. It still involves managing operating systems and scaling manually; it is not serverless and does not automatically handle spikes in load.
When this WOULD be correct
A company needs a simple, predictable-cost virtual private server for a small web application with low traffic, and wants a pre-configured instance with a fixed monthly price, without needing to manage scaling or complex configurations.
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.
✓AWS LambdaCorrect answer▾
Why this is correct
Correct. AWS Lambda is a serverless compute service that executes code in response to triggers (e.g., S3 uploads) and automatically scales based on incoming traffic. It requires no server management and charges only for the compute time used, meeting all stated requirements.
✗AWS BatchWrong answer — click to see why▾
Why this is wrong here
AWS Batch is designed for batch computing jobs that require orchestration of compute resources, but it still involves managing compute environments (e.g., EC2 instances) and does not provide the serverless, automatic scaling with per-execution billing that the question requires.
★ When this WOULD be the correct answer
A company needs to run a large-scale, compute-intensive batch job (e.g., rendering 10,000 video files) that can be parallelized, and they want to manage job dependencies and retries without writing custom orchestration code. AWS Batch would be the right choice because it handles job scheduling and can automatically provision EC2 instances.
Why candidates choose this
Candidates may confuse 'batch processing' with the image processing task described, assuming AWS Batch is the go-to for any batch workload, without realizing that the requirement for serverless and per-execution billing points to AWS Lambda instead.
✗Amazon LightsailWrong answer — click to see why▾
Why this is wrong here
Amazon Lightsail requires manual scaling and server management, which does not meet the requirement for automatic scaling and no server management.
★ When this WOULD be the correct answer
A company needs a simple, predictable-cost virtual private server for a small web application with low traffic, and wants a pre-configured instance with a fixed monthly price, without needing to manage scaling or complex configurations.
Why candidates choose this
Candidates may think Lightsail is a simpler alternative to EC2 for handling workloads, but it lacks the automatic scaling and pay-per-use model required for variable processing loads.
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 |
Go deeper
Related to this question
About these practice questions
This CLF-C02 question is part of Courseiva's 988-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 →
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 media company processes user-uploaded images. When a user uploads a high-resolution image to an Amazon S3 bucket, the company must automatically generate three resized thumbnail versions (small, medium, large) within seconds. The company wants a solution that requires no infrastructure management and scales automatically to handle thousands of concurrent uploads. Which AWS service should the company use to execute the thumbnail generation code?
medium- A.Run the thumbnailing code on Amazon EC2 instances behind an Application Load Balancer
- ✓ B.AWS Lambda
- C.Amazon ECS with AWS Fargate launch type
- D.AWS Elastic Beanstalk
Why B: AWS Lambda is the correct choice because it is a serverless compute service that executes code in response to S3 events (e.g., object creation) without provisioning or managing servers. It scales automatically to handle thousands of concurrent uploads, and the 15-minute execution timeout is sufficient for generating three thumbnail versions within seconds. This meets the requirement for no infrastructure management and automatic scaling.
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.