An order service uses an Amazon SQS FIFO queue with one message group for all customers, leaving additional consumers idle. Events must retain their enqueue order within each customer, but different customers can be processed concurrently; which change best increases throughput?
Show the answer
Correct answerC. Use the customer identifier as the message group identifier
AWhy not this: Standard queues provide best-effort ordering; customer attributes do not enforce ordered processing.
BWhy not this: Separate groups for individual events do not preserve ordering across events belonging to the same customer.
CWhy this is right: Customer-based groups preserve the required ordering boundary while enabling parallel processing across customers.
DWhy not this: One message group constrains concurrent processing even when additional consumers are available.
A message group per customer preserves FIFO ordering within that customer while allowing different customers' groups to be processed concurrently. A unique group for every event permits concurrency but loses the required per-customer ordering.