Scalable and Loosely Coupled Architectures
Unlock the complete study guide + 1,040 practice questions across 16 full exams.
Bundled into the existing AWS Certified Solutions Architect – Associate premium course — no separate purchase.
Included in this chapter:
- SQS Standard vs FIFO: throughput, ordering, deduplication windows
- EventBridge rule syntax + content-based filtering patterns
- Step Functions Standard vs Express: choosing by execution duration + cost
- Lambda-SQS pairing: visibility timeout, batch size, partial-batch failure
- Kinesis Data Streams: shard math, enhanced fan-out vs polling
- Dead-letter queues: alarms, redrive policies, message inspection
Messaging primitives compared
| Service | Pattern | Ordering | Retention | Consumers | Best for |
|---|---|---|---|---|---|
| SQS Standard | Queue | Best-effort | 14 days max | 1+ workers | Decoupled async work items, max throughput |
| SQS FIFO | Queue | Strict per MessageGroupId | 14 days max | 1+ workers (per group) | Order-critical work; 300 msg/s default (3 000 w/batching) |
| SNS | Pub/sub topic | N/A | Not retained (in-memory delivery) | Many subscribers | Fan-out to email, SMS, HTTP, Lambda, SQS |
| EventBridge | Event bus | N/A | Up to 24h archive (replayable) | Many rules + targets | Schema-routed events; SaaS integrations; cross-account |
| Kinesis Data Streams | Stream | Per shard | Up to 365 days | Many parallel consumers (KCL) | Ordered events with replay; real-time analytics |
| Step Functions | Workflow | Linear (or parallel branches) | Up to 1 year history (Standard) | Service integrations + Lambdas | Multi-step orchestration with retries |
Decision tree
Cheat sheet
Unlock with Premium — includes all practice exams and the complete study guide.
Also tested in
References
- Amazon SQS Developer Guide
- Amazon SNS Developer Guide
- What is Amazon EventBridge
- Amazon Kinesis Data Streams
- AWS Step Functions Developer Guide
- Amazon SQS FIFO queues
- EventBridge rules
- Amazon SQS dead-letter queues
- Lambda asynchronous invocation (DLQ)
- Amazon SQS visibility timeout
- Using Lambda with Amazon SQS
- Lambda quotas
- High throughput for FIFO queues
- Amazon SQS quotas
- EventBridge archive and replay
- Step Functions Standard vs Express
- Amazon EventBridge Pipes
- Amazon SQS short and long polling
- Amazon API Gateway throttling and quotas