Prev Question
Next Question

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?

A.
You can do this with SQS but you also need to use SWF

B.
Messages will arrive in the same order by default

C.
You can use sequencing information on each message

D.
It is not possible to do this with SQS

Explanation:
Amazon SQS is engineered to always be available and deliver messages. One of the resulting tradeoffs is that SQS does
not guarantee first in, first out delivery of messages. For many distributed applications, each message can stand on its
own, and as long as all messages are delivered, the order is not important. If your system requires that order be preserved,
you can place sequencing information in each message, so that you can reorder the messages when the queue returns
them.
http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/Welcome.html

Prev Question
Next Question

Leave a Reply

Your email address will not be published. Required fields are marked *