Volume 13 · Chapter 8 — Mock Interviews and Rapid-Fire Revision

Exam Rapid-Fire: Service Selection Decision Cards

Goutham Mayaluri 4 min read AWSCloudRDS

8.1 Introduction

The exams are largely “which service fits this scenario?” questions, so this chapter drills the key service comparisons as quick decision cards. Cover the answer, decide, then check - aiming for instant, confident selection.

Decision Card

SQS vs SNS vs EventBridge vs Kinesis?

SQS: decouple/buffer, one consumer per message (competing consumers). SNS: fan one message out to many subscribers. EventBridge: content-based routing and AWS/SaaS integration. Kinesis: continuous, ordered, multi-consumer, replayable streaming. Decouple → SQS; fan-out → SNS; route by content → EventBridge; stream → Kinesis.

Decision Card

S3 vs EBS vs EFS vs FSx?

S3: object storage, API access, durable/unlimited. EBS: block volume for a single instance. EFS: shared Linux NFS across many instances/AZs. FSx: managed Windows (SMB/AD) or Lustre (HPC/ML). Object → S3; single-instance disk → EBS; shared Linux files → EFS; Windows/HPC files → FSx.

Decision Card

RDS vs Aurora vs DynamoDB?

RDS: managed relational engines, ACID, complex queries. Aurora: cloud-native relational, six-way storage, Global Database, Serverless v2 - for demanding/global relational. DynamoDB: key-value at massive scale, single- digit-ms, serverless. Relational/ACID → RDS/Aurora; massive-scale simple key access → DynamoDB.

Decision Card

ALB vs NLB vs GWLB?

ALB: Layer 7, HTTP content-based routing (default for web/microservices). NLB: Layer 4, ultra-low latency, static IP, non-HTTP/extreme throughput. GWLB: Layer 3, insert firewall/IDS appliances inline. HTTP routing → ALB; performance/static IP → NLB; inline appliances → GWLB.

Decision Card

Lambda vs Fargate vs EC2?

Lambda: event-driven, spiky, scale-to-zero (≤15 min). Fargate: containers without managing servers. EC2 (or ECS/EKS on EC2): OS/host control, steady high throughput, GPU. Event-driven → Lambda; containers no-ops → Fargate; control/scale → EC2.

Decision Card

Athena vs EMR vs Redshift?

Athena: serverless ad-hoc SQL directly on S3. EMR: Spark/Hadoop for heavy/custom big-data processing. Redshift: data warehouse for repeated complex BI at scale (+ Spectrum on S3). Ad-hoc S3 SQL → Athena; big-data frameworks → EMR; BI warehouse → Redshift.

Decision Card

ElastiCache vs DAX vs MemoryDB?

ElastiCache Redis: HA/persistence/advanced structures caching; Memcached: simple scale-out cache. DAX: microsecond cache specifically for DynamoDB. MemoryDB: durable in-memory Redis as a primary store. DynamoDB cache → DAX; general cache → ElastiCache; in-memory durable DB → MemoryDB.

Decision Card

Cognito User Pool vs Identity Pool?

User Pool: authentication (user directory, sign-in, MFA, JWT tokens). Identity Pool: authorization to AWS (exchange a token for temporary AWS credentials via an IAM role). Authenticate app users → User Pool; grant them AWS access → Identity Pool.

Decision Card

CloudFront vs Global Accelerator?

CloudFront: CDN caching content at the edge (cacheable HTTP). Global Accelerator: no caching - static anycast IPs + AWS backbone routing + fast failover for dynamic/non-HTTP traffic to Regional endpoints. Cache web content → CloudFront; accelerate dynamic/TCP with static IPs → Global Accelerator.

Decision Card

Kinesis Data Streams vs Firehose?

Data Streams: custom real-time processing, multiple consumers, ordering, replay (you manage shards/consumers). Firehose: fully-managed near-real-time delivery to S3/Redshift/OpenSearch/Splunk with no code. Custom processing → Data Streams; just load to a store → Firehose.

Decision Card

Multi-AZ vs read replica vs Global Database?

Multi-AZ: synchronous standby for automatic failover (availability, no reads). Read replica: async copy to scale reads (can be cross-Region). Aurora Global Database: multi-Region sub-second replication for global reads and fast DR. Availability → Multi-AZ; read scale → replicas; global/DR → Global Database.

Decision Card

SCP vs IAM policy vs permission boundary?

SCP: org-wide maximum permissions (guardrail, deny-wins, doesn’t grant). IAM policy: grants permissions to an identity/resource. Permission boundary: caps the max permissions of an identity (for safe delegation). SCPs and boundaries limit (ceilings); identity/resource policies grant.

8.2 Closing

These decision cards cover the service comparisons the exams test most. Drill them until each selection is instant. The next chapter maps examkeywordsto services, and the following one provides full scenario questions.