1. Home
  2. Computer Science MCQs
  3. Cloud Computing
  4. Two messages in an SQS FIFO queue carry the same…

Added 30 Nov -0001

Two messages in an SQS FIFO queue carry the same MessageGroupId. What ordering guarantee applies to them?

  1. They may be delivered in any order but never more than once at all
  2. They are ordered only if a deduplication ID is also supplied for each
  3. They are ordered across all groups, since the queue is first-in first-out
  4. They are delivered strictly in order, one at a time within that group Correct answer

Correct answer

D. They are delivered strictly in order, one at a time within that group

20 views

MCQSEXAM

Explanation

SQS FIFO guarantees ordering only within a message group: messages sharing a MessageGroupId are delivered one at a time in the order received, while different groups may be processed in parallel. Deduplication IDs suppress duplicate sends but do not affect ordering. Throughput scales with the number of active message groups, so a single group caps the parallelism of the queue.

Reference

Asked in: NTS, PPSC IT, Campus Interviews

Preparing for an exam?

Doubts & discussion

Not sure why the answer is D? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Cloud Computing MCQs

Practise all Cloud Computing MCQs

Similar MCQs