SAA-C03 · Question #707
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
The correct answer is A. Create an Amazon Simple Queue Service (Amazon SQS) queue. Send user requests to the SQS. Placing an SQS queue in front of the Lambda function buffers the burst of requests during the predictable Monday spike so the workload is processed at a controlled rate instead of causing immediate Lambda throttling. Using provisioned concurrency ensures the function has pre- ini
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 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 these requirements?
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
How the community answered
(44 responses)- A75% (33)
- B14% (6)
- C7% (3)
- D5% (2)
Explanation
Placing an SQS queue in front of the Lambda function buffers the burst of requests during the predictable Monday spike so the workload is processed at a controlled rate instead of causing immediate Lambda throttling. Using provisioned concurrency ensures the function has pre- initialized execution environments ready during peak periods, reducing startup delays and helping absorb the surge without triggering TooManyRequestsException, while the queue preserves all requests so application functionality is not lost.
Community Discussion
No community discussion yet for this question.