Design Resilient Architectures (26%)
Domain 2 is 26% of the scored content of the AWS Certified Solutions Architect – Associate (SAA-C03) exam. AWS facts were checked against current AWS documentation in November 2026.
| Task | Statement |
|---|---|
| 2.1 | Design scalable and loosely coupled architectures |
| 2.2 | Design highly available and/or fault-tolerant architectures |
Overview
Domain 2: Design Resilient Architectures AWS Certified Solutions Architect – Associate (SAA-C03): loosely coupled, scalable designs that survive failure
Welcome to Domain 2 of the AWS Certified Solutions Architect Associate exam, SAA-C03: Design Resilient Architectures. It is 26 percent of the scored content, about 13 questions, spread across two broad task statements.
Task 2.1 is scalable, loosely coupled architectures: queues, topics and events, APIs, microservices, containers and serverless, caching, read replicas, and workflow orchestration.
Task 2.2 is highly available and fault-tolerant architectures: multiple Availability Zones and Regions, disaster recovery strategies with R T O and R P O targets, failover, service quotas, and immutable infrastructure.
The key idea is decoupling. If one component slows down or fails, the others keep working, because a queue, topic or event bus sits between them.
The second idea is no single point of failure: every tier runs in at least two Availability Zones, with health checks and automatic replacement.
Exam key takeaway: Domain 2 rewards designs that decouple components with queues and events, scale horizontally, run in several Availability Zones, and meet stated RTO and RPO targets.
2.1 Design scalable and loosely coupled architectures
Queues, Topics and Events Task 2.1 · Choosing the AWS service that achieves loose coupling
| Service | Pattern | Choose When |
|---|---|---|
| Amazon SQS Standard | Queue: producers send, consumers pull; at-least-once, best-effort order | Buffer spikes; scale workers independently |
| Amazon SQS FIFO | Queue with strict order and exactly-once processing | Order matters, such as payments per account |
| Amazon SNS | Publish/subscribe: push one message to many subscribers | Fan-out to several queues, Lambda, email |
| Amazon EventBridge | Event bus with content-based rules, SaaS sources, scheduling | React to AWS and SaaS events by content |
| AWS Step Functions | State machine that orchestrates steps with retries and branching | Multi-step workflows with error handling |
| Amazon MQ | Managed Apache ActiveMQ or RabbitMQ | Migrating apps that use JMS, AMQP or MQTT |
Loose coupling starts with messaging. An Amazon S Q S standard queue lets producers send messages and consumers pull them when ready, with at-least-once delivery and best-effort ordering. It buffers spikes so each side scales on its own.
An S Q S FIFO queue adds strict ordering and exactly-once processing, at lower throughput, for cases where order matters, such as transactions per account.
Amazon S N S is publish and subscribe. One message is pushed to many subscribers. The classic fan-out pattern publishes to an S N S topic with several S Q S queues subscribed, so each consumer gets its own copy.
Amazon EventBridge is an event bus. Rules route events by their content, from AWS services, SaaS partners or your own apps, and it can schedule tasks.
AWS Step Functions orchestrates multi-step workflows as state machines, with retries, branches and error handling built in.
And Amazon M Q is managed ActiveMQ or RabbitMQ, for applications that already use standard protocols such as J M S or A M Q P and can't be rewritten for S Q S.
Exam key takeaway: SQS buffers work between components, FIFO adds order, SNS fans out to many subscribers, EventBridge routes events by content, Step Functions orchestrates, Amazon MQ suits existing brokers.
A Decoupled, Event-Driven Design Task 2.1 · Each tier scales on its own, and a slow consumer never blocks the front end
- API Gateway: Here is a decoupled order pipeline. Amazon API Gateway accepts the order request and returns quickly.
- Lambda: A Lambda function validates the order and writes it to DynamoDB.
- SNS topic: It then publishes an order placed event to an S N S topic.
- SQS queues: Each downstream service, such as billing and shipping, has its own S Q S queue subscribed to the topic, and processes at its own pace.
Why It Is Resilient - A slow shipping system never blocks checkout - Messages wait in the queue during failures; dead-letter queues catch poison messages - Each consumer scales on queue depth This design is resilient. A slow shipping system never blocks checkout. During failures, messages wait in the queue, and a dead-letter queue catches messages that keep failing. Each consumer scales on the depth of its own queue.
Stateless Vs Stateful - Keep app servers stateless: any instance can serve any request - Store session state in ElastiCache or DynamoDB - Stateless tiers scale horizontally and replace easily Microservices should be stateless, so any instance can serve any request. Keep session state in ElastiCache or DynamoDB, not on the server. Stateless tiers scale horizontally and can be replaced at any time.
Exam key takeaway: Put queues between services, fan out events with SNS to per-consumer SQS queues, add dead-letter queues, keep compute stateless, and store state in ElastiCache or DynamoDB.
Containers, Serverless or EC2? Task 2.1 · Determining when to use containers and serverless patterns
- AWS Lambda: Which compute fits? AWS Lambda suits event-driven, short tasks up to 15 minutes, and spiky traffic. Watch for long jobs or steady heavy load, where other options are better or cheaper.
- ECS or EKS on Fargate: Containers on AWS Fargate, with E C S or E K S, suit long-running services packaged as containers, without managing servers. Containerizing is often the easiest way to move an existing application with few code changes.
- ECS or EKS on EC2: Containers on EC2 suit cases that need G P Us, specific instance types or Spot capacity, at the cost of managing the instances.
- Amazon EC2: Plain Amazon EC2 suits full operating system control, legacy software and host-bound licensing. Scale it with Auto Scaling groups across Availability Zones.
- EKS Anywhere and ECS Anywhere: E K S Anywhere and E C S Anywhere run the same container tooling on your own hardware, for hybrid container management.
- Amazon API Gateway: And Amazon API Gateway is the front door for REST, H T T P and WebSocket APIs, with throttling, authorization and caching, in front of Lambda, containers or any H T T P back end.
Exam key takeaway: Lambda for short event-driven work, Fargate for containers without servers, EC2-backed containers for GPUs or Spot, plain EC2 for full control, API Gateway as the front door.
Scaling Strategies and Caching Task 2.1 · Horizontal vs vertical scaling, read replicas, and caches at every layer
| Technique | What It Does | Choose When |
|---|---|---|
| Horizontal scaling | Add more instances behind a load balancer | Preferred: no downtime, no upper limit |
| Vertical scaling | Move to a bigger instance | Quick fix; has limits and usually a restart |
| Read replicas | Asynchronous copies that serve read traffic | Read-heavy databases; reporting queries |
| Amazon CloudFront | Caches content at edge locations | Static and cacheable dynamic content |
| Amazon ElastiCache | In-memory cache in front of a database; session store | Repeated reads, sessions, leaderboards |
| DynamoDB Accelerator (DAX) | In-memory cache built for DynamoDB | Microsecond reads from DynamoDB |
| API Gateway caching | Caches API responses for a set time | Same requests repeated often |
Now scaling. Horizontal scaling adds more instances behind a load balancer, without downtime. It is the preferred approach for resilient designs.
Vertical scaling moves to a bigger instance. It is a quick fix, but it has an upper limit and usually requires a restart.
Read replicas are asynchronous copies of a database that serve read traffic, for read-heavy workloads and reporting. They scale reads, not writes.
Caching reduces load at every layer. Amazon CloudFront caches content at edge locations, close to users.
Amazon ElastiCache caches repeated database reads in memory, and stores sessions and leaderboards.
DynamoDB Accelerator, or DAX, is an in-memory cache built for DynamoDB, for microsecond reads.
And API Gateway can cache responses, when the same requests are repeated often.
Exam key takeaway: Scale out horizontally behind load balancers; use read replicas for read-heavy databases; cache with CloudFront at the edge, ElastiCache or DAX in memory, and API Gateway for APIs.
Purpose-Built Services for Resilience Task 2.1 · Managed services that replace components you would otherwise run yourself
| Instead Of Running… | Use | Why |
|---|---|---|
| Your own SFTP server | AWS Transfer Family | Managed SFTP, FTPS, FTP into S3 or EFS |
| Your own message broker | Amazon SQS, SNS, or Amazon MQ | Multi-AZ by default; no servers |
| Cron jobs on one server | EventBridge Scheduler with Lambda or ECS | No single scheduler instance |
| Hand-coded workflow logic | AWS Step Functions | Built-in retries, timeouts, state |
| Credentials in config files | AWS Secrets Manager | Rotation without redeploys |
| Self-managed database on EC2 | Amazon RDS, Aurora or DynamoDB | Managed backups, failover, scaling |
The exam often rewards managed, purpose-built services over components you run yourself. Instead of your own S F T P server, use AWS Transfer Family, which delivers files straight into S3 or E F S.
Instead of your own message broker, use S Q S and S N S, or Amazon M Q for existing broker protocols.
Instead of cron jobs on one server, a single point of failure, use EventBridge Scheduler to trigger Lambda or E C S tasks.
Instead of hand-coded workflow logic, use Step Functions, with built-in retries, timeouts and state.
Instead of credentials in configuration files, use Secrets Manager, which rotates them without redeploying.
And instead of a self-managed database on EC2, use RDS, Aurora or DynamoDB, with managed backups, failover and scaling.
Exam key takeaway: Prefer purpose-built managed services: Transfer Family for SFTP, SQS and SNS for messaging, EventBridge Scheduler for cron, Step Functions for workflows, managed databases.
2.2 Design highly available and/or fault-tolerant architectures
Disaster Recovery Strategies Task 2.2 · From cheapest and slowest to most expensive and fastest
- Backup and restore: A W S describes four disaster recovery strategies. Backup and restore is the cheapest: you keep backups in another Region and rebuild after a disaster, with recovery measured in hours.
- Pilot light: Pilot light keeps the core running in the recovery Region, such as replicated data, while compute stays switched off until needed. Recovery takes tens of minutes. AWS Elastic Disaster Recovery fits here.
- Warm standby: Warm standby runs a scaled-down but fully working copy of the workload, which scales up on failover, in minutes.
- Multi-site active/active: Multi-site active active runs full capacity in two or more Regions at the same time, for near-zero downtime, at the highest cost.
Rto And Rpo - RTO: how long you can be down - RPO: how much data you can lose - Lower targets cost more: match the strategy to the business need Two numbers drive the choice. The recovery time objective, R T O, is how long the business can be down. The recovery point objective, R P O, is how much data, measured in time, it can lose. Lower targets cost more, so match the strategy to the stated need.
Data Replication Tools - Aurora Global Database, DynamoDB global tables - S3 Cross-Region Replication, AWS Backup copies - Route 53 health checks and failover routing Data replication makes the faster strategies possible: Aurora Global Database and DynamoDB global tables for databases, S3 Cross-Region Replication and AWS Backup copies for storage, and Route 53 health checks with failover routing to switch traffic.
Exam key takeaway: Backup and restore is cheapest with hours of RTO; pilot light keeps data live; warm standby runs a small copy; active/active runs everywhere. Match RTO and RPO to cost.
High Availability by Tier Task 2.2 · Removing single points of failure across Availability Zones
| Tier | Highly Available Design | Failover |
|---|---|---|
| DNS | Amazon Route 53 health checks with failover, latency or weighted routing | Seconds to minutes |
| Load balancing | Elastic Load Balancing spans multiple AZs and checks target health | Automatic |
| Compute | Auto Scaling group across two or more AZs, minimum capacity above one | Replaces unhealthy instances |
| Relational database | RDS Multi-AZ (synchronous standby) or Aurora replicas across AZs | Automatic, typically in about a minute |
| Database connections | Amazon RDS Proxy pools connections and speeds up failover | Fewer dropped connections |
| Storage | S3 and EFS store data across multiple AZs; EBS lives in one AZ | Snapshot EBS to recover elsewhere |
High availability means no single point of failure in any tier. At the D N S tier, Route 53 health checks with failover, latency or weighted routing move users away from unhealthy endpoints.
Elastic Load Balancing spans multiple Availability Zones and stops sending traffic to unhealthy targets automatically.
Compute runs in an Auto Scaling group across at least two Availability Zones, which replaces unhealthy instances.
Relational databases use RDS Multi-AZ, with a synchronous standby in another zone, or Aurora replicas across zones, with automatic failover. Note that a Multi-AZ standby is for availability; read replicas are for scaling reads.
Amazon RDS Proxy pools database connections, which protects databases from connection storms, for example from many Lambda functions, and reduces failover time for applications.
For storage, S3 and E F S Standard store data across multiple zones. An E B S volume lives in one zone, so protect it with snapshots.
Exam key takeaway: Route 53 health checks, multi-AZ load balancers and Auto Scaling groups, RDS Multi-AZ or Aurora with RDS Proxy, and storage across AZs remove single points of failure.
Reliability for Apps You Can't Change Task 2.2 · Improving legacy applications and applications not built for the cloud
- Auto Scaling health checks: Sometimes the application can't be changed. An Auto Scaling group, even with one instance, replaces a failed instance automatically, giving self-healing without code changes.
- Load balancer in front: Putting a load balancer in front of several copies in different zones adds availability. If the app keeps state in memory, sticky sessions can help, although moving state out is better.
- Managed database: Moving the database to RDS Multi-AZ with the same engine adds automatic failover, and usually only the connection string changes.
- Queue in front: Putting an S Q S queue in front buffers bursts, so the legacy application processes at its own pace.
- Elastic Disaster Recovery: AWS Elastic Disaster Recovery continuously replicates servers at block level, for recovery in minutes with no application changes.
- AWS X-Ray: And AWS X-Ray gives workload visibility, tracing requests to show which component fails or slows down.
Exam key takeaway: Improve apps you can't change with Auto Scaling self-healing, a load balancer across AZs, RDS Multi-AZ, a queue to absorb bursts, Elastic Disaster Recovery, and X-Ray for visibility.
Service Quotas and Immutable Infrastructure Task 2.2 · Automation that keeps infrastructure consistent, and limits that can break failover
Service Quotas And Throttling - Every account has quotas, per Region, for instances, IPs, API rates - Raise quotas in the standby Region before a disaster, not during it - Handle throttling with retries and exponential backoff - Alarm on usage approaching quotas with CloudWatch
Immutable Infrastructure - Replace servers instead of patching them in place - Build images, then roll out with blue/green or rolling deployments - Define everything in AWS CloudFormation to recreate it anywhere - Use AWS Config to detect drift from the approved configuration
Exam key takeaway: Raise service quotas in the standby Region ahead of time and retry throttled calls with backoff; replace rather than patch, using images, blue/green and CloudFormation.
Durability and Availability of Data Task 2.2 · Storage options and their replication characteristics
| Service | Replication | Resilience Tip |
|---|---|---|
| Amazon S3 Standard | Across at least three AZs; eleven nines of durability | Add CRR for Region failure |
| S3 One Zone classes | A single Availability Zone | Only for data you can re-create |
| Amazon EBS | Replicated within one AZ | Snapshots to S3; copy across Regions |
| Amazon EFS Standard | Across multiple AZs | Replication to another Region |
| Amazon DynamoDB | Across three AZs in a Region | Global tables for multi-Region |
| Amazon Aurora | Six copies across three AZs | Global Database for cross-Region DR |
Data must be durable and available. S3 Standard stores data across at least three Availability Zones, with eleven nines of durability. Add Cross-Region Replication to survive a Region failure.
The S3 One Zone classes keep data in a single zone, so use them only for data you can re-create.
An E B S volume is replicated within one zone only. Take snapshots, which are stored regionally, and copy them across Regions for D R.
E F S Standard stores data across multiple zones, and E F S replication copies it to another Region.
DynamoDB replicates across three zones automatically, and global tables add active-active replication across Regions.
Aurora keeps six copies of data across three zones, and Aurora Global Database replicates to other Regions for disaster recovery.
Exam key takeaway: S3 Standard, EFS, DynamoDB and Aurora span multiple AZs; EBS and One Zone classes do not, so snapshot or replicate them; add cross-Region replication for Region failures.
Review
Exam Distractors: What to Reject Answers that sound reasonable but fail the scenario, and what to choose instead
- Use a read replica for automatic failover. Use RDS Multi-AZ for availability.
- Use SNS so consumers can process later. SQS stores messages until they are pulled.
- Scale vertically for unlimited growth. Scale horizontally behind a load balancer.
- Multi-site active/active for a low-budget, hours-RTO app. Backup and restore fits hours of RTO.
- Keep session state on each web server. Store sessions in ElastiCache or DynamoDB.
- Rely on default quotas in the DR Region. Raise quotas there before a disaster.
Exam key takeaway: Reject read replicas for failover, SNS for storage of messages, vertical scaling for growth, active/active on a tight budget, stateful web servers, and default DR quotas.
Where current AWS differs from the exam guide
- Regional NAT gateways and other networking changes are covered in Domain 1; this domain's services match current AWS documentation as of November 2026.
References
- AWS Certified Solutions Architect – Associate exam page — checked Nov 30, 2026
Check your understanding
Each order event must reach billing, shipping and analytics independently.Show answerHide answer
Answer
SNS fan-out to three SQS queues.Bank transactions per account must be processed in order exactly once.Show answerHide answer
Answer
SQS FIFO queue.RPO of minutes, RTO under 30 minutes, modest budget, across Regions.Show answerHide answer
Answer
Pilot light or warm standby.Thousands of Lambda functions exhaust database connections.Show answerHide answer
Answer
Amazon RDS Proxy.Partners must upload files by SFTP into S3 with no servers to run.Show answerHide answer
Answer
AWS Transfer Family.