AWS Lambda
Runs event-driven code with no servers to manage. Billed per request plus GB-seconds.
Official AWS Reference https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html ↗// DECISION LOGIC MATRIX
When to Choose
Code must fire on an S3 upload, DynamoDB stream, SQS message, or API call.
When to Avoid
One invocation runs over 15 minutes, needs over 10,240 MB, or needs persistent state.
// EXAM TRAPS & SIGNAL KEYWORDS
// OFFICIAL AWS REFERENCE
"AWS Lambda is a serverless compute service. You run code without provisioning or managing servers. Lambda manages the underlying infrastructure, including server maintenance, capacity provisioning, scaling, and patching."
- Max 15 minutes (900 s) per invocation; max 10,240 MB memory.
- Memory 128 MB to 10,240 MB in 1-MB steps. 1,769 MB equals one vCPU.
- Default concurrent executions quota: 1,000 per Region. Increasable to tens of thousands.
// AWS LAMBDA TAKEAWAYS
Role: Runs event-driven code with no servers to manage. Billed per request plus GB-seconds.
Choose: Code must fire on an S3 upload, DynamoDB stream, SQS message, or API call.
Avoid: One invocation runs over 15 minutes, needs over 10,240 MB, or needs persistent state.
Trap: Watch for exam signals like long-running processes, SSH access, persistent state.
Fact: Max 15 minutes (900 s) per invocation; max 10,240 MB memory.
Fact: Memory 128 MB to 10,240 MB in 1-MB steps. 1,769 MB equals one vCPU.
Fact: Default concurrent executions quota: 1,000 per Region. Increasable to tens of thousands.
// PRACTICE QUESTIONS
Ready to test your AWS Lambda knowledge?
32 practice questions cover AWS Lambda.