Lambda function limitations
AWS Lambda comes with certain limitations for function execution, such as memory, execution duration (by default up to 15 minutes), function environment variables (limited storage), disk space (including libraries and dependencies), and concurrent invocation limits (by default 1000 per region). The…
AWS Certified Solutions Architect - Lambda function limitations Example Questions
Test your knowledge of Lambda function limitations
Question 1
An e-commerce application uses AWS Lambda to process large data files uploaded to Amazon S3. Some files cause a single Lambda invocation to exceed the 15-minute maximum execution time. The company must keep a fully serverless design and continue using Lambda for processing. What should the developer do to reliably complete the processing?
Question 2
A Lambda function triggered by S3 PutObject events generates image thumbnails. During peak periods, users report slower thumbnail creation. CloudWatch shows p95 duration rising from 800 ms to 2.4 s, zero throttles, concurrent executions peaking at 150 (well below the account limit), and cold starts under 2%. The function performs CPU-bound image resizing with no external calls. Without changing the code, which configuration change will most effectively reduce per-invocation processing time?
Question 3
An application using Lambda functions to process API requests is running into issues handling regional disaster scenarios. What should be done to improve the robustness of the system?