SAA-C03

Introduction to AWS Lambda

Serverless functions that run code in response to events and scale automatically.

  • 6 lessons
  • Module quiz

AWS Lambda runs code in response to events without servers to manage. A function is invoked by an event, such as an HTTP request through API Gateway, a file arriving in Amazon S3 or a message in an SQS queue, and Lambda runs as many copies as needed, scaling automatically. It is charged per request and for the compute time used, so a function that is not invoked costs nothing.

Lambda is a key building block of serverless and event-driven architectures, in which managed services connected by events replace servers. Its limits define where it fits: a function can run for at most 15 minutes, with between 128 MB and 10 GB of memory.

What the exam expects

Questions test when Lambda fits, short, event-driven work with variable load, and when containers or EC2 are better, such as long-running processes. They also test concurrency, connecting functions to VPCs and relational databases, and handling permissions and secrets.

How this module is organised

Configuring Lambda Functions and Understanding Pricing explains memory, timeouts and costs. Handling Failures Across Lambda Invocation Models explains how functions are triggered and how errors are handled. Controlling Lambda Concurrency and Cold Starts explains how Lambda scales and how to control it. Connecting Lambda Functions to Private Resources in a VPC explains access to private resources, Securing Lambda Permissions and Secrets explains execution roles and secrets, and Deciding When Lambda Is the Right Compute Service compares Lambda with other compute options.

  1. Configuring Lambda Functions and Understanding Pricing Lesson 1
  2. Handling Failures Across Lambda Invocation Models Lesson 2
  3. Controlling Lambda Concurrency and Cold Starts Lesson 3
  4. Connecting Lambda Functions to Private Resources in a VPC Lesson 4
  5. Securing Lambda Permissions and Secrets Lesson 5
  6. Deciding When Lambda Is the Right Compute Service Lesson 6
  7. Practise and review
  8. Checkpoint Practice activities across the module
  9. Test your knowledge 5 questions