SkillSprout
Chapter 14 · Lesson 2
Intermediate
6 min read

Architecture Scenarios

Overview

The SAA-C03 exam is made of scenarios: a short business story, a set of requirements and four possible designs. The skill is to translate each requirement into an AWS capability and assemble the simplest architecture that satisfies them all.

A good method is requirement -> capability -> service. "Survive an AZ failure" becomes multi-AZ, which becomes ALB + Auto Scaling across AZs + RDS Multi-AZ. "Users worldwide" becomes edge caching, which becomes CloudFront. "Spiky workloads, no servers to manage" becomes serverless, which becomes Lambda, API Gateway and DynamoDB.

This lesson walks through six common worked scenarios. For each one you will see the requirements, the best design, why it wins and the common wrong answers.

Key Concepts

  • Translate each requirement to a capability and then to a service; satisfy every constraint.
  • Highly available web apps: ALB + Auto Scaling across 2+ AZs + Multi-AZ database.
  • Decoupling with SQS absorbs spikes and lets consumers scale independently.
  • Serverless (API Gateway, Lambda, DynamoDB, S3) minimises operations and scales to zero.
  • Global content: S3 + CloudFront (OAC); dynamic global apps: CloudFront/Global Accelerator + multi-Region.
  • Hybrid: Direct Connect + VPN backup, Storage Gateway, DataSync, Transit Gateway.
  • DR choice depends on RPO/RTO: backup & restore, pilot light, warm standby, active/active.
  • Choose managed services unless the scenario requires OS-level control or a licence constraint.

Detailed Notes

Method: requirement -> capability -> service

Requirement phraseCapabilityLikely service
Survive AZ failureMulti-AZELB + ASG, RDS/Aurora Multi-AZ
Survive Region failureMulti-RegionRoute 53 failover, Aurora Global, S3 CRR
Absorb traffic spikesBuffering/decouplingSQS, Kinesis, API Gateway throttling
Low latency worldwideEdge caching / backboneCloudFront, Global Accelerator
No server managementServerlessLambda, Fargate, DynamoDB, Aurora Serverless
Private access to AWS servicesPrivate connectivityVPC endpoints (Gateway/Interface)
Encrypt and audit keysKey managementKMS (customer managed keys) + CloudTrail
Lowest cost for batchFlexible capacitySpot Instances

Scenario 1: Highly available three-tier web application

Requirements: web app, must survive an AZ failure, database must fail over automatically, minimal downtime for scaling.

Design: Route 53 -> ALB (public subnets, 2+ AZs) -> Auto Scaling group of EC2 (private subnets) -> RDS Multi-AZ in isolated subnets; sessions in ElastiCache/DynamoDB; static assets in S3 + CloudFront. One NAT Gateway per AZ for outbound access. Wrong answers: a single large instance, a single-AZ RDS with read replica (replicas are not automatic HA), instances in public subnets.

Scenario 2: Spiky order processing

Requirements: flash sales cause 50x traffic, orders must never be lost, downstream payment API is rate limited.

Design: API Gateway/ALB -> SQS queue (with DLQ) -> consumers (ASG scaling on ApproximateNumberOfMessagesVisible or Lambda) -> DynamoDB/RDS. SQS FIFO if ordering or de-duplication matters. Why: buffering protects the payment API and ensures durability.

Scenario 3: Serverless web/API backend

Requirements: unpredictable traffic, small team, pay per use.

Design: S3 + CloudFront (static front end), Cognito (users), API Gateway + Lambda, DynamoDB (on-demand), EventBridge/Step Functions for workflows.

Scenario 4: Global static and media delivery

Requirements: global users, private S3 bucket, protect against DDoS.

Design: CloudFront with Origin Access Control to a private S3 bucket, AWS WAF and Shield Standard (automatic), signed URLs/cookies for paid content.

Scenario 5: Hybrid connectivity and migration

Requirements: on-premises data centre, consistent bandwidth, encrypted backup path, 50 TB initial dataset.

Design: Direct Connect (dedicated) with a Site-to-Site VPN as backup, Transit Gateway for multiple VPCs; migrate bulk data with Snowball Edge and ongoing sync with DataSync; Storage Gateway for file/volume/tape access.

Scenario 6: Disaster recovery with tight RTO/RPO

Requirements: RPO of seconds, RTO under 15 minutes, budget-conscious.

Design: Warm standby in a second Region: Aurora Global Database, scaled-down ASG, Route 53 failover with health checks. Pilot light is cheaper but slower; active/active exceeds the budget.

Quick decision flow

text
Need servers? no  -> serverless (Lambda/Fargate/DynamoDB)
Spiky + must not lose requests -> add SQS
Global audience -> CloudFront (HTTP) / Global Accelerator (TCP/UDP)
Private access to S3/DynamoDB -> Gateway endpoint
Compliance on key use -> KMS CMK + CloudTrail
Steady baseline -> Savings Plan; flexible batch -> Spot

Real World Example

Scenario — a ticketing startup preparing for a stadium-tour on-sale.

Tickets for a major tour go on sale at 10:00 and traffic jumps from 200 to 40,000 requests per second for ten minutes. The existing single EC2 web server and single-AZ MySQL database collapse during every sale.

The redesign uses the patterns above. CloudFront serves the static site and cached event pages. An ALB distributes API calls to an Auto Scaling group across three AZs. Purchase requests are placed on an SQS FIFO queue and processed by workers that scale on queue depth, so payments never overload the processor and no order is lost. The ticket inventory is in Aurora Multi-AZ with a read replica for browsing, and seat holds live in ElastiCache for Redis with TTLs. WAF rate-based rules block bots.

During the next on-sale the site stays responsive, the queue drains in 12 minutes, and the team pre-warms capacity with scheduled scaling.

Architecture Diagram

Decoupled, highly available order platform
Architecture
AWS Cloud
Customers
CloudFront + WAF
Region
VPC
ALB
Web / API ASG3 AZs
SQS FIFO+ DLQ
Order workers
ElastiCacheseat holds
Aurora Multi-AZinventory
DynamoDBorders

Edge caching, load balancing across AZs, a queue to absorb spikes and managed data stores.

  1. 1CloudFront with WAF serves cached content and filters bots before traffic reaches the VPC.
  2. 2The ALB spreads API traffic across an Auto Scaling group in several AZs.
  3. 3Purchase requests are written to SQS so spikes never overload the payment path.
  4. 4Workers read from the queue, use ElastiCache for seat holds, and write final orders to Aurora and DynamoDB.

Best Practices

  • ✓Write the requirements as a list before choosing services; check every option against each one.
  • ✓Default to multi-AZ for anything production and decouple tiers with queues.
  • ✓Prefer managed and serverless services when the question mentions operational overhead.
  • ✓Use private subnets and endpoints for back-end tiers and AWS service access.
  • ✓Choose the DR strategy from RPO/RTO, not from habit.
  • ✓Pick purchase options to match the usage pattern (Savings Plans, Spot, On-Demand).
  • ✓Practise sketching each pattern from memory until it is automatic.

Common Interview Questions

Exam Tips

SAA-C03 focus

  • "Spikes and no message loss" -> SQS (add a DLQ and use FIFO for ordering).
  • "Private S3 bucket served globally" -> CloudFront + OAC.
  • "Least operational overhead, unpredictable traffic" -> Lambda + API Gateway + DynamoDB.
  • "On-premises to AWS, dedicated and consistent" -> Direct Connect; backup path -> Site-to-Site VPN.
  • "Many VPCs and on-premises networks, transitive routing" -> Transit Gateway, not peering.
  • "Database HA with automatic failover" -> Multi-AZ; "read scaling" -> read replicas.
  • "Large offline dataset (tens of TB+) with slow network" -> Snowball Edge.
  • Eliminate designs that put databases in public subnets or rely on instance-based state.

Finished this lesson?

0 of 64 lessons done · 0% of the course