AWS SAP-C02 · Question 24 · Domain 2.4: Reliability Requirements
A company is designing an event-driven architecture. An Amazon API Gateway receives orders and triggers an AWS Lambda function. The Lambda function processes the order and sends a message to an Amazon SQS queue. A backend fleet of EC2 instances polls the queue. During peak times, the API receives thousands of requests per second, causing the Lambda function to hit concurrency limits and drop orders. How can the architect redesign the system to ensure NO orders are lost during traffic spikes?
A company is designing an event-driven architecture. An Amazon API Gateway receives orders and triggers an AWS Lambda function. The Lambda function processes the order and sends a message to an Amazon SQS queue. A backend fleet of EC2 instances polls the queue. During peak times, the API receives thousands of requests per second, causing the Lambda function to hit concurrency limits and drop orders. How can the architect redesign the system to ensure NO orders are lost during traffic spikes?
Answer options:
Increase the Lambda concurrency limit to 10,000.
Configure API Gateway to integrate directly with the SQS queue, bypassing the Lambda function.
Replace the SQS queue with Amazon Kinesis Data Streams.
Add an Amazon ElastiCache cluster in front of the Lambda function.
How to approach this question
Full Answer
Common mistakes
Practice the full AWS Solutions Architect Professional SAP-C02 Practice Exam 4
75 questions · hints · full answers · grading
Expert