SAA-C03 · Question #466
SAA-C03 Question #466: Real Exam Question with Answer & Explanation
The correct answer is A: Create an Amazon Simple Queue Service (Amazon SQS) queue. Send user requests to the SQS. TooManyRequestsException errors occur when Lambda exceeds concurrency limits. The recommended pattern is to use Amazon SQS with Lambda to decouple and buffer traffic, ensuring that bursts of requests are queued and processed smoothly. Enabling provisioned concurrency for Lambda e
Question
An ecommerce company experiences a surge in mobile application traffic every Monday at 8 AM during the company's weekly sales events. The application's backend uses an Amazon API Gateway HTTP API and AWS Lambda functions to process user requests. During peak sales periods, users report encountering TooManyRequestsException errors from the Lambda functions. The errors result in a degraded user experience. A solutions architect needs to design a scalable and resilient solution that minimizes the errors and ensures that the application's overall functionality remains unaffected. Which solution will meet this requirement?
Options
- ACreate an Amazon Simple Queue Service (Amazon SQS) queue. Send user requests to the SQS
- BUse AWS Step Functions to orchestrate and process user requests. Configure Step Functions to
- CCreate an Amazon Simple Notification Service (Amazon SNS) topic. Send user requests to the
- DCreate an Amazon Simple Queue Service (Amazon SQS) queue. Send user requests to the SQS
Explanation
TooManyRequestsException errors occur when Lambda exceeds concurrency limits. The recommended pattern is to use Amazon SQS with Lambda to decouple and buffer traffic, ensuring that bursts of requests are queued and processed smoothly. Enabling provisioned concurrency for Lambda ensures that functions are pre-initialized and ready to handle spikes in load with low latency. Step Functions (B) is designed for workflow orchestration, not high- throughput request buffering. SNS with Lambda (C) does not provide buffering and may overwhelm Lambda during bursts. Reserved concurrency (D) limits function scaling instead of improving resilience. Therefore, option A provides a scalable and resilient solution, minimizing errors during traffic surges.
Community Discussion
No community discussion yet for this question.