QuestionQ35

Deployment, Provisioning, and Automation

A company has an application that processes events sequentially by using an Amazon SQS FIFO queue. The company needs a solution that automatically sends notifications to the SQS queue when new objects are uploaded to an Amazon S3 bucket. The solution must preserve message ordering.

Which solution meets these requirements with the LEAST operational overhead?

Explanation

To preserve strict message ordering into an existing SQS FIFO queue, the notification path must itself be FIFO-aware. An SNS FIFO topic delivers messages in order and only to SQS FIFO subscribers, so routing S3 object-created events through an SNS FIFO topic that the FIFO queue subscribes to is the fully managed pattern that maintains ordering. Option B is the trap: S3 event notifications have no "FIFO delivery option" and cannot target an SQS FIFO queue directly. Option A (Lambda polling ListObjectsV2) is high operational overhead and does not guarantee ordering, and Option D misuses S3 Access Points, which do not emit events to SQS. C is the intended least-overhead ordering-preserving design.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!