What is AWS Lambda?
Serverless functions that run on events and are paid per use.
Use cases
- APIs alongside API Gateway
- Processing events from S3, DynamoDB Streams or SQS
- Automation and scheduled tasks with EventBridge
What to know for the exam
- Maximum 30 minutes per execution (15 until November 2026)
- CPU is proportional to the memory allocated
- Provisioned Concurrency avoids cold starts; reserved concurrency limits concurrency
- Asynchronous failures: DLQ or error destinations
When to choose one or the other
| Alternative | When to choose it |
|---|---|
| EC2 / Fargate | Lambda for short or occasional tasks; EC2/Fargate for long or constant processes |
| Step Functions | To orchestrate several steps use Step Functions, don't chain functions by hand |
Do you know it? Check it
The practice includes questions about AWS Lambda with an explanation for every option. You can practice for free in the app, no sign-up.