AWS Certified Solutions Architect – Associate (SAA-C03) — Question 868
A solutions architect is designing an application that helps users fill out and submit registration forms. The solutions architect plans to use a two-tier architecture that includes a web application server tier and a worker tier.
The application needs to process submitted forms quickly. The application needs to process each form exactly once. The solution must ensure that no data is lost.
Which solution will meet these requirements?
Answer options
- A. Use an Amazon Simple Queue Service (Amazon SQS) FIFO queue between the web application server tier and the worker tier to store and forward form data.
- B. Use an Amazon API Gateway HTTP API between the web application server tier and the worker tier to store and forward form data.
- C. Use an Amazon Simple Queue Service (Amazon SQS) standard queue between the web application server tier and the worker tier to store and forward form data.
- D. Use an AWS Step Functions workflow. Create a synchronous workflow between the web application server tier and the worker tier that stores and forwards form data.
Correct answer: A
Explanation
Amazon SQS FIFO queues guarantee that messages are processed exactly once and in the exact order they are sent, preventing data loss and duplicate processing. In contrast, Amazon SQS standard queues only guarantee at-least-once delivery, which could lead to duplicate processing. Amazon API Gateway and AWS Step Functions do not natively provide the durable store-and-forward queuing mechanism required for this decoupled architecture.