AWS Certified Solutions Architect – Associate (SAA-C02) — Question 277
A company has a service that produces event data. The company wants to use AWS to process the event data as it is received. The data is written in a specific order that must be maintained throughout processing. The company wants to implement a solution that minimizes operational overhead.
How should a solutions architect accomplish this?
Answer options
- A. Create an Amazon Simple Queue Service (Amazon SQS) FIFO queue to hold messages. Set up an AWS Lambda function to process messages from the queue.
- B. Create an Amazon Simple Notification Service (Amazon SNS) topic to deliver notifications containing payloads to process. Configure an AWS Lambda function as a subscriber.
- C. Create an Amazon Simple Queue Service (Amazon SQS) standard queue to hold messages. Set up an AWS Lambda function to process messages from the queue independently.
- D. Create an Amazon Simple Notification Service (Amazon SNS) topic to deliver notifications containing payloads to process. Configure an Amazon Simple Queue Service (Amazon SQS) queue as a subscriber.
Correct answer: A
Explanation
Amazon SQS FIFO (First-In-First-Out) queues guarantee that messages are processed in the exact order they are sent, satisfying the strict ordering requirement. Integrating this queue with AWS Lambda provides a fully managed, serverless event-processing pipeline that minimizes operational overhead. Standard SQS queues and standard SNS topics do not guarantee strict first-in, first-out delivery, making the other options incorrect.