LeetQuiz Logo
Privacy Policy•contact@leetquiz.com
© 2025 LeetQuiz All rights reserved.
AWS Certified Developer - Associate

AWS Certified Developer - Associate

Get started today

Ultimate access to all questions.


A company's serverless ecommerce application uses Amazon API Gateway for a REST API, which triggers an AWS Lambda function. This function processes orders and stores them in Amazon DynamoDB, then communicates with a third-party stock application API. During peak times, the third-party API sometimes fails due to high request volumes. The company seeks a solution to prevent overwhelming this third-party service.

Exam-Like



Explanation:

Option B is the correct answer. By directing the API Gateway requests to an Amazon SQS queue, the third-party stock application API can be protected from being overwhelmed. Amazon SQS can handle large numbers of requests and buffer them, allowing the AWS Lambda function to consume them at a controlled rate. By configuring the Lambda function with a reserved concurrency that matches the third-party application's capacity, you ensure that the Lambda function processes the requests at a rate that the third-party service can handle. This effectively prevents the service from being overloaded during peak times.

Powered ByGPT-5