AWS Certified SysOps Administrator – Associate (legacy) — Question 73
You are building an online store on AWS that uses SQS to process your customer orders. Your backend system needs those messages in the same sequence the customer orders have been put in. How can you achieve that?
Answer options
- A. It is not possible to do this with SQS
- B. You can use sequencing information on each message
- C. You can do this with SQS but you also need to use SWF
- D. Messages will arrive in the same order by default
Correct answer: B
Explanation
The correct answer is B because SQS provides a way to include sequencing information in messages to maintain order. Option A is incorrect since SQS can maintain order with proper configuration. Option C is misleading as SWF is not required for maintaining the order of messages in SQS. Option D is wrong because SQS does not guarantee message order by default unless FIFO queues are used.