Skip to main content
CloudCertPrep
CLF-C02Domain 3: Cloud Technology and ServicesCore AWS ServiceseasySingle choice

Which AWS service lets you run code in response to events without provisioning or managing servers?

A.Amazon EC2

EC2 gives you virtual servers to manage.

B.AWS Lambda

Correct. Lambda is event-driven serverless compute.

C.Amazon ECS

ECS runs containers — you still manage the container platform.

D.AWS Elastic Beanstalk

Beanstalk deploys apps onto provisioned EC2 infrastructure.

Why this answer

Lambda is the canonical serverless compute service: upload code, it runs in response to triggers (S3 events, API calls, schedules), billed per invocation — zero infrastructure management.

Correct answer: B · Last reviewed 2026-10-26

Official AWS references

Practice this interactively

Answer without seeing the solution first in the Core AWS Services practice session.

Practice Core AWS Services