CertKeen

AWS Developer Associate (DVA-C03) · Free practice question 2 of 12

SQS FIFO message groups for ordering

A ledger service at Copthorne Credit must process account updates strictly in order per account, while updates for different accounts may be processed in parallel. Duplicate sends within a few minutes must be ignored. Which queue setup fits?

  1. A.A standard queue with a delivery delay of 60 seconds on every message to keep updates in sequence
  2. B.A standard queue with long polling, since long polling returns messages in the order they were sent
  3. C.A FIFO queue using the account number as message group ID, with deduplication
  4. D.A FIFO queue that uses one fixed message group ID for every account in the system
Show answer and explanation

Correct answer: C. A FIFO queue using the account number as message group ID, with deduplication

Why: FIFO queues preserve order within a message group and allow parallelism across groups, and deduplication IDs (or content-based deduplication) drop duplicates sent within the 5-minute interval. Standard queues provide best-effort ordering regardless of delays or long polling. A single group ID would serialize all accounts and remove the parallelism the service needs.

More free AWS Developer Associate (DVA-C03) questions