AWS Practice Open the app

What is AWS Lambda@Edge?

Lambda functions that run at CloudFront edge locations to customise requests and responses.

Use cases

  • Authentication and authorisation at the edge
  • Complex redirects and rewrites, A/B tests
  • Adapting headers or content by device

What to know for the exam

  • Created in us-east-1 and CloudFront replicates it
  • Hooks into four events: viewer request/response and origin request/response
  • Allows more time and memory than CloudFront Functions, at the cost of more latency and cost

When to choose one or the other

AlternativeWhen to choose it
CloudFrontCloudFront Functions for light, cheap logic; Lambda@Edge when you need more time, network access or libraries

Do you know it? Check it

The practice includes questions about AWS Lambda@Edge with an explanation for every option. You can practice for free in the app, no sign-up.