Architecture Patterns
How to read SAA-C03 scenario questions, and a catalog of the classic, serverless and building-block architectures that the exam keeps coming back to.
Most SAA-C03 questions are short stories: a company, a workload, a problem and four architectures. This group walks through the stories the course tells, from a one-instance website to serverless apps, and the principles behind them. Each page ends with the exam keywords that point to that pattern.
How to read a scenario question
- Find the job. What must the system do: serve a website, process uploads, store sessions, survive an AZ failure?
- Find the qualifier. It usually decides between two working answers:
- "most cost-effective" → serverless or managed, Spot or Savings Plans, caching, S3 storage classes;
- "least operational overhead" → managed services (Aurora, Fargate, Lambda, DynamoDB) over self-managed EC2;
- "highly available" → Multi-AZ, a load balancer and an Auto Scaling group across at least two AZs;
- "fault tolerant" or "no downtime" → enough capacity left after losing an AZ, active-active;
- "lowest latency for global users" → CloudFront, Global Accelerator, DynamoDB global tables, Aurora Global Database;
- "decouple" → SQS, SNS, EventBridge between the parts.
- Find the constraints. "Without changing the application", "within 15 minutes", "must not traverse the internet", "existing on-premises Active Directory". A constraint rules out answers that otherwise work.
- Eliminate. Two answers are usually wrong on a fact (a service that can't do it). Of the last two, pick the one that meets the qualifier with the fewest moving parts.
The pattern catalog
Classic web apps
Stateless web app
WhatIsTheTime.com: from one instance to an ALB and an ASG across AZs.
Stateful web app
MyClothes.com: sessions, caching, read replicas and security groups.
WordPress and fast launches
Aurora, EBS vs EFS for shared files, golden AMIs, the 3-tier app.
Serverless apps
Serverless mobile app
MyTodoList: API Gateway, Lambda, DynamoDB, Cognito, DAX.
Serverless website
MyBlog.com: CloudFront and S3, global tables, emails, thumbnails.
Microservices
Services built their own way, and offloading downloads to CloudFront.
Building blocks
Event processing
Lambda with SQS and SNS, fan-out, S3 events, EventBridge, API Gateway to Kinesis.
Caching strategies
Where to cache along a request, and the trade-offs.
Blocking an IP address
NACLs, security groups, WAF and CloudFront.
High performance computing
Data transfer, EFA, cluster placement, FSx for Lustre, Batch.
Highly available EC2
Keep one instance and its Elastic IP alive.
Principles
Well-Architected
The six pillars, the Well-Architected Tool and Trusted Advisor.
Immutable infrastructure
Replace, don't patch: golden AMIs, IaC, blue/green.
Patterns that come back everywhere
- Stateless compute, state elsewhere. Keep sessions in ElastiCache or DynamoDB and files in S3 or EFS, so any instance (or Lambda) can serve any request and the fleet can scale out freely.
- Load balancer + Auto Scaling group across AZs is the default answer for highly available EC2.
- Managed over self-managed whenever the question cares about operational overhead.
- Cache in front of what is slow or expensive: CloudFront, API Gateway caching, ElastiCache, DAX.
- Queues and topics between parts so one part can fail or slow down without taking the others with it.
- Least privilege between tiers: security groups that reference each other.
AWS documentation
Instance Scheduler on AWS
The Instance Scheduler on AWS solution for automatically stopping and starting EC2 and RDS instances on a schedule to cut costs, and how it works.
Stateless web app: WhatIsTheTime.com
How a stateless website grows from one EC2 instance with an Elastic IP to a load balancer and an Auto Scaling group across Availability Zones, and what each step teaches for the exam.