SAA-C03 · Question #748
A company has an ecommerce application that users access through multiple mobile apps and web applications. The company needs a solution that will receive requests from the mobile apps and web…
The correct answer is B. Set up an Amazon API Gateway REST API with an integration to an Amazon Simple Queue. Integrating API Gateway with an SQS queue ensures that all incoming requests are durably stored, preventing request loss during traffic spikes. A Lambda function can process messages asynchronously, providing a loosely coupled, scalable solution that can handle highly variable…
Question
A company has an ecommerce application that users access through multiple mobile apps and web applications. The company needs a solution that will receive requests from the mobile apps and web applications through an API. Request traffic volume varies significantly throughout each day. Traffic spikes during sales events. The solution must be loosely coupled and ensure that no requests are lost. Which solution will meet these requirements?
Options
- ACreate an Application Load Balancer (ALB). Create an AWS Elastic Beanstalk endpoint to
- BSet up an Amazon API Gateway REST API with an integration to an Amazon Simple Queue
- CCreate an Application Load Balancer (ALB). Create an AWS Lambda function to process the
- DSet up an Amazon API Gateway HTTP API with an integration to an Amazon Simple Notification
How the community answered
(40 responses)- A15% (6)
- B75% (30)
- C8% (3)
- D3% (1)
Explanation
Integrating API Gateway with an SQS queue ensures that all incoming requests are durably stored, preventing request loss during traffic spikes. A Lambda function can process messages asynchronously, providing a loosely coupled, scalable solution that can handle highly variable workloads. A dead-letter queue ensures failed requests can be investigated and retried.
Community Discussion
No community discussion yet for this question.