Amazon SQS (FIFO vs Standard) vs Amazon SNS & EventBridge
10-Second Exam Rule:
Pull-based queue decoupling + buffering = SQS (add FIFO for strict ordering + deduplication). Push 1-to-many fanout = SNS. Content-filtered routing across SaaS & AWS services = EventBridge.
Side-by-Side Decision Matrix
| Property | Amazon SQS (Standard / FIFO) | Amazon SNS / EventBridge |
|---|---|---|
| Delivery Pattern | Pull / Polling queue (1 consumer per message) | Push / Pub-Sub fanout (many subscribers) |
| Ordering & Dedup | FIFO: Strict per MessageGroupId + 5-min dedup | SNS FIFO only fans out to SQS FIFO |
| Buffering / Persistence | Stores up to 14 days (default 4 days) | No long-term queue buffer (pair SNS -> SQS) |
| Best Exam Cue | Decouple workers, handle traffic spikes, DLQ | Fanout to multiple downstream microservices |
Pick Amazon SQS (FIFO vs Standard) when…
- Need to buffer spiky loads so downstream EC2/Lambda workers pull at their own pace.
- Need strict order per entity + exactly-once processing (SQS FIFO with MessageGroupId).
- Need poison-message isolation using a matching-type Dead-Letter Queue (FIFO -> FIFO).
Pick Amazon SNS & EventBridge when…
- SNS: One published event must fan out simultaneously to multiple subscribers (e.g., 3 SQS queues + Lambda + email).
- EventBridge: Route events by JSON payload content to 20+ AWS targets or SaaS partners with schema discovery.
Primary exam distractor trap
Never attach an SQS Standard DLQ to an SQS FIFO queue—AWS enforces identical queue types (FIFO source requires a FIFO DLQ).
Test if you can spot the rule under pressure
A ledger service uses an SQS FIFO queue and needs to isolate repeatedly failing malformed events. What type of Dead-Letter Queue is valid?
Practice this exact scenario inside the Pass Workspace
Drill full 4-option CBT scenarios with inline blueprint citations, Distractor X-Ray, and FSRS auto-review.