AWS Crash Day

SA online assessment · one-day prep
Exam Wed

Today's plan

Done so far: Part 0 (regions/AZs, managed-vs-self, IAM) and a first read of the Leadership Principles. Everything else happens today — about 5½ focused hours. Entirely doable.

Progress today

The schedule

Tomorrow — exam day

Format reminder

1. Workstyles (10 min, rating scales) · 2. Customer simulation (15 min, situational judgment) · 3. Technical multiple-choice (20 min, you pick 2 of 4 domains) · 4. Survey (1 min).

Candidate reports: the technical part is breadth, not depth. The behavioral portions are the bulk and what Amazon weighs most — that's why tonight's SJT hour matters as much as the lessons.

Extra resources (only if time allows)

Lessons

The whole study guide, condensed for a phone screen. Read in order — each lesson builds on the last. Tap the quick-checks before revealing; recall is the point.

1 · Compute: the scaling story · 45m✓ DONE

One continuous story: you deploy on one server, it grows, and each growth pain introduces the next service. This story is the Cloud Compute domain.

One server — EC2

EC2 (Elastic Compute Cloud) rents you a virtual machine (an instance). To launch one you pick an AMI (Amazon Machine Image — the disk image it boots from; snapshot your configured box into a custom AMI to stamp out clones), an instance type, and optional user data (a first-boot script).

FamilyFor
Tburstable — dev boxes, low-traffic sites
Mgeneral purpose — the default
Ccompute-optimized — batch, encoding
Rmemory-optimized — in-memory caches/analytics (R = RAM)
P/GGPU — ML training/inference
I/Dfast local storage — high-IOPS databases

Disks

  • EBS (Elastic Block Store) — the durable network-attached disk. One AZ (Availability Zone), one instance at a time. Types: gp3 (default SSD), io2 (high IOPS — input/output operations per second), st1 (cheap HDD). Back up with snapshots.
  • Instance store — physically attached scratch disk, wiped on stop. Temp/cache only.
  • EFS (Elastic File System) — a managed NFS (network file system) share, mountable by many instances at once.

Paying for EC2 — heavily tested

  • On-Demand — by the second, no commitment, priciest. Spiky/unknown/short-term.
  • Reserved / Savings Plans — 1–3 yr commitment, up to ~72% off. Steady 24/7 workloads.
  • Spot — spare capacity, up to ~90% off, 2-minute reclaim warning. Only interruptible restartable work: batch, CI, stateless workers. Never databases.
  • Dedicated Hosts — whole physical server, licensing/compliance. Rarely the answer.
Exam reflex

"Restartable nightly batch job, most cost-effective?" → Spot. "Always-on production fleet, cheapest?" → Reserved/Savings.

Overloaded — scale out, not up

Vertical scaling (bigger box) has a ceiling, needs restarts, and stays a single point of failure. The cloud answer is horizontal: many small identical instances, which needs two pieces:

  • ALB (Application Load Balancer) — HTTP-aware (layer 7): routes by path/hostname, terminates TLS. Default for web apps.
  • NLB (Network Load Balancer) — raw TCP/UDP (layer 4): extreme throughput, static IP. Those three phrases in a question — non-HTTP protocol, millions of req/s, fixed IP — mean NLB.
  • Both run health checks and stop routing to dead targets.
  • Auto Scaling Group (ASG) — takes a launch template + min/desired/max. Adds/removes instances via target tracking ("keep CPU at 50%" — the usual right answer) or scheduled scaling (predictable 9am spikes), replaces unhealthy instances, spreads across AZs.
Memorize as a unit

The canonical web architecture: ALB → Auto Scaling Group of EC2 across multiple AZs → Multi-AZ managed database. Most "make this scalable/available" questions are this picture.

Consequence: instances can die anytime, so they must be stateless — sessions and files live elsewhere (Lesson 3).

Containers

Push images to ECR (Elastic Container Registry), run via an orchestrator: ECS (Elastic Container Service — AWS's own, simpler; the default when there's no Kubernetes history) or EKS (Elastic Kubernetes Service — managed Kubernetes; pick it when the team already knows Kubernetes or needs portability). Separately choose the compute underneath: EC2 nodes you manage, or Fargateserverless containers, no nodes to see. Fargate is not an orchestrator; it's the machine-less layer under ECS or EKS.

Exam reflex

"Run containers without managing servers, no Kubernetes experience" → ECS on Fargate.

Lambda

Lambda runs a single function per event (HTTP via API Gateway, file landing in S3, queue message, cron). Scales from zero automatically; you pay per millisecond — nothing when idle. The catches (tested): 15-minute max runtime, 128MB–10GB memory (CPU scales with it), cold starts add first-hit latency.

The compute ladder — most useful thing in this lesson

Prefer the highest rung that fits: 1. Lambda (event-driven, short, bursty) → 2. Fargate (containers, long-running, no servers) → 3. ECS/EKS on EC2 (node control) → 4. EC2 (full OS control, legacy, special hardware). Also recognize Elastic Beanstalk: "here's my code, provision everything" PaaS (platform as a service).

Quick check
A job runs 45 minutes nightly on a schedule. Why not Lambda, and what instead?
Quick check
An in-memory analytics database needs which instance family? And who should never run on Spot?
Quick check
Traffic spikes every day at 9am and responses slow down. The fix?
2 · Storage & networking · 40m✓ DONE

S3 — object storage

S3 (Simple Storage Service) stores objects in buckets, addressed by key over HTTP — no filesystem, no mounting. Eleven-nines durable, effectively infinite, cheap. Default answer for: static site assets, backups, logs, data lakes, user uploads.

  • Storage classes trade price vs access: Standard → Standard-IA (Infrequent Access) → Glacier tiers (archive; retrieval minutes–hours). Lifecycle policies move objects automatically ("after 90 days → Glacier").
  • Buckets are private by default and should stay that way — serve via CloudFront.
Keep the three straight

EBS = one instance's disk · EFS = shared filesystem · S3 = objects over HTTP.

VPC — your private network

A VPC (Virtual Private Cloud) is your isolated network in a region. Inside it, subnets, each pinned to one AZ:

  • Public subnet — routes to the Internet Gateway; holds load balancers, bastion hosts.
  • Private subnet — no internet route; app servers and databases live here. For outbound-only internet (OS updates, external APIs), traffic exits via a NAT (Network Address Translation) Gateway in a public subnet. Nothing outside can initiate inward.

Standard layout: public subnets hold the ALB; private subnets hold app instances + database; two of each across two AZs.

Guaranteed question — firewalls

Security Group = instance-level, stateful (allow inbound 443 → the response is auto-allowed out), allow-rules only, can reference other SGs ("DB accepts 5432 only from the app tier's SG" — the idiomatic pattern).

NACL (Network Access Control List) = subnet-level, stateless (allow both directions explicitly), allow and deny rules (use: blocklist an IP range).

Default answer for "restrict access to an instance" → security group.

Recognize by name: VPC endpoints (reach S3/AWS services privately, no internet path), VPC peering / Transit Gateway (connect VPCs), Direct Connect (dedicated physical fiber from a data center), Site-to-Site VPN (encrypted tunnel over the internet).

DNS and CDN

  • Route 53 — managed DNS (Domain Name System). Routing policies: weighted (10% to the new version — gradual rollout), latency (nearest region), failover (health-checked primary → standby; cheap DR), geolocation (EU users → EU stack; compliance).
  • CloudFront — the CDN (content delivery network): caches at hundreds of edge locations, pulls from an origin (S3 or ALB). Also fronts APIs, does TLS at the edge.
Canonical answer

"Serve a static site globally, low latency, low cost" → S3 + CloudFront.

Quick check
An instance in a private subnet needs OS updates from the internet; nothing may connect in. What do you add?
Quick check
Recite the pairing: security group vs NACL — level, state, rule types.
Quick check
Which Route 53 policy for: (a) send users to the nearest region, (b) shift 10% of traffic to a new version, (c) cheap DR failover?
3 · Databases & caching · 30m✓ DONE

Relational — RDS and Aurora

RDS (Relational Database Service) = managed relational databases (PostgreSQL, MySQL, …): AWS handles provisioning, patching, backups, point-in-time restore; you get an endpoint. Running your own DB on EC2 is almost never the right exam answer.

Classic tested distinction

Multi-AZ — synchronous standby in another AZ; auto-failover in ~1 min. For availability. Serves no reads.

Read replicas — asynchronous copies that do serve reads. For read scaling, not failover.

Mantra: Multi-AZ = survive failure; read replicas = spread reads. Production wants both.

Aurora — AWS's own MySQL/Postgres-compatible engine: ~3–5× faster, storage auto-grows, 6-way replicated across 3 AZs, up to 15 read replicas, plus Aurora Serverless (scales capacity up/down, even to zero). "Best performance/availability for relational on AWS" → Aurora.

NoSQL — DynamoDB

DynamoDB — fully managed, serverless key-value/document store: single-digit-ms lookups at any scale, pay-per-request option, global tables (multi-region active-active), TTL (time-to-live) expiry, streams (change feed → triggers Lambdas). Its cache DAX (DynamoDB Accelerator) drops reads to microseconds.

Choosing relational vs DynamoDB

Complex joins, ad-hoc queries, transactions, existing SQL app → RDS/Aurora.

Known simple access patterns ("get cart by user id") at massive/unpredictable scale, serverless stack, sub-ms needs → DynamoDB.

Caching — ElastiCache

ElastiCache = managed Redis/Memcached. Two exam patterns:

  • DB overwhelmed by repeated identical reads → cache-aside in front. Cheaper than scaling the DB.
  • Session storage — sessions in Redis instead of instance memory, making instances stateless so the Auto Scaling Group can kill/add freely. (DynamoDB also works.)
Quick check
Product-catalog page hammers RDS with identical reads. Cheapest effective fix?
Quick check
You need automatic failover AND more read capacity on RDS. Which feature gives which?
4 · App patterns & plumbing · 45m✓ DONE

The three-tier web app — asked verbatim

  • Presentation tier — CloudFront + S3 (static single-page app), or web servers.
  • Application (logic) tier — ALB + EC2 ASG, or containers, or API Gateway + Lambda.
  • Data tier — RDS/Aurora (Multi-AZ), DynamoDB, ElastiCache in front.

Know the tier names and the AWS implementation of each — it's both a direct question and the template for scenarios.

The serverless API — AWS's favorite pattern

API Gateway → Lambda → DynamoDB. API Gateway is the managed HTTP front door (routing, throttling, auth, caching); each route triggers a Lambda; state lives in DynamoDB. Scales to zero, pay per request, no servers. "Startup, unpredictable traffic, minimal ops, lowest idle cost" → this stack. User sign-up/login for it → Cognito.

Messaging — decoupling (heavily tested)

Service A calls B synchronously; B dies; A dies too. The fix is async messaging — choosing the right tool is the question:

  • SQS (Simple Queue Service) — work queue: each message processed by exactly one worker. Absorbs bursts, tolerates consumer downtime, auto-retries, parks poison messages in a dead-letter queue (DLQ). Standard (huge throughput, at-least-once) vs FIFO (first-in-first-out — strict order, exactly-once, slower). Triggers: decouple, buffer, burst, protect downstream.
  • SNS (Simple Notification Service) — pub/sub broadcast: one message pushed to every subscriber. Fan-out: SNS topic → multiple SQS queues so invoicing, shipping, analytics each get their own copy. Triggers: notify many, one event → several services.
  • EventBridgeevent bus with routing rules matching on content ("source = orders AND amount > 1000") + cron schedules. Triggers: event-driven architecture, routing by content, scheduled jobs.
  • Step Functionsworkflow orchestration: state machine chaining Lambdas with sequencing, branching, retries, human-approval pauses. Trigger: multi-step process with error handling.
  • Kinesisreal-time streaming of high-volume continuous data (clickstreams, telemetry). Triggers: real-time, streaming, analytics pipeline.
Contrast to lock in

SQS = 1 message → 1 worker (work distribution). SNS = 1 message → all subscribers (broadcast). A single SQS queue can NOT feed three services — they'd steal each other's messages. That's what fan-out fixes.

Shipping code — CI/CD

Recognize the names: CodePipeline (orchestrates) · CodeBuild (builds/tests) · CodeDeploy (rolls out). GitHub plugs into all.

  • Rolling / in-place — replace in batches. No extra infra; reduced capacity mid-deploy, slow rollback.
  • Blue/green — full parallel environment, flip all traffic at once. Instant cutover and instant rollback; costs 2× during deploy.
  • Canary — 5% to the new version, watch error metrics, shift gradually. Best blast-radius control; needs weighted routing + monitoring.

Infrastructure as Code (IaC): CloudFormation — declare the whole stack in YAML, created/updated as a unit. CDK (Cloud Development Kit) — same thing written in Python/TypeScript. "Reproducible environments / avoid click-ops" → IaC.

Security & observability plumbing

  • Code gets AWS access via IAM (Identity and Access Management) roles. Never keys in code. Least privilege.
  • Secrets → Secrets Manager (rotation built in), fetched at runtime. Config → SSM (Systems Manager) Parameter Store.
  • Encryption: KMS (Key Management Service) manages keys; S3/EBS/RDS encrypt at rest with a checkbox; TLS in transit.
  • CloudWatch — metrics, logs, alarms, dashboards.
  • CloudTrail — audit log of every API call ("who deleted that bucket?").
  • X-Ray — distributed tracing across API Gateway → Lambda → DynamoDB.
Tested distinction

CloudWatch = telemetry · CloudTrail = audit · X-Ray = tracing.

Quick check
One "order placed" event must reach invoicing, shipping, and analytics independently. Pattern?
Quick check
Release to 5% of users, watch errors, then shift the rest — what's this called, and how does it differ from blue/green?
Quick check
Security audit asks "who called which AWS API, when, from where?" Which service?
5 · Vocab asked verbatim · 15m✓ DONE
  • Three tiers of a web app: presentation, application (logic), data.
  • TCP (Transmission Control Protocol) vs UDP (User Datagram Protocol): TCP = connection-oriented, reliable, ordered, slower — web/APIs/SSH/databases. UDP = connectionless, no delivery guarantee, fast — DNS, live video/audio, gaming.
PortServicePortService
22SSH53DNS
80HTTP3306MySQL
443HTTPS5432PostgreSQL
  • RPO (Recovery Point Objective) — max acceptable data loss, measured backward from the disaster. RTO (Recovery Time Objective) — max acceptable downtime until restored. Mnemonic: Point = data point you restore to; Time = downtime.
  • DR (disaster recovery) strategies, cheapest/slowest → priciest/fastest: backup & restore → pilot light (data replicated, infra off) → warm standby (small live copy) → multi-site active/active.
  • High availability (brief automated failover — Multi-AZ) vs fault tolerance (zero interruption — stronger, costlier) vs disaster recovery (recover from region-scale loss).
  • Scaling: vertical = bigger machine; horizontal = more machines (the cloud way — needs LB + stateless instances).
Now drill it

Switch to the Drill tab and run the deck until the "remaining" count is low. These cards cover this vocab plus every reflex from Lessons 1–4.

6 · How to pick answers · 10m, read twice✓ DONE

AWS multiple choice has a house style. Given four plausible options:

  • 1. Most managed wins. RDS beats Postgres-on-EC2; Fargate beats self-managed nodes; Lambda beats an idle server — unless the question plants a reason (needs OS control, >15-min runtime, existing Kubernetes).
  • 2. Availability question → multi-AZ + load balancer + auto scaling. Multi-region only if it literally says disaster recovery / region failure.
  • 3. Burst / overload / decouple → put SQS in the middle.
  • 4. Security → IAM role, least privilege, encrypt, private subnet. Hardcoded keys or "make it public" is auto-wrong.
  • 5. The qualifier decides between two valid answers. "MOST cost-effective" → Spot, S3 classes, caching. "LEAST operational overhead" → most managed/serverless. "HIGHEST availability" → more AZs/regions, cost be damned.
  • 6. Two options are usually nonsense — eliminate them first, then apply rules 1–5 to the pair that remains.
  • 7. 20 min ÷ ~15 questions ≈ 80 seconds each: answer, flag, move on. Never sink 5 minutes into one question.
Your domain picks

Application Development + Cloud Compute. Skip Migration (the "7 Rs", Database Migration Service, Snow family — assumes enterprise-migration experience). Modern Data Platform is the fallback only if tomorrow's data topics somehow feel easier — they won't; don't switch.

Flashcards

Tap the card to flip. "Got it" retires the card; "Again" brings it back in a few cards. Progress saves on this device.

Mock exams

Four 25-question sets. Exam 1 is the baseline you cleared; Exams 2–4 skew harder than the real thing — closer distractors, more MOST/LEAST qualifier traps, a few topics half a step past the guide. Take each one timed first; use practice mode to review.

Choose an exam

Timed = closed-book, 20-minute clock, feedback only at the end. Practice shows each answer as you go. Aim for 20+/25 on the harder sets — that pace (80 s/question) is the real constraint.

Behavioral & simulation

SJT = situational judgment test: you rate or rank responses to realistic customer scenarios. It's the bulk of the assessment and what Amazon weighs most — one hour here is worth more than another hour of AWS trivia.

Customer simulation — how to rank responses

You're a trusted advisor, not a salesperson. Rank or choose by:

  • Customer Obsession — understand the actual problem before proposing anything; clarifying questions first.
  • Dive Deep / don't guess — if you don't know, say you'll find out and follow up. Never bluff.
  • Earn Trust — recommend what's right for the customer long-term, even if smaller/cheaper for AWS.
  • Ownership — follow through personally; don't just hand off.
  • Escalate or pull in a specialist rather than winging it.

Workstyles — how to answer rating scales

Answer consistently and lean toward the Leadership-Principles pole: customer first, comfortable with ambiguity, high bar, bias for action, data-driven, direct but respectful. Don't pick neutral on everything (reads as evasive), and don't contradict yourself across reworded repeats of the same trait.

Warm-up 1 · Rank best → worst

A nonprofit CTO asks whether AWS service X meets a compliance requirement you're not sure about. Tap the responses in order, best first:

Warm-up 2 · Pick the best response

A customer wants to buy a large, complex service bundle, but you can see a much simpler and cheaper architecture meets their actual need.

Your Leadership-Principle stories

Write 3–4 sentences each: Situation → Task → Action → Result. Autosaves on this device. These are for the simulation's free-text moments and, later, the interview loop.

Dive Deep · Deliver Results Ownership · Bias for Action Invent and Simplify · Frugality Earn Trust · Customer Obsession Learn and Be Curious Have Backbone; Disagree and Commit

The 16 principles, one line each

  • Customer ObsessionStart with the customer, work backwards.
  • OwnershipAct for the whole company, long-term. Never "not my job."
  • Invent and SimplifyExpect invention; always find ways to simplify.
  • Are Right, A LotStrong judgment; seek diverse perspectives, work to disconfirm your beliefs.
  • Learn and Be CuriousNever done learning; explore new possibilities.
  • Hire and Develop the BestRaise the bar with every hire; develop others.
  • Insist on the Highest StandardsRelentlessly high standards; fix problems so they stay fixed.
  • Think BigBold direction that inspires results.
  • Bias for ActionSpeed matters; most decisions are reversible.
  • FrugalityDo more with less; constraints breed invention.
  • Earn TrustListen, speak candidly, be self-critical, respect others.
  • Dive DeepStay connected to the details; audit with data; be skeptical when metrics and anecdotes differ.
  • Have Backbone; Disagree and CommitChallenge decisions respectfully; then commit fully.
  • Deliver ResultsFocus on the key inputs; deliver with quality, on time.
  • Strive to be Earth's Best EmployerA safer, more productive, more just workplace.
  • Success and Scale Bring Broad ResponsibilityImpact beyond the company; be humble; do better every day.