interview-prep
  • Cold start — first invocation after idle period, includes runtime initialisation. Mitigation: provisioned concurrency, smaller deployment packages.
  • Max execution time — 15 minutes
  • Memory and CPU — CPU scales with memory allocation
  • Triggers — API Gateway, S3 events, SQS, SNS, EventBridge, DynamoDB Streams, Kinesis, ALB, CloudWatch Events
  • Execution role — required IAM role the function assumes
  • Layers — shared code or dependencies across functions, up to 5 layers per function
  • VPC Lambda — Lambda inside a VPC needs an ENI; cold starts were slow but Hyperplane has fixed this

My notes