Skip to content
RankCore.AI
← All posts

AWS in Plain English: 12 Services, One App — An Interview Study Guide

· AWS, Interview, Lambda, S3, Cloud

The short video above makes a useful claim: AWS has more than 200 services, but 12 of them explain most applications. It builds a photo-sharing app in plain English. This guide is the interview version of that lesson. It walks the same architecture, then goes service by service through the concepts interviewers actually probe — with official numbers, model answers, and a note wherever the two-minute reel simplifies.

Save the cheat sheet, then keep reading until you can explain why each piece is there.

AWS in Plain English: 12 services, 1 app

Limits below are checked against AWS documentation as of late November 2026. Quotas change; confirm the current docs before you quote a number in an interview.

One app, 12 services

A mobile photo app has to accept an upload, store the file, record metadata, notify the owner, and serve the image quickly worldwide — without melting when 10,000 people upload at once.

IAM is the security model for all of it: users, roles, and policies decide who and what may call each API. VPC is the private network where you place EC2 (if you still run a server) and RDS (the relational store for users, likes, and comments). Photos do not belong in the database; they go to S3. CloudFront sits in front of S3 and caches objects at edge locations. The mobile client talks to API Gateway, which can invoke Lambda (for example, to write metadata or kick off a resize) or forward to a service on EC2. An S3 event can also trigger Lambda directly to build a thumbnail. DynamoDB holds hot, simple access patterns — a “who’s online” feed, a like counter, a session pointer — with single-digit millisecond reads. Upload bursts land on SQS so workers pull at a safe rate. SNS fans a “someone liked your photo” event out to push, email, or another queue. CloudWatch gathers logs, metrics, and alarms when error rates or latency jump.

Nuance on the video: not every service “lives inside” the VPC. EC2 and RDS usually do. S3, DynamoDB, SNS, SQS, CloudFront, API Gateway, IAM, and CloudWatch are regional or global services. Lambda may run outside your VPC or, if you attach it, inside it (with cold-start and ENI trade-offs). “Walled off from the rest of the internet” is true only for private subnets. Public subnets have a route to an internet gateway.

VPC: the private network

A VPC is your isolated network in a Region: a CIDR block, subnets (typically public and private, across two or more Availability Zones), route tables, and gateways.

  • Internet gateway (IGW) — bidirectional internet for resources with public IPs in public subnets.
  • NAT gateway — outbound internet from private subnets, so RDS or private EC2 can pull patches without being reachable inbound.
  • Security groups — stateful, instance- or ENI-level allow rules. Return traffic is automatically allowed.
  • Network ACLs — stateless, subnet-level allow/deny. You must allow both inbound and outbound explicitly.

Q: Security group vs NACL? A security group is stateful and attaches to an ENI; a NACL is stateless and attaches to a subnet. Start with security groups; use NACLs as a coarse subnet guardrail.

EC2: a computer in the cloud

EC2 is a virtual (or bare-metal) server. You choose a family and size (for example T, M, C, R, GPU instances), an AMI, a subnet, a security group, and an instance profile (an IAM role).

Purchasing options interviewers expect: On-Demand, Savings Plans, Reserved Instances, Spot (reclaimable, deep discount), and Dedicated Hosts. Linux On-Demand and Spot are typically billed per second with a one-minute minimum — “rent by the second” in the video is close, not universal for every OS or older billing mode. “As much CPU and memory as you need” is also loose: you pick a fixed instance type (or a fleet / Auto Scaling group). See our Auto Scaling Groups guide for scale-out.

Q: What is an AMI? A versioned template of the root volume and launch permissions — OS, baked packages, block-device mapping. You launch many identical instances from one AMI.

RDS: managed SQL

RDS runs engines such as PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, and Db2 (Aurora is a related, separate service). AWS manages installation, backups, patches, and optional Multi-AZ failover. You still design the schema, queries, and access.

  • Multi-AZ — a primary in one AZ, a standby in another. Failover is for high availability, not extra read capacity (the standby is not a read replica).
  • Read replicas — asynchronous copies you can read from, to scale reads. They are not a synchronous HA standby.

Put RDS in private subnets; allow only the app security group on 5432 or 3306. Use encryption at rest (KMS) and in transit. For Lambda, prefer RDS Proxy so you do not exhaust connections on cold starts.

Q: Multi-AZ or read replica for an outage? Multi-AZ. A read replica can lag and is not automatic failover unless you promote it (and promotion is a decision, not the same as Multi-AZ).

S3: photo storage

S3 is object storage: buckets and keys, not a POSIX filesystem. It scales to enormous capacity — “practically unlimited” is fair as a mental model, though object size tops out at 5 TB and accounts have quotas.

Officially, S3 Standard and several other classes are designed for 99.999999999% (11 nines) durability and, for Standard, 99.99% availability, by storing data across at least three AZs. Durability is not availability, and “designed for” is not a mathematical guarantee that you will never lose an object. S3 One Zone-IA keeps data in a single AZ.

Storage classes: Standard, Intelligent-Tiering, Standard-IA, One Zone-IA, Glacier Instant Retrieval, Glacier Flexible Retrieval, Glacier Deep Archive. Use lifecycle rules to move old photos down the list.

Since 2020, S3 has strong read-after-write consistency for PUT and DELETE (including overwrites) and for LIST, in all Regions. Updates to one key are atomic; there are no atomic transactions across keys.

Block public access, use bucket policies, and prefer IAM roles over long-lived keys. If CloudFront is the only reader, use Origin Access Control (OAC) — the newer replacement for Origin Access Identity (OAI).

Q: Is S3 eventually consistent? Not for the usual PUT/GET/DELETE/LIST path. Answer with strong consistency, and mention that concurrent writers to the same key are last-writer-wins.

DynamoDB: fast NoSQL

DynamoDB is a managed key-value and document store. You model access patterns, not tables in the SQL sense. Every item needs a partition key; a sort key is optional. GSIs (global secondary indexes) give alternative keys; LSIs share the partition key and must be defined at table creation. By default, data is replicated across three AZs.

Reads can be eventually consistent (default) or strongly consistent (same-Region, not for GSIs). Capacity is on-demand or provisioned (with optional auto scaling). The video’s “milliseconds” is the right order of magnitude when the key design is sound. A hot partition — one key getting all the traffic — is the classic interview failure mode.

Q: When RDS vs DynamoDB? RDS for relational queries, joins, and complex transactions. DynamoDB for known key-based access patterns, massive scale, and tight Lambda integration. DynamoDB has transactions, with limits; it is not a drop-in SQL replacement.

Lambda: code on demand

Lambda runs your function on a trigger: S3, API Gateway, SQS, EventBridge, or a direct invoke. You do not manage servers. You pay for allocated memory and duration.

Official timeout: up to 1,800 seconds (30 minutes) per invocation. Memory is 128 MB to 10,240 MB; CPU scales with memory (about one vCPU at 1,769 MB). Some Lambda Managed Instances invocations can run longer (officially up to 90 minutes in stated cases).

Nuance: many blogs, flashcards, and even some interviewers still say 15 minutes, which was the long-standing limit. Official AWS Lambda quotas now list 30 minutes. In an interview, give the current official number and mention that older materials say 15.

Cold starts happen when Lambda must create a new execution environment. They get worse with large packages, VPCs (less so than they used to, but still a topic), and runtimes that boot slowly. Provisioned concurrency trades money for warmer starts. For deeper metrics, see our Lambda monitoring cheatsheet.

Q: Why not put a two-hour job on Lambda? It exceeds the 30-minute quota. Use a container on ECS/Fargate or EC2, or break work into stepped tasks (SQS, Step Functions).

API Gateway: the front door

API Gateway is the HTTPS entry point: routing, throttling, auth, and mapping to Lambda, a VPC service, or another HTTP backend. Types: REST, HTTP, and WebSocket APIs. Auth is not automatic — the video’s “gets checked” only happens if you configure IAM, a JWT/Cognito authorizer, a Lambda authorizer, or API keys (keys are not a strong identity system).

Q: Why put API Gateway in front of Lambda? TLS termination, throttling, usage plans, auth, a stable HTTPS URL, and a separation between clients and function names or versions (aliases, stages, canaries).

CloudFront: the global CDN

CloudFront caches at edge locations. For the photo app, the origin is usually S3. Set cache behaviors and TTLs; use versioned object keys or cache invalidations after updates. Keep the bucket private and allow CloudFront through OAC. HTTPS, field-level encryption, and geo restrictions show up in harder interviews. CloudFront is not a substitute for authorization of private user photos — signed URLs or signed cookies are.

Q: CloudFront vs S3 Transfer Acceleration? Transfer Acceleration speeds uploads to S3 via edge locations. CloudFront is primarily for download caching and content delivery. They solve different directions.

SNS and SQS: notify vs queue

SNS is pub/sub: one message to a topic, many subscribers (SQS, Lambda, HTTP, email, SMS, mobile push). SQS is a queue: producers send, consumers poll, work is buffered.

The classic pattern is SNS fan-out to several SQS queues — one “photo uploaded” event, many independent workers.

  • Standard SNS/SQS: high throughput, at-least-once delivery, best-effort ordering. Consumers must be idempotent.
  • FIFO topics and queues: ordered per message group, and SQS FIFO supports exactly-once processing (no duplicates introduced by the queue). Throughput is lower unless you enable high-throughput FIFO mode.

The video’s “10,000 uploads wait in line” is the right picture for SQS as a buffer. It is not a guarantee of exactly-once work unless you chose FIFO and designed the consumer correctly.

Q: SNS or SQS to absorb a spike? SQS. SNS pushes immediately; if the endpoint is down, you rely on retries and a dead-letter queue. For decoupling and backpressure, queue it.

CloudWatch: logs and alerts

CloudWatch is metrics, logs, alarms, and dashboards (plus Events via EventBridge, which is now a separate product). Alarms watch a metric and notify via SNS. Log groups collect Lambda, VPC, and app logs. Standard EC2 monitoring is 5-minute; detailed monitoring is 1-minute (and costs more). Interviewers like the difference between a metric alarm and a composite alarm, and between filtering logs vs emitting custom metrics.

Q: How do you know Lambda is failing in production? Watch errors, duration, throttles, and concurrent executions; ship structured logs; alarm on error rate and iterator age if you use streams or queues. Don’t only “check the console when users complain.”

IAM: the security guard

IAM is identity and authorization for the AWS API.

  • Users (and access keys) — long-lived human or service identities. Prefer SSO and roles over standing keys.
  • Groups — permission sets for users.
  • Roles — assumable identities with temporary credentials. EC2 instance profiles, Lambda execution roles, and cross-account access all use roles.
  • Policies — JSON allow/deny on actions and resources. Identity-based (attached to user/group/role) and resource-based (S3 bucket policy, SQS queue policy).

Default is deny. Least privilege means the minimum actions and resources for the task. Permission boundaries and Service Control Policies (Organizations) can cap even administrators. The video’s “nothing gets in without permission” matches default deny — unless a resource is accidentally public, or a policy is too broad ("Action": "*", "Resource": "*"), which is a frequent exam and interview trap.

Q: User or role for an EC2 app? A role (instance profile). Never bake access keys into an AMI.

Shared responsibility

AWS’s shared responsibility model: AWS is responsible for security of the cloud (data centers, hardware, hypervisor, the managed control plane). You are responsible for security in the cloud: IAM, network design, encryption settings, data classification, and — on EC2 — the guest OS, patches, and application. For RDS and Lambda, AWS patches the platform; you still secure credentials, code, and who can invoke what. “AWS handles the backups” in the video is true if you enabled and configured automated backups and tested restores.

A system-design walk-through

“Design Instagram-lite on AWS” is a common prompt. A strong answer uses these 12 services and states trade-offs:

  1. Clients authenticate (often Amazon Cognito, outside this list) and call API Gateway.
  2. The “upload” API returns a pre-signed S3 URL. The phone PUTs the object directly to S3, not through Lambda (payload and timeout limits).
  3. S3 emits an event. Lambda writes a DynamoDB item and/or enqueues SQS. A second function (or EC2/ECS worker) creates thumbnails and stores them under a new key.
  4. RDS holds relational data (follows, comments) if you need SQL. DynamoDB holds the feed and presence if you design the keys first (USER#123 / PHOTO#time).
  5. Reads of images go CloudFront → S3 (OAC). Private photos use signed cookies or signed URLs.
  6. Likes publish to SNS, which fans out to a push endpoint and an SQS-backed email worker.
  7. CloudWatch alarms on 5xx, Lambda errors, SQS age, and RDS CPU. IAM roles grant each function only s3:GetObject on the photo prefix, not the whole account.

Mention Multi-AZ RDS, S3 versioning, DLQs, and least privilege unprompted. That is what separates a list of services from a design.

Common traps (and better answers)

  • "S3 is 11 nines available." No. Official language is designed for 11 nines of durability and, for S3 Standard, 99.99% availability. Mixing the two is a frequent fail.
  • "I'll put the database in a public subnet so I can connect from home." Use a bastion, VPN, or SSM Session Manager, and keep RDS private.
  • "Lambda has a 15-minute max." That was the old quota. Official docs now list 30 minutes. Say both so you sound current.
  • "Multi-AZ gives me more read IOPS." It gives you a standby. Reads still hit the primary unless you add replicas.
  • "SQS never loses or duplicates messages." Standard queues are at-least-once. Design for duplicates.
  • "Security groups are firewalls at the subnet." That is closer to a NACL. Security groups attach to the ENI.
  • "CloudFront makes my bucket private automatically." You still have to block public access and set OAC (or signed URLs).
  • "DynamoDB is just faster RDS." If you need ad-hoc SQL joins, it is the wrong tool.

Memorizing the trap plus the correction is often worth more than memorizing a feature list.

A 30-minute self-quiz

Without notes, answer out loud:

  1. Draw the photo-app request path from the phone to S3 and back through CloudFront.
  2. Contrast Multi-AZ and a read replica, and say when you would use both.
  3. State the current Lambda timeout and memory range, and when you would not use Lambda.
  4. Explain default-deny IAM, and why an EC2 application should use a role instead of access keys.
  5. Describe SNS fan-out to SQS, and when you would choose a FIFO queue.

If those five answers are crisp, you are ready for the architecture half of a mid-level AWS interview. The other half is usually a debugging story: "latency spiked" (CloudWatch, then the queue age, then the database CPU) or "an object went public" (Block Public Access, bucket policy, CloudTrail).

Cheat sheet

ServicePlain EnglishInterview hook
VPCPrivate networkPublic vs private subnet, IGW vs NAT, SG vs NACL
EC2VM you rentAMI, instance types, On-Demand / Spot / Savings Plans
RDSManaged SQLMulti-AZ ≠ read replica
S3Object storage11 nines designed durability, strong consistency, classes, 5 TB max object
DynamoDBFast NoSQLPartition key, GSI, hot partitions
LambdaCode on demand30-minute official max (not 15), cold starts, memory/CPU
API GatewayFront doorREST vs HTTP vs WebSocket; auth is configured
CloudFrontCDNEdge cache, OAC, signed URLs
SNSPub/sub notifyFan-out to SQS; standard vs FIFO
SQSQueue / bufferAt-least-once vs FIFO exactly-once processing
CloudWatchLogs, metrics, alarms5-min vs detailed 1-min; alarm → SNS
IAMWho can do whatRoles, policies, least privilege, default deny

FAQ

Do I need all 12 for a tiny app? No. A first version might be S3 + Lambda + API Gateway + DynamoDB + IAM. The other services appear as you add a network boundary, a relational model, a queue, or a CDN.

Is Lambda always cheaper than EC2? For spiky, short work, usually yes. For steady 24/7 load, a small EC2 or Fargate service can win. Run the numbers.

Does Multi-AZ RDS improve read performance? No. Use read replicas for reads, Multi-AZ for failover.

Can I put secrets in Lambda environment variables? They are often stored encrypted with KMS, but AWS Secrets Manager or SSM Parameter Store is the better interview answer for rotation and access control.

What’s the first sentence of a good AWS interview answer? Name the service, the problem it solves, one hard limit or trade-off (timeout, consistency, AZ behavior), and how IAM and logging apply. That pattern fits all 12.

Follow @rankcore.ai, and read more on blog.rankcore.ai.

Want to go deeper?

Our step-by-step video courses turn these ideas into results.

See courses

Comments

Sign in or create a free account to join the discussion.

No comments yet — be the first.