Serverless Architecture and AWS Lambda Flashcards
7 cards from real AWS practice questions. Tap to flip, then mark Knew It or Still Learning โ missed cards come back until you master them.
Read the first 7 Serverless Architecture and AWS Lambda flashcards as text
What is the maximum execution timeout for an AWS Lambda function?
Answer: 15 minutes
AWS Lambda functions have a maximum execution timeout of 15 minutes (900 seconds), after which the function is terminated.
Which AWS service allows you to run containers in a serverless manner without managing the underlying servers?
Answer: AWS Fargate
AWS Fargate is a serverless compute engine for containers that removes the need to provision or manage EC2 instances.
What is the maximum size of a Lambda deployment package uploaded directly (not via Amazon S3)?
Answer: 50 MB
Lambda deployment packages uploaded directly have a 50 MB compressed limit; packages larger than 50 MB must be uploaded to S3 first.
Which of the following can act as an event source trigger for an AWS Lambda function?
Answer: Amazon S3 object creation
Amazon S3 can trigger Lambda functions on bucket events such as object creation, deletion, or restoration.
In a serverless architecture, what does the term 'cold start' refer to?
Answer: The initial latency when Lambda initializes a new execution environment after inactivity
A cold start is the extra latency incurred when Lambda must spin up a new execution environment because no warm instance is available.
Which Lambda concurrency feature pre-initializes execution environments to eliminate cold start latency?
Answer: Provisioned concurrency
Provisioned concurrency keeps a set number of Lambda execution environments initialized and ready, ensuring low-latency responses without cold starts.
What is the default memory allocation for a newly created AWS Lambda function?
Answer: 128 MB
New Lambda functions default to 128 MB of memory, which is also the minimum configurable value; the maximum is 10,240 MB.