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?
- A.A standard queue with a delivery delay of 60 seconds on every message to keep updates in sequence
- B.A standard queue with long polling, since long polling returns messages in the order they were sent
- C.A FIFO queue using the account number as message group ID, with deduplication
- 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
- Step Functions Retry and Catch fields
- DynamoDB Streams for change processing
- EventBridge Scheduler one-time invocations
- Explicit deny in policy evaluation
- Hardening S3 bucket access settings
- ApplyGuardrail API for any model
- Previewing stack updates with change sets
- Test traffic hook in ECS blue/green
- API Gateway REST canary release
- SQS visibility timeout for Lambda consumers
- Metric filters for log-based alarms