AWS Certified Solutions Architect – Associate (SAA-C03) — Question 149
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
The correct answer is A because an Amazon SQS FIFO queue ensures that messages are processed in the exact order they are received, which is crucial for the company's requirements. Options B and D use Amazon SNS, which does not guarantee order, and option C uses a standard SQS queue, which also does not maintain message order, making them unsuitable for this scenario.