<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Chayan Samanta</title>
    <description>The latest articles on DEV Community by Chayan Samanta (@chayan_samanta).</description>
    <link>https://dev.to/chayan_samanta</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4050930%2Ff44672dd-baca-4c97-a0f5-860e9687a4d3.jpg</url>
      <title>DEV Community: Chayan Samanta</title>
      <link>https://dev.to/chayan_samanta</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/chayan_samanta"/>
    <language>en</language>
    <item>
      <title>AWS Cheatsheet</title>
      <dc:creator>Chayan Samanta</dc:creator>
      <pubDate>Tue, 28 Jul 2026 19:50:39 +0000</pubDate>
      <link>https://dev.to/chayan_samanta/aws-cheatsheet-2jo</link>
      <guid>https://dev.to/chayan_samanta/aws-cheatsheet-2jo</guid>
      <description>&lt;h1&gt;
  
  
  🎯 AWS SAA-C03 COMPLETE MASTER STUDY GUIDE — FINAL EDITION
&lt;/h1&gt;







&lt;h1&gt;
  
  
  1️⃣ EXAM DOMAIN BREAKDOWN
&lt;/h1&gt;

&lt;p&gt;&lt;strong&gt;Domain 1: Design Secure Architectures — 30%&lt;/strong&gt;&lt;br&gt;
IAM, KMS, Secrets Manager, VPC security, encryption, compliance&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Domain 2: Design Resilient Architectures — 26%&lt;/strong&gt;&lt;br&gt;
Multi-AZ, DR strategies, decoupling, HA, backup&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Domain 3: Design High-Performing Architectures — 24%&lt;/strong&gt;&lt;br&gt;
Compute selection, storage selection, database selection, caching, networking performance&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Domain 4: Design Cost-Optimized Architectures — 20%&lt;/strong&gt;&lt;br&gt;
Storage classes, compute pricing models, cost tools&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;📌 Domain 1 + 2 = 56% of the exam. Security and resilience are NOT optional study areas.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h3&gt;
  
  
  Task Statement Cheat Sheet
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Domain&lt;/th&gt;
&lt;th&gt;Task Statement&lt;/th&gt;
&lt;th&gt;Core Ask&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;1.1&lt;/td&gt;
&lt;td&gt;Secure network architectures&lt;/td&gt;
&lt;td&gt;SG/NACL/VPC layers&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;1.2&lt;/td&gt;
&lt;td&gt;Secure compute/storage/DB&lt;/td&gt;
&lt;td&gt;Encryption, IAM roles&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;1.3&lt;/td&gt;
&lt;td&gt;Determine access controls&lt;/td&gt;
&lt;td&gt;IAM, SCP, boundaries&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;1.4&lt;/td&gt;
&lt;td&gt;Data security options&lt;/td&gt;
&lt;td&gt;KMS, Secrets Manager&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2.1&lt;/td&gt;
&lt;td&gt;Scalable/loosely coupled&lt;/td&gt;
&lt;td&gt;SQS/SNS/EventBridge&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2.2&lt;/td&gt;
&lt;td&gt;HA/fault tolerant&lt;/td&gt;
&lt;td&gt;Multi-AZ, ASG, ELB&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2.3&lt;/td&gt;
&lt;td&gt;Disaster recovery&lt;/td&gt;
&lt;td&gt;Backup, DRS, RTO/RPO&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3.1&lt;/td&gt;
&lt;td&gt;High-performing storage&lt;/td&gt;
&lt;td&gt;S3 classes, EBS types&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3.2&lt;/td&gt;
&lt;td&gt;High-performing compute&lt;/td&gt;
&lt;td&gt;EC2 families, Lambda&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3.3&lt;/td&gt;
&lt;td&gt;High-performing DB&lt;/td&gt;
&lt;td&gt;Aurora, DynamoDB, DAX&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3.4&lt;/td&gt;
&lt;td&gt;High-performing networking&lt;/td&gt;
&lt;td&gt;CloudFront, GA, Direct Connect&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;4.1&lt;/td&gt;
&lt;td&gt;Cost-effective storage&lt;/td&gt;
&lt;td&gt;Lifecycle, tiering&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;4.2&lt;/td&gt;
&lt;td&gt;Cost-effective compute&lt;/td&gt;
&lt;td&gt;Spot, RI, Savings Plans&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;4.3&lt;/td&gt;
&lt;td&gt;Cost-effective DB&lt;/td&gt;
&lt;td&gt;Aurora Serverless, read replicas&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;4.4&lt;/td&gt;
&lt;td&gt;Cost monitoring&lt;/td&gt;
&lt;td&gt;Cost Explorer, Budgets, CUR&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h1&gt;
  
  
  2️⃣ EXAM FRAMEWORK
&lt;/h1&gt;

&lt;p&gt;&lt;strong&gt;7 Steps:&lt;/strong&gt;&lt;br&gt;
1️⃣ Read the LAST sentence first&lt;br&gt;
2️⃣ Find the REQUIREMENT&lt;br&gt;
3️⃣ Find the CONSTRAINT&lt;br&gt;
4️⃣ Highlight KEYWORDS&lt;br&gt;
5️⃣ ELIMINATE impossible answers&lt;br&gt;
6️⃣ COMPARE the final 2&lt;br&gt;
7️⃣ Pick the BEST-PRACTICE answer&lt;/p&gt;
&lt;h3&gt;
  
  
  🧪 Worked Examples
&lt;/h3&gt;

&lt;p&gt;📝 &lt;em&gt;"...automatic failover, AZ outage, zero data loss, no app changes"&lt;/em&gt; → Eliminate ❌ Read Replica (async, manual) → ✅ &lt;strong&gt;RDS Multi-AZ&lt;/strong&gt;&lt;br&gt;
📝 &lt;em&gt;"...serve video worldwide, lowest latency, signed URLs"&lt;/em&gt; → Eliminate ❌ Direct S3 (no edge cache) → ✅ &lt;strong&gt;CloudFront + S3 (OAC) + Signed URLs&lt;/strong&gt;&lt;br&gt;
📝 &lt;em&gt;"...exactly once, exact order"&lt;/em&gt; → Eliminate ❌ SQS Standard, ❌ SNS → ✅ &lt;strong&gt;SQS FIFO&lt;/strong&gt;&lt;br&gt;
📝 &lt;em&gt;"Nightly batch job, 2 hours, must not need patching, lowest cost, fault-tolerant"&lt;/em&gt; → Eliminate ❌ Lambda (&amp;gt;15min limit), ❌ On-Demand EC2 → ✅ &lt;strong&gt;AWS Batch on Spot / Fargate&lt;/strong&gt;&lt;br&gt;
📝 &lt;em&gt;"Users worldwide need lowest latency access to a REST API backed by Lambda, with throttling"&lt;/em&gt; → Eliminate ❌ ALB alone → ✅ &lt;strong&gt;API Gateway (edge-optimized) + Lambda&lt;/strong&gt;&lt;br&gt;
📝 &lt;em&gt;"500TB, 1 week deadline, 100Mbps line"&lt;/em&gt; → Eliminate ❌ DataSync (too slow) → ✅ &lt;strong&gt;Snowball Edge&lt;/strong&gt;&lt;br&gt;
📝 &lt;em&gt;"Recover in under 1 minute, region failure, cost not a concern"&lt;/em&gt; → Eliminate ❌ Warm Standby → ✅ &lt;strong&gt;Multi-Site Active/Active&lt;/strong&gt;&lt;br&gt;
📝 &lt;em&gt;"No EC2 in Sandbox OU should ever get a public IP, regardless of IAM permissions"&lt;/em&gt; → Eliminate ❌ Security Group → ✅ &lt;strong&gt;SCP&lt;/strong&gt;&lt;br&gt;
📝 &lt;em&gt;"Ad-hoc SQL on 2 years of raw CSV in S3, no infra"&lt;/em&gt; → Eliminate ❌ Redshift (requires load) → ✅ &lt;strong&gt;Athena&lt;/strong&gt;&lt;br&gt;
📝 &lt;em&gt;"On-prem VMware → EC2, minimal downtime, continuous replication until cutover"&lt;/em&gt; → Eliminate ❌ Snowball → ✅ &lt;strong&gt;MGN&lt;/strong&gt;&lt;/p&gt;




&lt;h1&gt;
  
  
  3️⃣ THE AWS THINKING PROCESS
&lt;/h1&gt;

&lt;ol&gt;
&lt;li&gt;Managed &lt;strong&gt;&amp;gt;&lt;/strong&gt; Self-managed&lt;/li&gt;
&lt;li&gt;Serverless &lt;strong&gt;&amp;gt;&lt;/strong&gt; Provisioned&lt;/li&gt;
&lt;li&gt;Native AWS &lt;strong&gt;&amp;gt;&lt;/strong&gt; 3rd-party&lt;/li&gt;
&lt;li&gt;Automated &lt;strong&gt;&amp;gt;&lt;/strong&gt; Manual&lt;/li&gt;
&lt;li&gt;Least ops overhead wins ties&lt;/li&gt;
&lt;li&gt;Elastic &lt;strong&gt;&amp;gt;&lt;/strong&gt; Fixed capacity&lt;/li&gt;
&lt;li&gt;Secure by default&lt;/li&gt;
&lt;li&gt;HA by default (if "production")&lt;/li&gt;
&lt;li&gt;Cost matched to workload pattern&lt;/li&gt;
&lt;/ol&gt;

&lt;blockquote&gt;
&lt;p&gt;⚠️ &lt;strong&gt;Override:&lt;/strong&gt; Compliance/security beats cost/efficiency every time.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h3&gt;
  
  
  Tie-Breaker Priority Order
&lt;/h3&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;1. Does it meet the HARD constraint (RTO/RPO/compliance)? — disqualifies first
2. Is it the MOST managed option remaining?
3. Is it the MOST secure option remaining?
4. Is it the LOWEST cost option remaining?
5. Is it the option requiring the LEAST re-architecture?
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;h1&gt;
  
  
  4️⃣ WELL-ARCHITECTED FRAMEWORK
&lt;/h1&gt;
&lt;h3&gt;
  
  
  🏛️ The 6 Pillars
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Pillar&lt;/th&gt;
&lt;th&gt;Focus&lt;/th&gt;
&lt;th&gt;Key Services&lt;/th&gt;
&lt;th&gt;Keyword&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Operational Excellence&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Run/monitor/improve&lt;/td&gt;
&lt;td&gt;CloudFormation, CloudWatch, Config, SSM&lt;/td&gt;
&lt;td&gt;"automate", "IaC", "runbooks"&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Security&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Protect data/identities&lt;/td&gt;
&lt;td&gt;IAM, KMS, GuardDuty, WAF, Shield, Macie&lt;/td&gt;
&lt;td&gt;"least privilege", "defense in depth"&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Reliability&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Recover/scale&lt;/td&gt;
&lt;td&gt;Multi-AZ, ASG, ELB, R53 health checks&lt;/td&gt;
&lt;td&gt;"self-healing", "fault isolation"&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Performance Efficiency&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Use resources well&lt;/td&gt;
&lt;td&gt;Lambda, DynamoDB, CloudFront&lt;/td&gt;
&lt;td&gt;"elastic", "serverless", "right instance"&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Cost Optimization&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Avoid waste&lt;/td&gt;
&lt;td&gt;Cost Explorer, Trusted Advisor, Savings Plans&lt;/td&gt;
&lt;td&gt;"lowest cost", "right-sizing"&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Sustainability&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Minimize footprint&lt;/td&gt;
&lt;td&gt;Managed services, region choice&lt;/td&gt;
&lt;td&gt;"carbon footprint", "utilization"&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;🧠 &lt;em&gt;"Old Sailors Rarely Perform Correctly Sober"&lt;/em&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;📌 Trap: "reduce carbon footprint" → managed services/consolidation, NOT a technical redesign.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h3&gt;
  
  
  Design Principles Cheat Sheet
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Pillar&lt;/th&gt;
&lt;th&gt;Core Design Principles&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Operational Excellence&lt;/td&gt;
&lt;td&gt;Perform ops as code, make frequent small reversible changes, refine procedures often, anticipate failure, learn from failure&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Security&lt;/td&gt;
&lt;td&gt;Strong identity foundation, traceability, security at all layers, automate best practices, protect data in transit/rest, keep people from data&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Reliability&lt;/td&gt;
&lt;td&gt;Auto-recover from failure, test recovery procedures, scale horizontally, stop guessing capacity, automate change&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Performance&lt;/td&gt;
&lt;td&gt;Democratize advanced tech, go global in minutes, serverless first, experiment often, mechanical sympathy&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cost&lt;/td&gt;
&lt;td&gt;Adopt consumption model, measure efficiency, stop spending on undifferentiated heavy lifting, analyze/attribute spend&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Sustainability&lt;/td&gt;
&lt;td&gt;Understand impact, set goals, maximize utilization, anticipate/adopt efficient offerings&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;h3&gt;
  
  
  AWS Well-Architected Tool
&lt;/h3&gt;

&lt;p&gt;Free service → self-review workload against the 6 pillars → generates improvement plan.&lt;br&gt;
📝 &lt;em&gt;"Structured, free way to review architecture against best practices"&lt;/em&gt; → &lt;strong&gt;Well-Architected Tool&lt;/strong&gt;&lt;/p&gt;
&lt;h3&gt;
  
  
  🆕 AWS Artifact
&lt;/h3&gt;

&lt;p&gt;On-demand access to AWS compliance reports (SOC, PCI, ISO) and to accept agreements (BAA for HIPAA).&lt;br&gt;
📝 &lt;em&gt;"Auditor needs AWS's SOC 2 report"&lt;/em&gt; → &lt;strong&gt;AWS Artifact&lt;/strong&gt;&lt;/p&gt;
&lt;h3&gt;
  
  
  🆕 AWS Trusted Advisor + Personal Health Dashboard
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Trusted Advisor&lt;/strong&gt; — account-level best practice checks (cost/security/performance/fault tolerance/limits)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AWS Health Dashboard (Personal Health Dashboard)&lt;/strong&gt; — personalized alerts about AWS events/maintenance affecting YOUR resources specifically (vs the public Service Health Dashboard which shows AWS-wide status)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;📝 &lt;em&gt;"Need proactive notification when an upcoming AWS maintenance event affects one of my specific EC2 instances"&lt;/em&gt; → &lt;strong&gt;AWS Health Dashboard&lt;/strong&gt;, not the public status page&lt;/p&gt;




&lt;h1&gt;
  
  
  5️⃣ 🆕 AWS GLOBAL INFRASTRUCTURE BASICS
&lt;/h1&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Region          → geographic area, fully isolated (≥3 AZs typically)
Availability Zone (AZ) → 1+ discrete data centers, isolated power/network/cooling, low-latency link to other AZs in region
Edge Location    → CloudFront/Route 53 cache points, far more numerous than regions
Regional Edge Cache → sits between edge locations and origin, larger cache, less frequently accessed content
Local Zone       → extension of a Region, closer to large population/industry centers, low latency for specific metros
Wavelength Zone  → embedded in telecom 5G network, ultra-low latency for mobile edge use cases
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h3&gt;
  
  
  Choosing a Region — Common Exam Factors
&lt;/h3&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Compliance/data residency (data must stay in-country) → pick specific region
Latency to end users → pick nearest region
Service availability → not all services in all regions
Cost → prices vary slightly by region
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;📝 &lt;em&gt;"EU data protection law requires customer data never leaves EU soil"&lt;/em&gt; → pick an &lt;strong&gt;EU region&lt;/strong&gt;, replicate only within EU, avoid global services that might replicate elsewhere without control (encrypt + control replication).&lt;/p&gt;
&lt;h3&gt;
  
  
  Availability Zone Math
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Minimum recommended for HA = &lt;strong&gt;2 AZs&lt;/strong&gt; (most exam answers want this at minimum for "production")&lt;/li&gt;
&lt;li&gt;Best practice = &lt;strong&gt;3 AZs&lt;/strong&gt; for maximum resilience&lt;/li&gt;
&lt;li&gt;📝 &lt;em&gt;"Design must survive loss of a single data center"&lt;/em&gt; → deploy across &lt;strong&gt;≥2 AZs&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;h1&gt;
  
  
  6️⃣ SERVICE SELECTION MATRIX
&lt;/h1&gt;

&lt;p&gt;&lt;strong&gt;Database&lt;/strong&gt;&lt;br&gt;
HA relational→Multi-AZ | Read scaling→Read Replica | Global relational reads→Aurora Global DB | Massive NoSQL→DynamoDB | μs cache on DynamoDB→DAX | In-memory cache→ElastiCache | Data warehouse→Redshift | Graph→Neptune | Time-series→Timestream | Immutable ledger→QLDB | Mongo-compatible→DocumentDB | Unpredictable relational→Aurora Serverless v2&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Messaging&lt;/strong&gt;&lt;br&gt;
Queue→SQS Standard | Exactly-once+order→SQS FIFO | Fan-out→SNS | Event routing→EventBridge | Workflow orchestration→Step Functions | Real-time+replay→Kinesis Streams | Buffered delivery→Firehose | Managed Kafka→MSK | GraphQL real-time API→AppSync&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Storage&lt;/strong&gt;&lt;br&gt;
Block,1 instance→EBS | Shared file Linux→EFS | Shared file Windows→FSx Windows | HPC scratch→FSx Lustre | NetApp→FSx ONTAP | Object→S3 | Cheapest archive→Glacier Deep Archive | Unknown pattern→Intelligent-Tiering | On-prem gateway cache→Storage Gateway&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Compute&lt;/strong&gt;&lt;br&gt;
Serverless &amp;lt;15min→Lambda | Serverless container→Fargate | K8s→EKS | Simple containers→ECS | Quick web deploy→Elastic Beanstalk | Cheap VPS→Lightsail | Batch/HPC→AWS Batch | Virtual desktops→WorkSpaces | Streamed apps→AppStream 2.0&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Networking&lt;/strong&gt;&lt;br&gt;
CDN→CloudFront | Global static IP→Global Accelerator | DNS→Route 53 | Dedicated bandwidth→Direct Connect | Quick hybrid→VPN | Remote users→Client VPN | Many VPCs→Transit Gateway | 2 VPCs→VPC Peering | Free private S3/DDB→Gateway Endpoint | Private other services→Interface Endpoint | Share subnets cross-account→VPC Sharing (RAM) | Central IP planning→IPAM | Inline firewall→Network Firewall | Diagnose connectivity→Reachability Analyzer&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Security&lt;/strong&gt;&lt;br&gt;
Temp creds→IAM Role | Multi-account guardrail→SCP | Cap 1 identity→Permissions Boundary | Secret w/ rotation→Secrets Manager | Plain config→Parameter Store | Encryption keys→KMS | Dedicated HSM→CloudHSM | Threat detection→GuardDuty | Vuln scan→Inspector | Sensitive data→Macie | Central security view→Security Hub | Web exploits→WAF | DDoS→Shield | TLS certs→ACM | Managed AD→AWS Managed Microsoft AD | Find unused access→IAM Access Analyzer | Investigate root cause of finding→Detective | Centralize WAF/SG rules across accounts→Firewall Manager&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Monitoring&lt;/strong&gt;&lt;br&gt;
API audit→CloudTrail | Config drift→AWS Config | Metrics/alarms→CloudWatch | Tracing→X-Ray | Best-practice checks→Trusted Advisor | Right-sizing→Compute Optimizer | App performance→CloudWatch Application Insights | Canary synthetic monitoring→CloudWatch Synthetics | Log query→CloudWatch Logs Insights&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Migration&lt;/strong&gt;&lt;br&gt;
DB migration→DMS | Server lift&amp;amp;shift→MGN | Bulk offline→Snowball | Ongoing sync→DataSync | SFTP→Transfer Family | On-prem discovery→Application Discovery Service | Track migration→Migration Hub | Different DB engine→DMS+SCT&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Cost&lt;/strong&gt;&lt;br&gt;
Spend forecasting→Cost Explorer | Budget alerts→AWS Budgets | Detailed billing→CUR | Best-practice recs→Trusted Advisor | Software license tracking→License Manager | Max flexible compute discount→Compute Savings Plan&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Governance/IaC&lt;/strong&gt;&lt;br&gt;
AWS-native templates→CloudFormation | Programming language IaC→CDK | Self-service catalog for teams→Service Catalog | Multi-account landing zone→Control Tower | Cross-account resource sharing→RAM | Compliance reports→AWS Artifact&lt;/p&gt;




&lt;h1&gt;
  
  
  7️⃣ FLOWCHART LOOKUP
&lt;/h1&gt;

&lt;p&gt;&lt;strong&gt;Database?&lt;/strong&gt; Relational→HA Multi-AZ / Reads Read Replica / Global Aurora Global DB / Unpredictable Aurora Serverless v2 || NoSQL→huge scale DynamoDB / with cache DAX / Graph Neptune / Time-series Timestream / Mongo-style DocumentDB / Ledger QLDB&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Storage?&lt;/strong&gt; Block,1 instance→EBS | Shared Linux→EFS | Shared Windows→FSx Windows | HPC→FSx Lustre | Object general→S3 Standard | Object infrequent→Standard-IA | Unknown→Intelligent-Tiering | Archive hrs→Glacier Flexible | Cheapest→Deep Archive&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Compute?&lt;/strong&gt; Full OS→EC2 | Quick web app→Elastic Beanstalk | Simple VPS→Lightsail | Event&amp;lt;15min→Lambda | K8s→EKS | AWS-native containers→ECS | No server mgmt→Fargate | Batch/HPC→AWS Batch | Virtual desktop→WorkSpaces&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Networking?&lt;/strong&gt; Dedicated bandwidth→Direct Connect | Quick setup→VPN | Many VPCs→Transit Gateway | 2 VPCs→VPC Peering | Private S3/DDB→Gateway Endpoint | Private other→Interface Endpoint | Global static IP→Global Accelerator | Cache content→CloudFront | Troubleshoot connectivity→Reachability Analyzer&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Security?&lt;/strong&gt; Temp creds→IAM Role | Multi-account rule→SCP | Cap 1 identity→Permissions Boundary | Encrypt→KMS | Rotate DB creds→Secrets Manager | Plain config→Parameter Store | Detect threats→GuardDuty | Scan CVEs→Inspector | Find PII→Macie | Web exploits→WAF | DDoS→Shield | TLS certs→ACM | Investigate finding→Detective | Centralize rules org-wide→Firewall Manager&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Messaging?&lt;/strong&gt; Decoupling→SQS Standard | Exactly-once+order→SQS FIFO | Fan-out→SNS | Rule routing→EventBridge | Multi-step workflow→Step Functions | Stream+replay→Kinesis Streams | Managed Kafka→MSK&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Disaster Recovery?&lt;/strong&gt; Cheapest, hours ok→Backup &amp;amp; Restore | ~10min RTO→Pilot Light | Minutes RTO→Warm Standby | Near-zero RTO→Multi-Site Active/Active | Continuous server-level replication→AWS DRS&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;IaC?&lt;/strong&gt; AWS-native declarative→CloudFormation | Familiar programming language→CDK | Self-service for non-technical teams→Service Catalog | Full account automation→Control Tower&lt;/p&gt;




&lt;h1&gt;
  
  
  8️⃣ DISTRACTOR DICTIONARY
&lt;/h1&gt;

&lt;p&gt;📌 Lowest ops overhead→Managed service | 📌 Don't rewrite app→Rehost (EC2) | 📌 Existing Oracle/SQL Server→RDS | 📌 Existing MySQL/Postgres, want perf→Aurora | 📌 Existing K8s→EKS | 📌 Existing Docker→ECS/Fargate | 📌 Millions req/sec→DynamoDB/Lambda/ASG | 📌 Unpredictable traffic→ASG/Aurora Serverless | 📌 Compliance→KMS+IAM+Config+CloudTrail | 📌 Analytics/BI→Athena/Glue/Redshift | 📌 Real-time streaming→Kinesis Streams | 📌 Near-real-time→Firehose | 📌 Static content→S3+CloudFront | 📌 Temp credentials→IAM Role | 📌 Cross-account access→IAM Role+Trust Policy | 📌 No server mgmt→Lambda/Fargate/DynamoDB | 📌 Cost-effective steady→RI/Savings Plan | 📌 Cost-effective flexible→Spot | 📌 Encrypted at rest→KMS/SSE-S3 | 📌 Rotate credentials→Secrets Manager | 📌 Non-sensitive config→Parameter Store | 📌 Compromised credentials→GuardDuty | 📌 Scan vulnerabilities→Inspector | 📌 Discover PII→Macie | 📌 Centralize security→Security Hub | 📌 SQL injection→WAF | 📌 DDoS→Shield | 📌 Who did this→CloudTrail | 📌 What changed→AWS Config | 📌 Monitor CPU/memory→CloudWatch (memory needs agent!) | 📌 Trace request→X-Ray | 📌 Dedicated line→Direct Connect | 📌 Quick encrypted link→VPN | 📌 Remote employees→Client VPN | 📌 Many VPCs central routing→Transit Gateway | 📌 Two VPCs only→VPC Peering | 📌 Private S3 only→Gateway Endpoint | 📌 Private other services→Interface Endpoint | 📌 Expose service privately→PrivateLink | 📌 Global static IP non-HTTP→Global Accelerator | 📌 Automatic DB failover→Multi-AZ | 📌 Offload reads→Read Replica | 📌 Cross-region DB reads→Aurora Global DB | 📌 Multi-region active-active NoSQL→DynamoDB Global Tables | 📌 Centralized backup→AWS Backup | 📌 Continuous DR replication→Elastic Disaster Recovery | 📌 DB migration minimal downtime→DMS (CDC) | 📌 DB migration diff engine→DMS+SCT | 📌 Whole server migration→MGN | 📌 Bulk offline transfer→Snowball | 📌 Scheduled sync→DataSync | 📌 SFTP access→Transfer Family | 📌 On-prem app, cloud storage→Storage Gateway | 📌 Serverless SQL on S3→Athena | 📌 ETL+catalog→Glue | 📌 Lambda→RDS pooling→RDS Proxy | 📌 SaaS multi-tenant data→DynamoDB w/ tenant partition key | 📌 Mobile app login→Cognito User Pools | 📌 Federated temp creds→Cognito Identity Pools | 📌 Central SSO→IAM Identity Center | 📌 Auto landing zone→Control Tower | 📌 Share resource cross-account→RAM | 📌 IaC AWS native→CloudFormation | 📌 IaC programming language→CDK | 📌 TLS cert mgmt→ACM | 📌 Dedicated HSM→CloudHSM | 📌 SSH without open ports→SSM Session Manager | 📌 Right-size EC2 fleet→Compute Optimizer | 📌 Best-practice health check→Trusted Advisor | 📌 Detailed hourly billing→CUR | 📌 Simple 3-tier minimal config→Elastic Beanstalk | 📌 Cheap predictable small workload→Lightsail | 📌 Track migration status→Migration Hub | 📌 Discover on-prem servers→Application Discovery Service | 📌 Reduce carbon footprint→Managed services/consolidate | 📌 Immutable audit ledger→QLDB | 📌 Central data catalog→Lake Formation | 📌 Ultra-low latency at cell tower edge→Wavelength | 📌 On-prem hardware, AWS-managed→Outposts | 📌 Physically close AWS infra, low latency→Local Zones | 📌 Virtual desktops for employees→WorkSpaces | 📌 Streamed desktop apps, no install→AppStream 2.0 | 📌 Managed Active Directory→AWS Managed Microsoft AD | 📌 Self-service IT product catalog→Service Catalog | 📌 Track software license usage→License Manager | 📌 GraphQL real-time app sync→AppSync | 📌 Find unused/over-permissive IAM→IAM Access Analyzer | 📌 Central SSO across accounts→IAM Identity Center | 📌 Server-level continuous DR replication→AWS DRS | 📌 Investigate WHY a GuardDuty finding happened→Detective | 📌 Centralize WAF rules across 50 accounts→Firewall Manager | 📌 Stateful VPC-level firewall→Network Firewall | 📌 Diagnose why two resources can't connect→VPC Reachability Analyzer | 📌 Query subset of S3 object→S3 Select | 📌 Bulk-modify billions of S3 objects→S3 Batch Operations | 📌 Cache DynamoDB reads at μs→DAX | 📌 Cache general app data→ElastiCache | 📌 Redis with persistence/replication→ElastiCache for Redis | 📌 Simple cache, no persistence needed→ElastiCache for Memcached | 📌 Compliance reports/agreements→AWS Artifact | 📌 Personalized AWS event notifications→AWS Health Dashboard&lt;/p&gt;




&lt;h1&gt;
  
  
  9️⃣ SERVICE FAMILIES
&lt;/h1&gt;

&lt;p&gt;&lt;strong&gt;🗄️ Storage:&lt;/strong&gt; S3 • EBS • EFS • FSx • Storage Gateway • AWS Backup • Snow Family&lt;br&gt;
&lt;strong&gt;🗃️ Database:&lt;/strong&gt; RDS • Aurora • DynamoDB • ElastiCache • Redshift • Neptune • Timestream • QLDB • DocumentDB&lt;br&gt;
&lt;strong&gt;🌐 Networking:&lt;/strong&gt; ALB • NLB • GWLB • CloudFront • Global Accelerator • VPN • Client VPN • Direct Connect • Transit Gateway • PrivateLink • Route 53 • IPAM • Network Firewall • Reachability Analyzer&lt;br&gt;
&lt;strong&gt;🔐 Security:&lt;/strong&gt; IAM • KMS • Secrets Manager • Parameter Store • GuardDuty • Inspector • Macie • Security Hub • WAF • Shield • CloudHSM • ACM • Cognito • IAM Identity Center • Access Analyzer • Directory Service • Detective • Firewall Manager&lt;br&gt;
&lt;strong&gt;💻 Compute:&lt;/strong&gt; EC2 • Lambda • ECS • EKS • Fargate • Batch • Elastic Beanstalk • Lightsail&lt;br&gt;
&lt;strong&gt;🖥️ End-User Computing:&lt;/strong&gt; WorkSpaces • AppStream 2.0&lt;br&gt;
&lt;strong&gt;📨 Messaging:&lt;/strong&gt; SQS • SNS • EventBridge • Step Functions • Kinesis • MSK • AppSync&lt;br&gt;
&lt;strong&gt;📊 Monitoring:&lt;/strong&gt; CloudWatch • CloudTrail • Config • X-Ray • Trusted Advisor • Compute Optimizer • Health Dashboard&lt;br&gt;
&lt;strong&gt;🚚 Migration:&lt;/strong&gt; DMS • MGN • DataSync • Storage Gateway • Snow Family • Transfer Family • Migration Hub • Application Discovery Service&lt;br&gt;
&lt;strong&gt;📈 Analytics:&lt;/strong&gt; Athena • Glue • EMR • Redshift • QuickSight • Lake Formation • Kinesis family • OpenSearch&lt;br&gt;
&lt;strong&gt;💰 Cost:&lt;/strong&gt; Cost Explorer • AWS Budgets • CUR • Trusted Advisor • Compute Optimizer • Savings Plans • License Manager&lt;br&gt;
&lt;strong&gt;🌍 Edge/Hybrid:&lt;/strong&gt; Outposts • Local Zones • Wavelength • Direct Connect&lt;br&gt;
&lt;strong&gt;🏛️ Governance:&lt;/strong&gt; Organizations • Control Tower • RAM • Service Catalog • Config Conformance Packs • Artifact&lt;br&gt;
&lt;strong&gt;🔧 Dev Tools:&lt;/strong&gt; CodeCommit • CodeBuild • CodeDeploy • CodePipeline&lt;/p&gt;




&lt;h1&gt;
  
  
  🔟 SERVICE SYNONYMS
&lt;/h1&gt;

&lt;p&gt;Durable→S3 | Elastic→Auto Scaling | Fault tolerant→Multi-AZ | Resilient→Multi-AZ/Region | Archive→Glacier | Queue→SQS | Fan-out→SNS | Orchestration→Step Functions | Event routing→EventBridge | Temp credentials→IAM Role | Secrets→Secrets Manager | Config values→Parameter Store | Encryption keys→KMS | Audit trail→CloudTrail | Compliance drift→AWS Config | Performance→CloudWatch | Latency bottleneck→X-Ray | Threats→GuardDuty | CVEs→Inspector | PII→Macie | Dedicated bandwidth→Direct Connect | Quick hybrid→VPN | Hub-and-spoke→Transit Gateway | Private connectivity→VPC Endpoint | Global static IP→Global Accelerator | Content caching→CloudFront | Serverless→Lambda/Fargate/DynamoDB | Lift and shift→EC2/MGN | Zero data loss→Sync replication (Multi-AZ) | Right-sizing→Compute Optimizer | Data governance/catalog→Lake Formation/Glue | Mobile app auth→Cognito | API throttling→API Gateway | Virtual desktop→WorkSpaces | Software license tracking→License Manager | Unused permissions→IAM Access Analyzer | Central workforce identity→IAM Identity Center | Root cause investigation→Detective | Centralized firewall policy→Firewall Manager | In-memory cache→ElastiCache | Micro-second DynamoDB cache→DAX&lt;/p&gt;




&lt;h1&gt;
  
  
  1️⃣1️⃣ AWS DEFAULT CHOICES
&lt;/h1&gt;

&lt;p&gt;✅ "Production"→Multi-AZ | ✅ Encryption unspecified→Enable it | ✅ Service-to-service auth→IAM Role | ✅ Database placement→Private subnet | ✅ Public HTTP traffic→ALB | ✅ Global content→CloudFront | ✅ Static content→S3 | ✅ Private S3 access→Gateway Endpoint | ✅ Private other-service access→Interface Endpoint | ✅ "No server management"→Fargate | ✅ Job &amp;gt;15min→NOT Lambda | ✅ Steady workload→Reserved/Savings Plan | ✅ Spiky workload→Spot | ✅ Rotating creds→Secrets Manager | ✅ Plain config→Parameter Store | ✅ Cross-account→IAM Role+Trust Policy | ✅ Multi-account restriction→SCP | ✅ Quick web app deployment→Elastic Beanstalk | ✅ Simple predictable workload/budget→Lightsail | ✅ Mobile/web app user login→Cognito User Pools | ✅ "Automatically scale on demand"→Target Tracking Policy | ✅ Cross-region DR w/ server-level replication→AWS DRS | ✅ Central multi-account SSO→IAM Identity Center | ✅ At least 2 AZs for HA→minimum default | ✅ Cache needs persistence/replication→Redis (not Memcached)&lt;/p&gt;




&lt;h1&gt;
  
  
  1️⃣2️⃣ ONE-LINE DEFINITIONS
&lt;/h1&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;CloudTrail     → Who did it?
CloudWatch     → How is it performing?
Config         → What changed?
GuardDuty      → Who is attacking?
Inspector      → What is vulnerable?
Macie          → Where is sensitive data?
Security Hub   → What's the overall security posture?
Detective      → WHY did this happen? (root cause investigation)
Firewall Manager → Centralize WAF/SG/Shield rules across accounts
Network Firewall → Stateful, VPC-level traffic filtering
WAF            → Block bad web requests
Shield         → Block DDoS floods
KMS            → Manage encryption keys
Secrets Mgr    → Store &amp;amp; rotate secrets
Param Store    → Store plain config
SQS            → Hold messages until processed
SNS            → Broadcast to many subscribers
EventBridge    → Route events by rule
Step Functions → Orchestrate multi-step workflow
Multi-AZ       → Survive AZ failure (HA)
Read Replica   → Scale read traffic
Aurora Global DB → Cross-region reads + fast DR
Transit Gateway → Hub for many VPCs
VPC Peering    → Direct link between 2 VPCs (non-transitive)
Gateway Endpoint → Free private path to S3/DynamoDB only
Interface Endpoint → Private path to everything else
Direct Connect → Dedicated, consistent bandwidth
VPN            → Quick, encrypted, internet-based link
Trusted Advisor → Automated best-practice checks
Compute Optimizer → Right-size your EC2/Lambda
Cost Explorer  → Analyze/forecast spend
AWS Budgets    → Alert before overspending
Elastic Beanstalk → Deploy app without managing infra
Lightsail      → Simple VPS, predictable pricing
Lake Formation → Central data lake governance
Cognito User Pools → Sign-up/sign-in for your app's users
Cognito Identity Pools → Temp AWS creds for federated users
API Gateway    → Managed front door for APIs (throttle, auth, cache)
Outposts       → AWS hardware physically in your data center
Local Zones    → AWS infra closer to a metro area
Wavelength     → AWS compute at telecom 5G edge
WorkSpaces     → Managed virtual desktop (persistent)
AppStream 2.0  → Streamed applications (non-persistent)
AWS DRS        → Continuous server replication for DR (near-CDP)
IAM Identity Center → One login for all AWS accounts + SaaS apps
Access Analyzer → Finds resources shared outside your account/org
Service Catalog → Curated self-service list of approved AWS products
License Manager → Track/enforce software license usage
AppSync        → Managed GraphQL API w/ real-time subscriptions
IPAM           → Plan/track/audit IP address usage across accounts
CDK            → Define infra using real programming languages
Control Tower  → Automates multi-account landing zone setup
ElastiCache    → Managed in-memory cache (Redis/Memcached)
DAX            → In-memory cache specifically for DynamoDB
Reachability Analyzer → Diagnoses why two resources can't connect
Artifact       → On-demand access to AWS compliance reports
Health Dashboard → Personalized alerts about AWS events affecting YOUR resources
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;h1&gt;
  
  
  1️⃣3️⃣ QUESTION PATTERNS
&lt;/h1&gt;

&lt;p&gt;📝 "A company wants..." → Architecture question&lt;br&gt;
📝 "A company needs..." → Service selection&lt;br&gt;
📝 "A company must..." → Compliance/security&lt;br&gt;
📝 "An application..." → Compute/storage/DB&lt;br&gt;
📝 "Developers need..." → IAM / CI-CD&lt;br&gt;
📝 "...LEAST operational overhead" → Most-managed option&lt;br&gt;
📝 "...LOWEST cost" → Check workload pattern&lt;br&gt;
📝 "MOST secure way" → Encryption + least privilege&lt;br&gt;
📝 "MOST resilient" → Multi-AZ / Multi-Region&lt;br&gt;
📝 "Without re-architecting" → Keep relational/EC2&lt;br&gt;
📝 "Minimize administrative burden" → Managed service&lt;br&gt;
📝 "Reduce carbon footprint" → Managed services / consolidate regions&lt;br&gt;
📝 "...with the LEAST amount of code" → Managed integration over custom Lambda glue&lt;br&gt;
📝 "...must be encrypted using keys the company fully controls" → KMS Customer Managed Key&lt;br&gt;
📝 "...must not leave AWS network" → PrivateLink / VPC Endpoints&lt;br&gt;
📝 "...single pane of glass" → Security Hub / CloudWatch Dashboards&lt;br&gt;
📝 "...at a specific point in time in the past" → Snapshot / PITR&lt;br&gt;
📝 "...choose TWO/THREE" → read carefully, ALL must be correct, no partial credit&lt;br&gt;
📝 "...MOST cost-effective AND meets requirement" → eliminate non-compliant options FIRST, then pick cheapest survivor&lt;/p&gt;




&lt;h1&gt;
  
  
  1️⃣4️⃣ DECISION TREES
&lt;/h1&gt;

&lt;p&gt;&lt;em&gt;(⚠️ = "NO SUCH THING" trap)&lt;/em&gt;&lt;/p&gt;
&lt;h3&gt;
  
  
  Storage
&lt;/h3&gt;

&lt;p&gt;Block,1 instance→&lt;strong&gt;EBS&lt;/strong&gt; ⚠️shared across AZs→NO→EFS/FSx | Block,shared,same AZ→&lt;strong&gt;EBS Multi-Attach&lt;/strong&gt;(io1/io2) ⚠️cross-AZ→NO | Shared Linux→&lt;strong&gt;EFS&lt;/strong&gt; | Shared Windows→&lt;strong&gt;FSx Windows&lt;/strong&gt; | HPC scratch→&lt;strong&gt;FSx Lustre&lt;/strong&gt; | NetApp→&lt;strong&gt;FSx ONTAP&lt;/strong&gt; | Object→&lt;strong&gt;S3&lt;/strong&gt; ⚠️low-latency file access at scale→NO→EFS/FSx | On-prem cached vol→&lt;strong&gt;Storage Gateway&lt;/strong&gt; | Migrate/sync→&lt;strong&gt;DataSync&lt;/strong&gt;(online)/&lt;strong&gt;Snowball&lt;/strong&gt;(offline)&lt;/p&gt;
&lt;h3&gt;
  
  
  Compute
&lt;/h3&gt;

&lt;p&gt;Full OS→&lt;strong&gt;EC2&lt;/strong&gt; | Quick web app→&lt;strong&gt;Elastic Beanstalk&lt;/strong&gt; ⚠️needs low-level control→NO,use EC2 | Cheap VPS→&lt;strong&gt;Lightsail&lt;/strong&gt; | Event-driven short→&lt;strong&gt;Lambda&lt;/strong&gt; ⚠️&amp;gt;15min→NO→Fargate/Batch/EC2 | K8s→&lt;strong&gt;EKS&lt;/strong&gt; | AWS-native containers→&lt;strong&gt;ECS&lt;/strong&gt; | No EC2 mgmt→&lt;strong&gt;Fargate&lt;/strong&gt; ⚠️GPU/custom AMI→NO→EC2 launch type | Batch/HPC→&lt;strong&gt;AWS Batch&lt;/strong&gt; | Employee virtual desktop, persistent→&lt;strong&gt;WorkSpaces&lt;/strong&gt; | Streamed app, non-persistent→&lt;strong&gt;AppStream 2.0&lt;/strong&gt;&lt;/p&gt;
&lt;h3&gt;
  
  
  Database
&lt;/h3&gt;

&lt;p&gt;Relational, specific engine→&lt;strong&gt;RDS&lt;/strong&gt; | Relational MySQL/Postgres→&lt;strong&gt;Aurora&lt;/strong&gt;(Serverless v2 if spiky) ⚠️scale to zero in v2→NO(min 0.5 ACU) | Need HA→&lt;strong&gt;Multi-AZ&lt;/strong&gt; ⚠️standby serves reads→NO→Read Replica/Aurora | Need read scaling→&lt;strong&gt;Read Replica&lt;/strong&gt; ⚠️auto failover from replica→NO→Multi-AZ | Cross-region reads+DR→&lt;strong&gt;Aurora Global DB&lt;/strong&gt; | Lambda+RDS pooling→&lt;strong&gt;RDS Proxy&lt;/strong&gt; | NoSQL massive scale→&lt;strong&gt;DynamoDB&lt;/strong&gt; ⚠️SQL joins→NO→Aurora/RDS | DynamoDB+μs cache→&lt;strong&gt;DAX&lt;/strong&gt; | Multi-region active-active NoSQL→&lt;strong&gt;DynamoDB Global Tables&lt;/strong&gt; | In-memory cache, general purpose→&lt;strong&gt;ElastiCache&lt;/strong&gt; | Data warehouse→&lt;strong&gt;Redshift&lt;/strong&gt; | Graph→&lt;strong&gt;Neptune&lt;/strong&gt; | Time-series→&lt;strong&gt;Timestream&lt;/strong&gt; | Immutable ledger→&lt;strong&gt;QLDB&lt;/strong&gt; | Mongo-compatible→&lt;strong&gt;DocumentDB&lt;/strong&gt;&lt;/p&gt;
&lt;h3&gt;
  
  
  Networking &amp;amp; Hybrid
&lt;/h3&gt;

&lt;p&gt;Public subnet in/out→&lt;strong&gt;IGW&lt;/strong&gt; | Private subnet outbound only→&lt;strong&gt;NAT Gateway&lt;/strong&gt; ⚠️NAT for inbound→NO→ALB/NLB | On-prem quick+encrypted→&lt;strong&gt;Site-to-Site VPN&lt;/strong&gt; | Individual remote users→&lt;strong&gt;Client VPN&lt;/strong&gt; | Dedicated bandwidth→&lt;strong&gt;Direct Connect&lt;/strong&gt; | Many VPCs hub-spoke→&lt;strong&gt;Transit Gateway&lt;/strong&gt; | 2 VPCs simple→&lt;strong&gt;VPC Peering&lt;/strong&gt; ⚠️transitive routing→NO→Transit Gateway | Free private S3/DDB→&lt;strong&gt;Gateway Endpoint&lt;/strong&gt; ⚠️for EC2/SNS etc→NO→Interface Endpoint | Private other AWS/SaaS→&lt;strong&gt;Interface Endpoint&lt;/strong&gt; | Expose service privately→&lt;strong&gt;PrivateLink&lt;/strong&gt; | Global static IP non-HTTP→&lt;strong&gt;Global Accelerator&lt;/strong&gt; | Content caching→&lt;strong&gt;CloudFront&lt;/strong&gt; | Share subnets across accounts→&lt;strong&gt;VPC Sharing (RAM)&lt;/strong&gt; | Plan IP space org-wide→&lt;strong&gt;IPAM&lt;/strong&gt; | Inline stateful firewall at VPC edge→&lt;strong&gt;Network Firewall&lt;/strong&gt; | Debug why traffic isn't reaching target→&lt;strong&gt;Reachability Analyzer&lt;/strong&gt;&lt;/p&gt;
&lt;h3&gt;
  
  
  Security &amp;amp; IAM
&lt;/h3&gt;

&lt;p&gt;Temp access→&lt;strong&gt;IAM Role&lt;/strong&gt; ⚠️long-term keys→AVOID | Multi-account guardrail→&lt;strong&gt;SCP&lt;/strong&gt; ⚠️SCP to grant→NO→IAM Policy | Cap 1 delegated admin→&lt;strong&gt;Permissions Boundary&lt;/strong&gt; | Share resource cross-account→&lt;strong&gt;RAM&lt;/strong&gt; | Encrypt AWS-managed keys→&lt;strong&gt;SSE-S3&lt;/strong&gt; | Encrypt, control key policy→&lt;strong&gt;SSE-KMS&lt;/strong&gt; | Dedicated HSM→&lt;strong&gt;CloudHSM&lt;/strong&gt; | Rotate DB creds→&lt;strong&gt;Secrets Manager&lt;/strong&gt; ⚠️Param Store auto-rotate→NO natively | Plain config→&lt;strong&gt;Parameter Store&lt;/strong&gt; | Detect threats→&lt;strong&gt;GuardDuty&lt;/strong&gt; ⚠️scans CVEs→NO→Inspector | Scan vulnerabilities→&lt;strong&gt;Inspector&lt;/strong&gt; | Discover sensitive data→&lt;strong&gt;Macie&lt;/strong&gt; | SQLi/XSS→&lt;strong&gt;WAF&lt;/strong&gt; | DDoS→&lt;strong&gt;Shield&lt;/strong&gt; | Find unused permissions→&lt;strong&gt;IAM Access Analyzer&lt;/strong&gt; | Central login across accounts→&lt;strong&gt;IAM Identity Center&lt;/strong&gt; | Investigate root cause→&lt;strong&gt;Detective&lt;/strong&gt; | Centralize security rules org-wide→&lt;strong&gt;Firewall Manager&lt;/strong&gt;&lt;/p&gt;
&lt;h3&gt;
  
  
  Messaging
&lt;/h3&gt;

&lt;p&gt;Point-to-point decoupling→&lt;strong&gt;SQS Standard&lt;/strong&gt; ⚠️order/exactly-once→NO→FIFO | Fan-out→&lt;strong&gt;SNS&lt;/strong&gt; ⚠️fan-out w/ SQS alone→NO→SNS+SQS | Rule-based routing→&lt;strong&gt;EventBridge&lt;/strong&gt; | Multi-step workflow→&lt;strong&gt;Step Functions&lt;/strong&gt; | Real-time+replay→&lt;strong&gt;Kinesis Data Streams&lt;/strong&gt; ⚠️replay from SQS→NO(deleted after ack) | Buffered delivery→&lt;strong&gt;Kinesis Firehose&lt;/strong&gt; | Real-time GraphQL updates→&lt;strong&gt;AppSync&lt;/strong&gt;&lt;/p&gt;
&lt;h3&gt;
  
  
  Disaster Recovery (RTO/RPO ladder)
&lt;/h3&gt;

&lt;p&gt;Hours-days, cheapest→&lt;strong&gt;Backup &amp;amp; Restore&lt;/strong&gt; | ~10min→&lt;strong&gt;Pilot Light&lt;/strong&gt; | Minutes→&lt;strong&gt;Warm Standby&lt;/strong&gt; | Near-zero→&lt;strong&gt;Multi-Site Active/Active&lt;/strong&gt; | Continuous block-level server replication→&lt;strong&gt;AWS Elastic Disaster Recovery (DRS)&lt;/strong&gt;&lt;br&gt;
⚠️ Multi-AZ covers region failure→NO(Multi-AZ≠DR)→Cross-Region&lt;/p&gt;
&lt;h3&gt;
  
  
  Migration
&lt;/h3&gt;

&lt;p&gt;PB-scale, poor network→&lt;strong&gt;Snowball/Snowmobile&lt;/strong&gt; | Ongoing scheduled transfer→&lt;strong&gt;DataSync&lt;/strong&gt; | SFTP into S3/EFS→&lt;strong&gt;Transfer Family&lt;/strong&gt; | Migrate databases, SAME engine→&lt;strong&gt;DMS&lt;/strong&gt; | Migrate databases, DIFFERENT engine→&lt;strong&gt;DMS+SCT&lt;/strong&gt; ⚠️DMS migrates VMs→NO(DB only)→MGN | Lift-shift servers→&lt;strong&gt;MGN&lt;/strong&gt; | On-prem, cloud storage as local drive→&lt;strong&gt;Storage Gateway&lt;/strong&gt; | Discover on-prem infra first→&lt;strong&gt;Application Discovery Service&lt;/strong&gt; | Track migration progress→&lt;strong&gt;Migration Hub&lt;/strong&gt;&lt;/p&gt;
&lt;h3&gt;
  
  
  IaC / Governance
&lt;/h3&gt;

&lt;p&gt;Declarative AWS-native template→&lt;strong&gt;CloudFormation&lt;/strong&gt; | Prefer Python/TypeScript/Java→&lt;strong&gt;CDK&lt;/strong&gt; | Give teams pre-approved self-service products→&lt;strong&gt;Service Catalog&lt;/strong&gt; | Automate multi-account setup w/ guardrails→&lt;strong&gt;Control Tower&lt;/strong&gt; | Share VPC subnets/TGW cross-account→&lt;strong&gt;RAM&lt;/strong&gt;&lt;/p&gt;




&lt;h1&gt;
  
  
  1️⃣5️⃣ VPC DEEP DIVE
&lt;/h1&gt;
&lt;h3&gt;
  
  
  CIDR &amp;amp; Subnetting
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;VPC CIDR: /16 to /28&lt;/li&gt;
&lt;li&gt;Each subnet lives in exactly ONE AZ&lt;/li&gt;
&lt;li&gt;AWS reserves 5 IPs per subnet (first 4 + last 1)&lt;/li&gt;
&lt;li&gt;Public subnet = route to IGW | Private subnet = no direct route to IGW&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
  
  
  🆕 Subnet Sizing Math (commonly tested)
&lt;/h3&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;/24 subnet = 256 total IPs - 5 reserved = 251 usable
/28 subnet = 16 total IPs - 5 reserved = 11 usable
Formula: usable IPs = 2^(32-prefix) - 5
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;📝 &lt;em&gt;"Need a subnet supporting at least 20 hosts"&lt;/em&gt; → smallest CIDR that fits = &lt;strong&gt;/27&lt;/strong&gt; (32 - 5 = 27 usable)&lt;/p&gt;
&lt;h3&gt;
  
  
  Route Tables
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Each subnet → ONE route table (a route table can serve many subnets)&lt;/li&gt;
&lt;li&gt;Local route (VPC CIDR) always present, can't be removed&lt;/li&gt;
&lt;li&gt;Most specific route wins (longest prefix match)&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
  
  
  Security Group vs NACL
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Security Group&lt;/th&gt;
&lt;th&gt;NACL&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Level&lt;/td&gt;
&lt;td&gt;Instance (ENI)&lt;/td&gt;
&lt;td&gt;Subnet&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;State&lt;/td&gt;
&lt;td&gt;Stateful&lt;/td&gt;
&lt;td&gt;Stateless (must allow both directions)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Rules&lt;/td&gt;
&lt;td&gt;Allow only&lt;/td&gt;
&lt;td&gt;Allow AND Deny&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Evaluation&lt;/td&gt;
&lt;td&gt;All rules evaluated&lt;/td&gt;
&lt;td&gt;Lowest number first, first match wins&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Default&lt;/td&gt;
&lt;td&gt;Deny all in, allow all out&lt;/td&gt;
&lt;td&gt;Default NACL=allow all / Custom=deny all&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;blockquote&gt;
&lt;p&gt;📌 Trap: NACL is stateless → must explicitly allow EPHEMERAL PORTS (1024-65535) for return traffic.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h3&gt;
  
  
  NAT Gateway vs NAT Instance
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;NAT Gateway&lt;/th&gt;
&lt;th&gt;NAT Instance&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Managed&lt;/td&gt;
&lt;td&gt;Yes (AWS)&lt;/td&gt;
&lt;td&gt;No (you patch it)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;HA&lt;/td&gt;
&lt;td&gt;Built into AZ, multi-AZ needs one per AZ&lt;/td&gt;
&lt;td&gt;Manual (ASG needed)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Bandwidth&lt;/td&gt;
&lt;td&gt;Scales automatically&lt;/td&gt;
&lt;td&gt;Limited by instance type&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Security Group&lt;/td&gt;
&lt;td&gt;N/A (doesn't have one)&lt;/td&gt;
&lt;td&gt;Has one, can act as bastion&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Exam default&lt;/td&gt;
&lt;td&gt;✅ Always pick this&lt;/td&gt;
&lt;td&gt;Rare legacy answer&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;h3&gt;
  
  
  🆕 NAT Gateway HA Design Pattern
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;NAT Gateway is per-AZ, NOT automatically multi-AZ&lt;/li&gt;
&lt;li&gt;📝 &lt;em&gt;"Design NAT for HA across 3 AZs"&lt;/em&gt; → deploy &lt;strong&gt;ONE NAT Gateway PER AZ&lt;/strong&gt;, each private subnet routes to the NAT Gateway in ITS OWN AZ (avoids cross-AZ data transfer charges + single point of failure)&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
  
  
  Elastic IP vs ENI
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Elastic IP&lt;/strong&gt; — static public IPv4, can be remapped between instances, &lt;strong&gt;charged when NOT attached to a running instance&lt;/strong&gt; (common cost trap)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ENI&lt;/strong&gt; — virtual network card, can have multiple per instance, can be detached/reattached (used for failover architectures)&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
  
  
  VPC Flow Logs
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Capture IP traffic metadata (not payload)&lt;/li&gt;
&lt;li&gt;Publish to CloudWatch Logs, S3, or Kinesis Data Firehose&lt;/li&gt;
&lt;li&gt;Used by GuardDuty as a data source&lt;/li&gt;
&lt;li&gt;Doesn't capture: DHCP traffic, Windows license activation, traffic to 169.254.169.254 (metadata)&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
  
  
  VPC Peering Limits
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;NOT transitive · No overlapping CIDRs · Cross-region OK · Cross-account OK&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
  
  
  VPC Endpoint Types Recap
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Gateway Endpoint&lt;/strong&gt; — S3, DynamoDB only, free, route table entry&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Interface Endpoint (PrivateLink)&lt;/strong&gt; — everything else, hourly+data cost, ENI with private IP&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
  
  
  🆕 VPC Sharing (RAM)
&lt;/h3&gt;

&lt;p&gt;Owner account shares subnets with other accounts in same Organization. Participants launch resources into shared subnets but can't modify the subnet itself.&lt;br&gt;
📝 &lt;em&gt;"Centralize VPC management but let 5 dev teams deploy into the same subnets"&lt;/em&gt; → &lt;strong&gt;VPC Sharing via RAM&lt;/strong&gt;&lt;/p&gt;
&lt;h3&gt;
  
  
  🆕 IPAM (IP Address Manager)
&lt;/h3&gt;

&lt;p&gt;Plans, tracks, audits IP usage across accounts/regions.&lt;br&gt;
📝 &lt;em&gt;"Prevent CIDR overlaps across 200 VPCs"&lt;/em&gt; → &lt;strong&gt;IPAM&lt;/strong&gt;&lt;/p&gt;
&lt;h3&gt;
  
  
  🆕 IPv6 Notes
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;VPC can be dual-stack | IPv6 addresses are always public — use &lt;strong&gt;Egress-Only Internet Gateway&lt;/strong&gt; for outbound-only IPv6 (IPv6 equivalent of NAT Gateway)&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
  
  
  🆕 VPC Traffic Mirroring
&lt;/h3&gt;

&lt;p&gt;Copies network traffic from an ENI for inspection (IDS/IPS, troubleshooting) without disrupting flow.&lt;/p&gt;
&lt;h3&gt;
  
  
  🆕 AWS Network Firewall
&lt;/h3&gt;

&lt;p&gt;Managed, stateful, VPC-level network firewall — deep packet inspection, intrusion prevention (IPS), domain filtering.&lt;br&gt;
📝 &lt;em&gt;"Need stateful firewall rules AND intrusion prevention at the VPC perimeter, not just per-instance SGs"&lt;/em&gt; → &lt;strong&gt;AWS Network Firewall&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Different from GWLB — Network Firewall IS an AWS-managed appliance; GWLB is for routing to 3rd-party appliances.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h3&gt;
  
  
  🆕 VPC Reachability Analyzer
&lt;/h3&gt;

&lt;p&gt;Static configuration analysis tool — tells you WHY two resources can/can't communicate (checks SG, NACL, route tables) without sending live traffic.&lt;br&gt;
📝 &lt;em&gt;"EC2 instance in subnet A can't reach RDS in subnet B, need to know exactly which rule is blocking it"&lt;/em&gt; → &lt;strong&gt;Reachability Analyzer&lt;/strong&gt;&lt;/p&gt;
&lt;h3&gt;
  
  
  🆕 AWS Firewall Manager
&lt;/h3&gt;

&lt;p&gt;Centrally manage WAF rules, Security Groups, Shield Advanced protections, and Network Firewall policies &lt;strong&gt;across multiple accounts&lt;/strong&gt; in an Organization.&lt;br&gt;
📝 &lt;em&gt;"Apply the same WAF rule to every ALB across 40 accounts automatically, including new accounts"&lt;/em&gt; → &lt;strong&gt;Firewall Manager&lt;/strong&gt;&lt;/p&gt;




&lt;h1&gt;
  
  
  1️⃣6️⃣ IAM DEEP DIVE
&lt;/h1&gt;
&lt;h3&gt;
  
  
  Policy Types
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Identity-based&lt;/strong&gt; — attached to user/group/role&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Resource-based&lt;/strong&gt; — attached to a resource (e.g., S3 bucket policy)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Permissions boundary&lt;/strong&gt; — MAX permissions for ONE identity&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;SCP&lt;/strong&gt; — MAX permissions for an account/OU&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Session policy&lt;/strong&gt; — passed at role-assumption time, further restricts&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
  
  
  Policy Evaluation Order (memorize)
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;Explicit DENY anywhere → immediately denied&lt;/li&gt;
&lt;li&gt;Explicit ALLOW required somewhere&lt;/li&gt;
&lt;li&gt;Default = DENY if nothing matches&lt;/li&gt;
&lt;/ol&gt;

&lt;blockquote&gt;
&lt;p&gt;📌 Explicit DENY always wins, no matter how many ALLOWs exist.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h3&gt;
  
  
  Effective Permissions Formula
&lt;/h3&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Effective permissions =
  Identity-based policy
  ∩ Permissions Boundary (if set)
  ∩ SCP (if in an Organization)
  ∩ Resource-based policy (if applicable)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;&lt;em&gt;(∩ = most restrictive wins)&lt;/em&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;📌 Trap: S3FullAccess IAM policy does NOTHING if an SCP denies S3 at OU level.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h3&gt;
  
  
  Best Practices
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Never use root for daily tasks · Enable MFA everywhere privileged&lt;/li&gt;
&lt;li&gt;IAM Roles for EC2/Lambda, never embedded keys&lt;/li&gt;
&lt;li&gt;Least privilege, expand only when needed&lt;/li&gt;
&lt;li&gt;IAM Access Analyzer → find overly permissive policies&lt;/li&gt;
&lt;li&gt;Roles &amp;gt; rotating credentials&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
  
  
  IAM Identity Center (formerly AWS SSO)
&lt;/h3&gt;

&lt;p&gt;Central place to manage workforce access across ALL AWS accounts + SaaS apps. Integrates with external IdP (Okta, Azure AD) or built-in directory.&lt;br&gt;
📝 &lt;em&gt;"1000 employees need SSO across 50 AWS accounts and 3 SaaS apps"&lt;/em&gt; → &lt;strong&gt;IAM Identity Center&lt;/strong&gt;&lt;/p&gt;
&lt;h3&gt;
  
  
  IAM Access Analyzer
&lt;/h3&gt;

&lt;p&gt;Continuously analyzes resource policies to find access granted to external entities.&lt;br&gt;
📝 &lt;em&gt;"Find any S3 bucket accidentally accessible from outside the organization"&lt;/em&gt; → &lt;strong&gt;IAM Access Analyzer&lt;/strong&gt;&lt;/p&gt;
&lt;h3&gt;
  
  
  AWS Directory Service Options
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Option&lt;/th&gt;
&lt;th&gt;Use Case&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;AWS Managed Microsoft AD&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Full AD features, trust relationships with on-prem AD&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;AD Connector&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Proxy/redirect to existing on-prem AD (no user data stored in AWS)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Simple AD&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Basic AD-compatible directory, small scale, no trusts&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;📝 &lt;em&gt;"Need AWS resources to authenticate against existing on-prem Active Directory without duplicating users"&lt;/em&gt; → &lt;strong&gt;AD Connector&lt;/strong&gt;&lt;/p&gt;
&lt;h3&gt;
  
  
  STS (Security Token Service)
&lt;/h3&gt;

&lt;p&gt;Issues temporary credentials for role assumption, federation, cross-account access. Key APIs: &lt;code&gt;AssumeRole&lt;/code&gt;, &lt;code&gt;AssumeRoleWithSAML&lt;/code&gt;, &lt;code&gt;AssumeRoleWithWebIdentity&lt;/code&gt;.&lt;/p&gt;
&lt;h3&gt;
  
  
  🆕 Cross-Account Role Assumption Pattern
&lt;/h3&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Account A (User) → sts:AssumeRole → Account B (Role w/ Trust Policy allowing Account A)
→ Temp credentials → Access Account B resources
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;📝 &lt;em&gt;"Central security team in Account A needs read-only access to audit logs in 30 member accounts"&lt;/em&gt; → &lt;strong&gt;IAM Role in each account with trust policy to Account A + AssumeRole&lt;/strong&gt;&lt;/p&gt;
&lt;h3&gt;
  
  
  🆕 Federation Types
&lt;/h3&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;SAML 2.0        → enterprise IdP (Active Directory Federation Services, Okta) → AssumeRoleWithSAML
Web Identity    → social login (Google, Facebook, Amazon) → AssumeRoleWithWebIdentity (or Cognito, preferred)
Cognito         → preferred method for mobile/web app federation → Identity Pools
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;h1&gt;
  
  
  1️⃣7️⃣ S3 DEEP DIVE
&lt;/h1&gt;
&lt;h3&gt;
  
  
  Consistency
&lt;/h3&gt;

&lt;p&gt;✅ Strong read-after-write consistency for ALL operations (since Dec 2020).&lt;/p&gt;
&lt;h3&gt;
  
  
  Versioning
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Once enabled, can only be suspended (not disabled)&lt;/li&gt;
&lt;li&gt;Protects against accidental overwrite/delete&lt;/li&gt;
&lt;li&gt;Combine with MFA Delete for extra protection&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
  
  
  Replication (CRR/SRR)
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;CRR = different region (DR/compliance/latency) | SRR = same region (log aggregation/compliance)&lt;/li&gt;
&lt;li&gt;Requires versioning on both buckets&lt;/li&gt;
&lt;li&gt;NOT retroactive (unless S3 Batch Replication)&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
  
  
  Lifecycle Policies
&lt;/h3&gt;

&lt;p&gt;Common pattern: Standard → Standard-IA (30d) → Glacier (90d) → Deep Archive (180d) → Delete (365d)&lt;/p&gt;
&lt;h3&gt;
  
  
  Storage Classes
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Class&lt;/th&gt;
&lt;th&gt;Access&lt;/th&gt;
&lt;th&gt;Retrieval&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Standard&lt;/td&gt;
&lt;td&gt;Frequent&lt;/td&gt;
&lt;td&gt;ms&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Intelligent-Tiering&lt;/td&gt;
&lt;td&gt;Unknown/changing&lt;/td&gt;
&lt;td&gt;ms (auto-moves)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Standard-IA&lt;/td&gt;
&lt;td&gt;Infrequent&lt;/td&gt;
&lt;td&gt;ms&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;One Zone-IA&lt;/td&gt;
&lt;td&gt;Infrequent, non-critical&lt;/td&gt;
&lt;td&gt;ms&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Glacier Instant Retrieval&lt;/td&gt;
&lt;td&gt;Archive, need fast&lt;/td&gt;
&lt;td&gt;ms&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Glacier Flexible&lt;/td&gt;
&lt;td&gt;Archive&lt;/td&gt;
&lt;td&gt;mins-hours&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Glacier Deep Archive&lt;/td&gt;
&lt;td&gt;Archive, cheapest&lt;/td&gt;
&lt;td&gt;~12hrs&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;h3&gt;
  
  
  Advanced Features
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Object Lock&lt;/strong&gt; — WORM compliance&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Object Lambda&lt;/strong&gt; — transform on retrieval&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Multi-Region Access Points&lt;/strong&gt; — single global endpoint&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Transfer Acceleration&lt;/strong&gt; — speeds up uploads via edge locations&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Access Points&lt;/strong&gt; — simplify shared-bucket access management&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Static Website Hosting&lt;/strong&gt; — S3 can serve a website directly (but no HTTPS without CloudFront)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Presigned URLs&lt;/strong&gt; — temporary access to private objects without changing bucket policy&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
  
  
  CloudFront + S3 Access Control
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;OAC (Origin Access Control)&lt;/strong&gt; — current best-practice, keeps S3 bucket private, only CloudFront can read&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;OAI (Origin Access Identity)&lt;/strong&gt; — legacy, still tested, same purpose as OAC&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
  
  
  S3 Select / Glacier Select
&lt;/h3&gt;

&lt;p&gt;Retrieve a SUBSET of data using SQL, instead of downloading the whole object.&lt;br&gt;
📝 &lt;em&gt;"App only needs 3 columns from a 10GB CSV, minimize transfer/cost"&lt;/em&gt; → &lt;strong&gt;S3 Select&lt;/strong&gt;&lt;/p&gt;
&lt;h3&gt;
  
  
  S3 Batch Operations
&lt;/h3&gt;

&lt;p&gt;Perform bulk actions (copy, tag, restore, invoke Lambda) across billions of objects in one job.&lt;br&gt;
📝 &lt;em&gt;"Apply a new tag to 2 billion existing objects"&lt;/em&gt; → &lt;strong&gt;S3 Batch Operations&lt;/strong&gt;&lt;/p&gt;
&lt;h3&gt;
  
  
  S3 Event Notifications
&lt;/h3&gt;

&lt;p&gt;Trigger Lambda/SQS/SNS on object create/delete/restore events.&lt;br&gt;
📝 &lt;em&gt;"Automatically process an image the moment it's uploaded"&lt;/em&gt; → &lt;strong&gt;S3 Event Notification → Lambda&lt;/strong&gt;&lt;/p&gt;
&lt;h3&gt;
  
  
  🆕 Bucket Policy vs ACL vs IAM Policy
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Attached To&lt;/th&gt;
&lt;th&gt;Grants Cross-Account?&lt;/th&gt;
&lt;th&gt;Modern Best Practice?&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;IAM Policy&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;User/Role&lt;/td&gt;
&lt;td&gt;No (same account)&lt;/td&gt;
&lt;td&gt;✅ Yes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Bucket Policy&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;The bucket itself&lt;/td&gt;
&lt;td&gt;✅ Yes&lt;/td&gt;
&lt;td&gt;✅ Yes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;ACL (Access Control List)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Bucket or Object&lt;/td&gt;
&lt;td&gt;✅ Yes (legacy)&lt;/td&gt;
&lt;td&gt;❌ Legacy, avoid&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;📝 &lt;em&gt;"Grant read access to a bucket from a DIFFERENT AWS account"&lt;/em&gt; → &lt;strong&gt;Bucket Policy&lt;/strong&gt; (or Access Point), not IAM policy alone&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;📌 AWS now recommends &lt;strong&gt;disabling ACLs entirely&lt;/strong&gt; (Bucket Owner Enforced setting) and using policies only.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h3&gt;
  
  
  🆕 S3 Cross-Account Access Pattern
&lt;/h3&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Account A (bucket owner) → Bucket Policy allows Account B's role
Account B → IAM Policy allows s3:GetObject on that bucket ARN
BOTH must allow → effective access
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h3&gt;
  
  
  🆕 Requester Pays
&lt;/h3&gt;

&lt;p&gt;Bucket owner can shift data transfer/request costs to whoever downloads objects — useful for public datasets shared broadly.&lt;br&gt;
📝 &lt;em&gt;"Publish a large public dataset but don't want to pay everyone else's download costs"&lt;/em&gt; → &lt;strong&gt;S3 Requester Pays&lt;/strong&gt;&lt;/p&gt;




&lt;h1&gt;
  
  
  1️⃣8️⃣ 🆕 RDS &amp;amp; AURORA DEEP DIVE
&lt;/h1&gt;
&lt;h3&gt;
  
  
  RDS Backup Types
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Automated Backups&lt;/th&gt;
&lt;th&gt;Manual Snapshots&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Trigger&lt;/td&gt;
&lt;td&gt;Daily, automatic, during backup window&lt;/td&gt;
&lt;td&gt;On-demand, user-initiated&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Retention&lt;/td&gt;
&lt;td&gt;1-35 days&lt;/td&gt;
&lt;td&gt;Until manually deleted&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Deleted with instance?&lt;/td&gt;
&lt;td&gt;✅ Yes (unless final snapshot taken)&lt;/td&gt;
&lt;td&gt;❌ No, persists&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cross-region copy&lt;/td&gt;
&lt;td&gt;✅ Supported&lt;/td&gt;
&lt;td&gt;✅ Supported&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cross-account share&lt;/td&gt;
&lt;td&gt;❌ No&lt;/td&gt;
&lt;td&gt;✅ Yes&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;📝 &lt;em&gt;"Need to retain a specific backup indefinitely even after the DB instance is deleted"&lt;/em&gt; → &lt;strong&gt;Manual Snapshot&lt;/strong&gt;&lt;br&gt;
📝 &lt;em&gt;"Need point-in-time restore to any second within the last 2 weeks"&lt;/em&gt; → &lt;strong&gt;Automated Backups&lt;/strong&gt; (enables PITR)&lt;/p&gt;
&lt;h3&gt;
  
  
  RDS Encryption Rules (frequently tested trap)
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;⚠️ &lt;strong&gt;Cannot enable encryption on an existing UNENCRYPTED RDS instance directly&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;✅ Workaround: Snapshot the unencrypted instance → Copy the snapshot WITH encryption enabled → Restore new (encrypted) instance from that snapshot
📝 &lt;em&gt;"Existing unencrypted RDS instance must become encrypted with minimal effort"&lt;/em&gt; → &lt;strong&gt;Snapshot → Copy (encrypt) → Restore&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
  
  
  RDS Multi-AZ vs Multi-AZ DB Cluster (newer)
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Multi-AZ Instance&lt;/th&gt;
&lt;th&gt;Multi-AZ DB Cluster&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Standby readable?&lt;/td&gt;
&lt;td&gt;❌ No&lt;/td&gt;
&lt;td&gt;✅ Yes (readable replicas)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Failover time&lt;/td&gt;
&lt;td&gt;~60-120 sec&lt;/td&gt;
&lt;td&gt;Faster (~35 sec), uses replicas&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Replicas&lt;/td&gt;
&lt;td&gt;0 (standby only)&lt;/td&gt;
&lt;td&gt;2 readable standbys&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;h3&gt;
  
  
  RDS Proxy
&lt;/h3&gt;

&lt;p&gt;Connection pooling for Lambda/serverless apps hitting RDS — prevents connection exhaustion, faster failover.&lt;br&gt;
📝 &lt;em&gt;"Lambda functions spike to thousands of concurrent executions, RDS running out of connections"&lt;/em&gt; → &lt;strong&gt;RDS Proxy&lt;/strong&gt;&lt;/p&gt;
&lt;h3&gt;
  
  
  Aurora-Specific Features
&lt;/h3&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Aurora Replicas         → up to 15, low replication lag (~10-20ms), can auto-failover (unlike RDS Read Replicas)
Aurora Cloning          → fast, copy-on-write clone of a DB for testing, doesn't copy full storage
Backtrack               → rewind a cluster to a previous point in time WITHOUT restoring from backup (MySQL-compatible only)
Custom Endpoints        → route specific queries to a defined subset of Aurora instances
Writer/Reader Endpoint  → writer=single instance, reader=load-balanced across all replicas
Global Database         → 1 primary region (write) + up to 5 secondary regions (read), &amp;lt;1s lag, fast regional failover
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;📝 &lt;em&gt;"Need to quickly test schema changes against a copy of production data without doubling storage cost"&lt;/em&gt; → &lt;strong&gt;Aurora Cloning&lt;/strong&gt;&lt;br&gt;
📝 &lt;em&gt;"Accidentally ran a bad DELETE, need to rewind the DB in seconds without a full restore"&lt;/em&gt; → &lt;strong&gt;Aurora Backtrack&lt;/strong&gt;&lt;/p&gt;
&lt;h3&gt;
  
  
  Aurora Serverless v1 vs v2
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;v1&lt;/th&gt;
&lt;th&gt;v2&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Scale to zero&lt;/td&gt;
&lt;td&gt;✅ Yes&lt;/td&gt;
&lt;td&gt;❌ No (min 0.5 ACU)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Scaling speed&lt;/td&gt;
&lt;td&gt;Seconds-minutes (cold start possible)&lt;/td&gt;
&lt;td&gt;Fast, fine-grained, near-instant&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Use case&lt;/td&gt;
&lt;td&gt;Infrequent, intermittent workloads&lt;/td&gt;
&lt;td&gt;Variable/unpredictable but still active&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;📝 &lt;em&gt;"Dev/test database used a few hours a week, must have zero cost when idle"&lt;/em&gt; → &lt;strong&gt;Aurora Serverless v1&lt;/strong&gt;&lt;br&gt;
📝 &lt;em&gt;"Production workload with unpredictable but continuous traffic"&lt;/em&gt; → &lt;strong&gt;Aurora Serverless v2&lt;/strong&gt;&lt;/p&gt;
&lt;h3&gt;
  
  
  🆕 RDS Read Replica Cross-Region
&lt;/h3&gt;

&lt;p&gt;Read Replicas CAN be cross-region (unlike Multi-AZ standby) — useful for disaster recovery + reducing read latency for global users.&lt;br&gt;
📝 &lt;em&gt;"Reduce read latency for users in Asia while primary DB is in US"&lt;/em&gt; → &lt;strong&gt;Cross-Region Read Replica&lt;/strong&gt;&lt;/p&gt;




&lt;h1&gt;
  
  
  1️⃣9️⃣ 🆕 DYNAMODB DEEP DIVE
&lt;/h1&gt;
&lt;h3&gt;
  
  
  Indexes
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;GSI&lt;/th&gt;
&lt;th&gt;LSI&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Key structure&lt;/td&gt;
&lt;td&gt;New partition + sort key&lt;/td&gt;
&lt;td&gt;Same partition, different sort key&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Created when&lt;/td&gt;
&lt;td&gt;Anytime&lt;/td&gt;
&lt;td&gt;ONLY at table creation&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Consistency&lt;/td&gt;
&lt;td&gt;Eventually consistent only&lt;/td&gt;
&lt;td&gt;Strong or eventual&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Max per table&lt;/td&gt;
&lt;td&gt;20 (default)&lt;/td&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;📝 &lt;em&gt;"Need to query by an attribute that's not part of the primary key, added after table creation"&lt;/em&gt; → &lt;strong&gt;GSI&lt;/strong&gt;&lt;br&gt;
📝 &lt;em&gt;"Need strongly consistent reads on an alternate sort key"&lt;/em&gt; → &lt;strong&gt;LSI&lt;/strong&gt; (must be planned at table creation!)&lt;/p&gt;
&lt;h3&gt;
  
  
  DynamoDB Streams
&lt;/h3&gt;

&lt;p&gt;Captures item-level changes (insert/update/delete) → triggers Lambda for real-time processing.&lt;br&gt;
📝 &lt;em&gt;"React in real-time to every item change, trigger downstream processing"&lt;/em&gt; → &lt;strong&gt;DynamoDB Streams + Lambda&lt;/strong&gt;&lt;/p&gt;
&lt;h3&gt;
  
  
  TTL (Time to Live)
&lt;/h3&gt;

&lt;p&gt;Auto-deletes expired items at no additional cost.&lt;br&gt;
📝 &lt;em&gt;"Session data should auto-expire after 24 hours, zero extra cost"&lt;/em&gt; → &lt;strong&gt;DynamoDB TTL&lt;/strong&gt;&lt;/p&gt;
&lt;h3&gt;
  
  
  Capacity Modes
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;On-Demand&lt;/th&gt;
&lt;th&gt;Provisioned&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Best for&lt;/td&gt;
&lt;td&gt;Unpredictable/spiky traffic&lt;/td&gt;
&lt;td&gt;Steady, predictable traffic&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Scaling&lt;/td&gt;
&lt;td&gt;Automatic&lt;/td&gt;
&lt;td&gt;Manual or Auto Scaling&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cost model&lt;/td&gt;
&lt;td&gt;Pay per request&lt;/td&gt;
&lt;td&gt;Pay for provisioned capacity&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;h3&gt;
  
  
  Hot Partition Problem
&lt;/h3&gt;

&lt;p&gt;⚠️ Poor partition key choice (e.g., using a low-cardinality attribute like "status") → throttling on that partition even with capacity available elsewhere.&lt;br&gt;
✅ Fix: choose a &lt;strong&gt;high-cardinality partition key&lt;/strong&gt; (e.g., user ID), not add more capacity.&lt;br&gt;
📝 &lt;em&gt;"DynamoDB table throttles despite having available overall capacity"&lt;/em&gt; → &lt;strong&gt;Redesign partition key&lt;/strong&gt; (not "increase provisioned capacity")&lt;/p&gt;
&lt;h3&gt;
  
  
  PITR (Point-in-Time Recovery)
&lt;/h3&gt;

&lt;p&gt;Continuous backups, restore to any second within the last 35 days.&lt;br&gt;
📝 &lt;em&gt;"Need to restore a DynamoDB table to exactly 3 days ago at 2:14pm"&lt;/em&gt; → &lt;strong&gt;PITR&lt;/strong&gt;&lt;/p&gt;
&lt;h3&gt;
  
  
  Conditional Writes
&lt;/h3&gt;

&lt;p&gt;Prevent race conditions on concurrent updates (e.g., &lt;code&gt;attribute_not_exists&lt;/code&gt;).&lt;/p&gt;
&lt;h3&gt;
  
  
  🆕 DynamoDB Accelerator (DAX)
&lt;/h3&gt;

&lt;p&gt;Fully managed, in-memory cache for DynamoDB — microsecond latency, write-through cache.&lt;br&gt;
📝 &lt;em&gt;"DynamoDB read-heavy workload needs microsecond response times without app code rewrite for cache logic"&lt;/em&gt; → &lt;strong&gt;DAX&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;⚠️ DAX is API-compatible — minimal code change vs building your own ElastiCache caching layer.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h1&gt;
  
  
  2️⃣0️⃣ 🆕 ELASTICACHE DEEP DIVE
&lt;/h1&gt;
&lt;h3&gt;
  
  
  Redis vs Memcached (HIGH-YIELD comparison)
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Feature&lt;/th&gt;
&lt;th&gt;Redis&lt;/th&gt;
&lt;th&gt;Memcached&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Persistence&lt;/td&gt;
&lt;td&gt;✅ Yes (snapshots/AOF)&lt;/td&gt;
&lt;td&gt;❌ No&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Replication&lt;/td&gt;
&lt;td&gt;✅ Yes (Multi-AZ)&lt;/td&gt;
&lt;td&gt;❌ No&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Data structures&lt;/td&gt;
&lt;td&gt;Rich (lists, sets, sorted sets, hashes)&lt;/td&gt;
&lt;td&gt;Simple key-value only&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Multi-threading&lt;/td&gt;
&lt;td&gt;Single-threaded (mostly)&lt;/td&gt;
&lt;td&gt;✅ Multi-threaded&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Backup/Restore&lt;/td&gt;
&lt;td&gt;✅ Yes&lt;/td&gt;
&lt;td&gt;❌ No&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Pub/Sub&lt;/td&gt;
&lt;td&gt;✅ Yes&lt;/td&gt;
&lt;td&gt;❌ No&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Transactions&lt;/td&gt;
&lt;td&gt;✅ Yes&lt;/td&gt;
&lt;td&gt;❌ No&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Use case&lt;/td&gt;
&lt;td&gt;Leaderboards, session store, HA cache needing durability&lt;/td&gt;
&lt;td&gt;Simple, high-throughput cache, easily rebuilt&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;📝 &lt;em&gt;"Need a cache that persists data and supports automatic failover"&lt;/em&gt; → &lt;strong&gt;Redis&lt;/strong&gt;&lt;br&gt;
📝 &lt;em&gt;"Need pure simple caching, data loss acceptable, want to scale horizontally across many nodes easily"&lt;/em&gt; → &lt;strong&gt;Memcached&lt;/strong&gt;&lt;br&gt;
📝 &lt;em&gt;"Need a leaderboard with sorted rankings"&lt;/em&gt; → &lt;strong&gt;Redis (Sorted Sets)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;🧠 &lt;em&gt;"Redis Remembers (persists), Memcached Might forget."&lt;/em&gt;&lt;/p&gt;
&lt;h3&gt;
  
  
  Caching Strategies
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Pattern&lt;/th&gt;
&lt;th&gt;How It Works&lt;/th&gt;
&lt;th&gt;Trade-off&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Lazy Loading (Cache-Aside)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;App checks cache, on miss queries DB then populates cache&lt;/td&gt;
&lt;td&gt;Cache can go stale, only caches requested data&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Write-Through&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Data written to cache AND DB simultaneously&lt;/td&gt;
&lt;td&gt;Cache always fresh, but write penalty + wasted cache space for unused data&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;📝 &lt;em&gt;"Cache should stay current with DB writes, and app can accept slightly slower writes"&lt;/em&gt; → &lt;strong&gt;Write-Through&lt;/strong&gt;&lt;br&gt;
📝 &lt;em&gt;"Only cache what's actually requested to save memory"&lt;/em&gt; → &lt;strong&gt;Lazy Loading&lt;/strong&gt;&lt;/p&gt;




&lt;h1&gt;
  
  
  2️⃣1️⃣ 🆕 KMS &amp;amp; ENCRYPTION DEEP DIVE
&lt;/h1&gt;
&lt;h3&gt;
  
  
  Envelope Encryption
&lt;/h3&gt;

&lt;p&gt;KMS doesn't directly encrypt large data — it encrypts a &lt;strong&gt;Data Encryption Key (DEK)&lt;/strong&gt;, which encrypts your actual data. This is how S3/EBS/RDS encryption works under the hood.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Plaintext Data + DEK → Ciphertext
DEK + KMS CMK → Encrypted DEK (stored alongside ciphertext)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  CMK Types
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Who Manages&lt;/th&gt;
&lt;th&gt;Rotation&lt;/th&gt;
&lt;th&gt;Use Case&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;strong&gt;AWS Managed Key&lt;/strong&gt; (aws/s3, aws/ebs)&lt;/td&gt;
&lt;td&gt;AWS&lt;/td&gt;
&lt;td&gt;Automatic, AWS-controlled schedule&lt;/td&gt;
&lt;td&gt;Default, simplest, no customization&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Customer Managed Key (CMK)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;You&lt;/td&gt;
&lt;td&gt;Optional automatic annual rotation (you enable)&lt;/td&gt;
&lt;td&gt;Full control: policy, rotation, deletion, cross-account sharing&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;AWS Owned Key&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;AWS (shared across accounts, invisible to you)&lt;/td&gt;
&lt;td&gt;AWS-controlled&lt;/td&gt;
&lt;td&gt;Some AWS service internals&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;📝 &lt;em&gt;"Must fully control key policy, rotation schedule, and be able to disable/delete the key"&lt;/em&gt; → &lt;strong&gt;Customer Managed Key&lt;/strong&gt;&lt;br&gt;
📝 &lt;em&gt;"Just needs encryption at rest, doesn't care about key management"&lt;/em&gt; → &lt;strong&gt;AWS Managed Key (SSE-S3 or default)&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Key Policies vs Grants
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Key Policy&lt;/strong&gt; — resource-based policy, primary access control mechanism for a CMK (required, even if IAM also allows)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Grants&lt;/strong&gt; — temporary, programmatic delegated permissions (used by AWS services needing short-term key access)&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Multi-Region Keys
&lt;/h3&gt;

&lt;p&gt;Same key material replicated across regions — used for Global Tables, Aurora Global DB, or multi-region DR needing consistent encryption without re-encrypting.&lt;br&gt;
📝 &lt;em&gt;"Encrypt data consistently across DynamoDB Global Tables in 3 regions using related keys"&lt;/em&gt; → &lt;strong&gt;KMS Multi-Region Keys&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Asymmetric CMKs
&lt;/h3&gt;

&lt;p&gt;Used for digital signing/verification (not just encrypt/decrypt) — e.g., verifying software integrity.&lt;/p&gt;

&lt;h3&gt;
  
  
  Encryption in Transit vs At Rest
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;At Rest&lt;/th&gt;
&lt;th&gt;In Transit&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Mechanism&lt;/td&gt;
&lt;td&gt;KMS/SSE encryption on storage&lt;/td&gt;
&lt;td&gt;TLS/SSL&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Services&lt;/td&gt;
&lt;td&gt;S3 (SSE-S3/KMS), EBS, RDS&lt;/td&gt;
&lt;td&gt;ACM certs on ALB/CloudFront, VPN, HTTPS&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;📝 &lt;em&gt;"Data must be encrypted both while stored AND while moving between services"&lt;/em&gt; → &lt;strong&gt;KMS (at rest) + TLS/ACM (in transit)&lt;/strong&gt; — both required, not either/or&lt;/p&gt;

&lt;h3&gt;
  
  
  Secrets Manager vs Parameter Store — Full Comparison
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Secrets Manager&lt;/th&gt;
&lt;th&gt;Parameter Store (Standard)&lt;/th&gt;
&lt;th&gt;Parameter Store (Advanced)&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Automatic rotation&lt;/td&gt;
&lt;td&gt;✅ Native (Lambda-based)&lt;/td&gt;
&lt;td&gt;❌ No&lt;/td&gt;
&lt;td&gt;❌ No (needs custom automation)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cost&lt;/td&gt;
&lt;td&gt;$$ per secret/month&lt;/td&gt;
&lt;td&gt;Free&lt;/td&gt;
&lt;td&gt;$ small monthly fee&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Max size&lt;/td&gt;
&lt;td&gt;64KB&lt;/td&gt;
&lt;td&gt;4KB&lt;/td&gt;
&lt;td&gt;8KB&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cross-account&lt;/td&gt;
&lt;td&gt;✅ Via resource policy&lt;/td&gt;
&lt;td&gt;Limited&lt;/td&gt;
&lt;td&gt;Limited&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Native integration&lt;/td&gt;
&lt;td&gt;RDS, Redshift, DocumentDB&lt;/td&gt;
&lt;td&gt;General config&lt;/td&gt;
&lt;td&gt;General config&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;📝 &lt;em&gt;"Store DB password AND automatically rotate it every 30 days"&lt;/em&gt; → &lt;strong&gt;Secrets Manager&lt;/strong&gt;&lt;br&gt;
📝 &lt;em&gt;"Store a non-sensitive API endpoint URL, free of charge"&lt;/em&gt; → &lt;strong&gt;Parameter Store (Standard)&lt;/strong&gt;&lt;/p&gt;







&lt;h1&gt;
  
  
  2️⃣2️⃣ 🆕 CLOUDFRONT DEEP DIVE
&lt;/h1&gt;

&lt;h3&gt;
  
  
  Signed URL vs Signed Cookie
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Signed URL&lt;/th&gt;
&lt;th&gt;Signed Cookie&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Scope&lt;/td&gt;
&lt;td&gt;ONE file&lt;/td&gt;
&lt;td&gt;MULTIPLE files/whole site&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Use case&lt;/td&gt;
&lt;td&gt;Single video/document download&lt;/td&gt;
&lt;td&gt;Video streaming site with many assets per session&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;📝 &lt;em&gt;"User needs access to an entire private video library during their session, not just one file"&lt;/em&gt; → &lt;strong&gt;Signed Cookies&lt;/strong&gt;&lt;br&gt;
📝 &lt;em&gt;"Grant temporary access to ONE private PDF"&lt;/em&gt; → &lt;strong&gt;Signed URL&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Origin Failover (Origin Groups)
&lt;/h3&gt;

&lt;p&gt;Primary + secondary origin — CloudFront automatically fails over to secondary if primary fails/returns errors.&lt;br&gt;
📝 &lt;em&gt;"Need automatic failover to a backup S3 bucket in another region if primary origin is down"&lt;/em&gt; → &lt;strong&gt;CloudFront Origin Groups&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Lambda@Edge vs CloudFront Functions
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;CloudFront Functions&lt;/th&gt;
&lt;th&gt;Lambda@Edge&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Language&lt;/td&gt;
&lt;td&gt;JavaScript only&lt;/td&gt;
&lt;td&gt;Node.js/Python&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Trigger points&lt;/td&gt;
&lt;td&gt;Viewer request/response only&lt;/td&gt;
&lt;td&gt;All 4 (viewer/origin request/response)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Execution&lt;/td&gt;
&lt;td&gt;Lightweight, microseconds&lt;/td&gt;
&lt;td&gt;Heavier, up to seconds&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Use case&lt;/td&gt;
&lt;td&gt;Simple header manipulation, redirects&lt;/td&gt;
&lt;td&gt;Complex logic, external calls, A/B testing&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;📝 &lt;em&gt;"Modify HTTP headers at the edge with minimal latency, simple logic only"&lt;/em&gt; → &lt;strong&gt;CloudFront Functions&lt;/strong&gt;&lt;br&gt;
📝 &lt;em&gt;"Need to call an external API or do complex request transformation at the edge"&lt;/em&gt; → &lt;strong&gt;Lambda@Edge&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Field-Level Encryption
&lt;/h3&gt;

&lt;p&gt;Encrypts specific sensitive fields (e.g., credit card numbers) end-to-end, even the origin only sees ciphertext unless it holds the private key.&lt;/p&gt;

&lt;h3&gt;
  
  
  Cache Behaviors
&lt;/h3&gt;

&lt;p&gt;Path-pattern based routing to different origins within a single distribution (e.g., &lt;code&gt;/images/*&lt;/code&gt; → S3, &lt;code&gt;/api/*&lt;/code&gt; → ALB).&lt;/p&gt;

&lt;h3&gt;
  
  
  🆕 Geo Restriction
&lt;/h3&gt;

&lt;p&gt;Block or allow access to your CloudFront distribution based on viewer's country (allowlist/denylist) — simpler than Route 53 Geolocation for pure content blocking.&lt;br&gt;
📝 &lt;em&gt;"Content must not be accessible from specific embargoed countries"&lt;/em&gt; → &lt;strong&gt;CloudFront Geo Restriction&lt;/strong&gt;&lt;/p&gt;







&lt;h1&gt;
  
  
  2️⃣3️⃣ 🆕 LAMBDA DEEP DIVE
&lt;/h1&gt;

&lt;h3&gt;
  
  
  Concurrency Controls
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Feature&lt;/th&gt;
&lt;th&gt;Purpose&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Reserved Concurrency&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Guarantees AND caps capacity for a function (throttles beyond limit)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Provisioned Concurrency&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Pre-warmed execution environments — eliminates cold starts&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;📝 &lt;em&gt;"Latency-sensitive API cannot tolerate cold-start delay"&lt;/em&gt; → &lt;strong&gt;Provisioned Concurrency&lt;/strong&gt;&lt;br&gt;
📝 &lt;em&gt;"Ensure one noisy function can't consume all account-wide concurrency, starving others"&lt;/em&gt; → &lt;strong&gt;Reserved Concurrency&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Cold Starts
&lt;/h3&gt;

&lt;p&gt;VPC-attached Lambdas historically had slower cold starts (ENI attachment) — significantly improved with Hyperplane ENIs, but still a testable concept when comparing VPC vs non-VPC Lambda.&lt;/p&gt;

&lt;h3&gt;
  
  
  Lambda Layers
&lt;/h3&gt;

&lt;p&gt;Share code/libraries across multiple functions without duplicating in each deployment package.&lt;br&gt;
📝 &lt;em&gt;"Share a common logging library across 20 Lambda functions"&lt;/em&gt; → &lt;strong&gt;Lambda Layers&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Lambda Destinations vs DLQ
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;DLQ&lt;/th&gt;
&lt;th&gt;Destinations&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Captures&lt;/td&gt;
&lt;td&gt;Failed async invocations only&lt;/td&gt;
&lt;td&gt;Success AND failure&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Targets&lt;/td&gt;
&lt;td&gt;SQS, SNS&lt;/td&gt;
&lt;td&gt;SQS, SNS, EventBridge, another Lambda&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;📝 &lt;em&gt;"Need to route BOTH successful and failed async Lambda results to different downstream targets"&lt;/em&gt; → &lt;strong&gt;Lambda Destinations&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Environment Variables
&lt;/h3&gt;

&lt;p&gt;Can be encrypted with KMS for sensitive values (though Secrets Manager/Parameter Store preferred for actual secrets).&lt;/p&gt;

&lt;h3&gt;
  
  
  🆕 Lambda SnapStart
&lt;/h3&gt;

&lt;p&gt;Pre-initializes a snapshot of the execution environment (JVM state) to dramatically reduce cold starts for Java functions specifically.&lt;/p&gt;







&lt;h1&gt;
  
  
  2️⃣4️⃣ 🆕 MESSAGING DEEP DIVE (SQS / SNS / EventBridge / Step Functions)
&lt;/h1&gt;

&lt;h3&gt;
  
  
  SQS Core Mechanics
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Visibility Timeout   → time a message is hidden after being received, before it's deletable/re-visible (default 30s)
Dead Letter Queue (DLQ) → captures messages that fail processing after max receive count
Long Polling         → waits up to 20s for messages, reduces empty responses &amp;amp; cost (vs Short Polling)
Delay Queues          → delay message visibility up to 15 min after being sent
Message Retention     → default 4 days, max 14 days
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;📝 &lt;em&gt;"Messages failing repeatedly should be isolated for investigation instead of blocking the queue"&lt;/em&gt; → &lt;strong&gt;DLQ&lt;/strong&gt;&lt;br&gt;
📝 &lt;em&gt;"Reduce empty API call costs when polling SQS"&lt;/em&gt; → &lt;strong&gt;Long Polling&lt;/strong&gt;&lt;br&gt;
📝 &lt;em&gt;"Consumer needs more time to process a large message before it reappears in the queue"&lt;/em&gt; → &lt;strong&gt;Increase Visibility Timeout&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  SNS Advanced Features
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Message Filtering    → subscribers receive only messages matching a filter policy (reduces unnecessary processing)
FIFO Topics           → ordered, exactly-once delivery to SQS FIFO queues only
Message Attributes    → metadata used for filtering
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;📝 &lt;em&gt;"Only some subscribers should receive certain message types from the same topic"&lt;/em&gt; → &lt;strong&gt;SNS Message Filtering&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  EventBridge
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Event Bus            → default, custom, or partner (SaaS) buses
Schema Registry      → auto-discovers and stores event structure
Rules                → pattern match events → route to targets (Lambda, SQS, Step Functions, etc.)
Scheduler             → cron/rate-based invocations (newer, more scalable than CloudWatch Events rules)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;📝 &lt;em&gt;"Route events from Salesforce/Zendesk/etc. based on event type"&lt;/em&gt; → &lt;strong&gt;EventBridge (partner event bus)&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Step Functions: Standard vs Express
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Standard&lt;/th&gt;
&lt;th&gt;Express&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Max duration&lt;/td&gt;
&lt;td&gt;1 year&lt;/td&gt;
&lt;td&gt;5 minutes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Execution semantics&lt;/td&gt;
&lt;td&gt;Exactly-once&lt;/td&gt;
&lt;td&gt;At-least-once&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Pricing&lt;/td&gt;
&lt;td&gt;Per state transition&lt;/td&gt;
&lt;td&gt;Per execution + duration&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Use case&lt;/td&gt;
&lt;td&gt;Long-running workflows, audit history needed&lt;/td&gt;
&lt;td&gt;High-volume, short-duration event processing&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;📝 &lt;em&gt;"High-volume IoT event processing workflow, sub-second executions, cost-sensitive"&lt;/em&gt; → &lt;strong&gt;Express Workflow&lt;/strong&gt;&lt;br&gt;
📝 &lt;em&gt;"Multi-day order fulfillment workflow needing full execution history"&lt;/em&gt; → &lt;strong&gt;Standard Workflow&lt;/strong&gt;&lt;/p&gt;







&lt;h1&gt;
  
  
  2️⃣5️⃣ EC2, AUTO SCALING &amp;amp; ELB DEEP DIVE
&lt;/h1&gt;

&lt;h3&gt;
  
  
  EC2 Purchasing Options
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Option&lt;/th&gt;
&lt;th&gt;Best For&lt;/th&gt;
&lt;th&gt;Commitment&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;On-Demand&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Unpredictable, short-term, no commitment&lt;/td&gt;
&lt;td&gt;None&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Reserved Instance&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Steady-state, known usage&lt;/td&gt;
&lt;td&gt;1 or 3 years&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Savings Plan&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Steady $/hr spend, flexible instance family&lt;/td&gt;
&lt;td&gt;1 or 3 years&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Spot&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Fault-tolerant, flexible, interruptible&lt;/td&gt;
&lt;td&gt;None (2min warning)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Dedicated Host&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Compliance needs physical server visibility, BYOL&lt;/td&gt;
&lt;td&gt;Physical host billing&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Dedicated Instance&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Isolated hardware, no visibility needed&lt;/td&gt;
&lt;td&gt;Per-instance billing&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  🆕 Savings Plans Subtypes
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Flexibility&lt;/th&gt;
&lt;th&gt;Discount Depth&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Compute Savings Plan&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Highest — any instance family/region/OS, EC2+Fargate+Lambda&lt;/td&gt;
&lt;td&gt;Lower than EC2 SP&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;EC2 Instance Savings Plan&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Locked to instance family + region, flexible size/OS/tenancy&lt;/td&gt;
&lt;td&gt;Deepest discount&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;SageMaker Savings Plan&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;ML workloads specifically&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;📝 &lt;em&gt;"Wants maximum flexibility across compute services AND regions"&lt;/em&gt; → &lt;strong&gt;Compute Savings Plan&lt;/strong&gt;&lt;br&gt;
📝 &lt;em&gt;"Committed to c5 family in us-east-1, wants deepest possible discount"&lt;/em&gt; → &lt;strong&gt;EC2 Instance Savings Plan&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Placement Groups
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Use Case&lt;/th&gt;
&lt;th&gt;Trap&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Cluster&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Low latency, high throughput, same AZ&lt;/td&gt;
&lt;td&gt;⚠️ Single AZ = single point of failure&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Spread&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Critical instances, max 7 per AZ, each on distinct hardware&lt;/td&gt;
&lt;td&gt;Reduces correlated failure&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Partition&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Large distributed systems (Hadoop, Cassandra), partitions = separate racks&lt;/td&gt;
&lt;td&gt;Failure isolation per partition&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  EBS Volume Types
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Best For&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;strong&gt;gp3/gp2&lt;/strong&gt; (SSD)&lt;/td&gt;
&lt;td&gt;General purpose, boot volumes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;strong&gt;io1/io2&lt;/strong&gt; (SSD)&lt;/td&gt;
&lt;td&gt;High IOPS databases, Multi-Attach support&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;strong&gt;st1&lt;/strong&gt; (HDD)&lt;/td&gt;
&lt;td&gt;Big data, throughput-heavy, streaming workloads&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;strong&gt;sc1&lt;/strong&gt; (HDD)&lt;/td&gt;
&lt;td&gt;Cold data, infrequent access, cheapest&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  🆕 EBS Encryption Rules
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;⚠️ Cannot directly encrypt an existing UNENCRYPTED volume&lt;/li&gt;
&lt;li&gt;✅ Workaround: Snapshot → Copy snapshot with encryption enabled → Create new volume from encrypted snapshot&lt;/li&gt;
&lt;li&gt;Encrypting the root/default EBS encryption setting applies only to NEW volumes going forward&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Auto Scaling Policies
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Policy&lt;/th&gt;
&lt;th&gt;Use When&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Target Tracking&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Maintain metric at target (e.g. CPU 50%) — MOST COMMON answer&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Step Scaling&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Scale by different amounts based on alarm breach size&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Scheduled Scaling&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Predictable timing (e.g. Black Friday)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Predictive Scaling&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;ML-based, scales ahead of forecasted demand&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  Other ASG Concepts
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Lifecycle Hooks&lt;/strong&gt; — pause instance in Pending/Terminating state to run custom actions&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Warm Pools&lt;/strong&gt; — pre-initialized instances sitting ready, reduces scale-out latency&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Health Checks&lt;/strong&gt; — ELB health check = traffic eligibility; ASG health check = replacement decision&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  ELB Comparison
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Layer&lt;/th&gt;
&lt;th&gt;Best For&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;ALB&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;7 (HTTP)&lt;/td&gt;
&lt;td&gt;Path/host routing, WebSockets, microservices&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;NLB&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;4 (TCP/UDP)&lt;/td&gt;
&lt;td&gt;Extreme performance, static IP, preserves source IP&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;GWLB&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;3 (Network)&lt;/td&gt;
&lt;td&gt;Inline 3rd-party appliances (firewalls, IDS/IPS)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  🆕 ELB Target Types
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Instance    → route to EC2 instance ID
IP          → route to any IP (even on-prem via VPN/DX!) — enables hybrid load balancing
Lambda      → ALB can invoke a Lambda function as a target (HTTP-triggered serverless)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;📝 &lt;em&gt;"Load balance traffic between EC2 instances in AWS AND on-prem servers"&lt;/em&gt; → &lt;strong&gt;ALB/NLB with IP target type&lt;/strong&gt;&lt;br&gt;
📝 &lt;em&gt;"Expose a Lambda function behind an ALB for simple HTTP triggering"&lt;/em&gt; → &lt;strong&gt;ALB with Lambda target type&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  ELB Extras
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Cross-Zone Load Balancing&lt;/strong&gt; — ALB: on by default, NLB: off by default&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sticky Sessions&lt;/strong&gt; — cookie-based, use only if app is NOT stateless&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;🆕 Deregistration Delay (Connection Draining)&lt;/strong&gt; — in-flight requests finish before instance removed from rotation (default 300s)&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  🆕 EC2 Hibernate
&lt;/h3&gt;

&lt;p&gt;Saves RAM contents to EBS on stop, resumes faster than cold boot.&lt;/p&gt;

&lt;h3&gt;
  
  
  🆕 Spot Fleet / Mixed Instance ASG
&lt;/h3&gt;

&lt;p&gt;ASG can mix On-Demand + Spot across multiple instance types for cost + resilience.&lt;/p&gt;

&lt;h3&gt;
  
  
  🆕 IMDSv2
&lt;/h3&gt;

&lt;p&gt;Session-oriented, token-required metadata service — mitigates SSRF attacks.&lt;br&gt;
📝 &lt;em&gt;"Harden EC2 against credential theft via metadata service"&lt;/em&gt; → &lt;strong&gt;Enforce IMDSv2&lt;/strong&gt;&lt;/p&gt;







&lt;h1&gt;
  
  
  2️⃣6️⃣ ROUTE 53 DEEP DIVE
&lt;/h1&gt;

&lt;h3&gt;
  
  
  Routing Policies
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Policy&lt;/th&gt;
&lt;th&gt;Use When&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Simple&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;One resource, no health checks&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Weighted&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;% split (A/B testing, gradual rollout)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Latency-based&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Route to lowest-latency region&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Failover&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Active-passive DR&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Geolocation&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Route by user's country (compliance/localization)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Geoproximity&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Geo + bias to shift traffic&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Multi-value&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Multiple healthy IPs returned, basic LB + health checks&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;🧠 &lt;em&gt;"Sillie Wabbits Like Failing, Geo Multiplying"&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Health Checks
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;HTTP/HTTPS/TCP endpoint checks&lt;/li&gt;
&lt;li&gt;Calculated health checks (check other health checks)&lt;/li&gt;
&lt;li&gt;Can monitor CloudWatch alarms&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Hosted Zones
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Public&lt;/strong&gt; — internet routing&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Private&lt;/strong&gt; — routing within VPC(s)&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Route 53 Resolver
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Inbound Endpoint&lt;/strong&gt; — on-prem DNS queries resolve AWS private hosted zone records&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Outbound Endpoint&lt;/strong&gt; — VPC resources resolve on-prem DNS names
📝 &lt;em&gt;"Hybrid DNS resolution between on-prem and VPC private hosted zone"&lt;/em&gt; → &lt;strong&gt;Route 53 Resolver (inbound + outbound)&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Route 53 Application Recovery Controller
&lt;/h3&gt;

&lt;p&gt;Manages/automates regional failover with readiness checks and routing controls for highly critical apps.&lt;/p&gt;







&lt;h1&gt;
  
  
  2️⃣7️⃣ 🆕 CLOUDFORMATION &amp;amp; IaC DEEP DIVE
&lt;/h1&gt;

&lt;h3&gt;
  
  
  Core Concepts
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="s"&gt;Template       → JSON/YAML describing desired resources&lt;/span&gt;
&lt;span class="s"&gt;Stack           → deployed instance of a template&lt;/span&gt;
&lt;span class="s"&gt;Change Set      → preview of changes before applying (safety check)&lt;/span&gt;
&lt;span class="s"&gt;Drift Detection → identifies resources manually changed outside CloudFormation&lt;/span&gt;
&lt;span class="s"&gt;Stack Policy    → prevents accidental updates/deletes of specific resources&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Deletion Policies
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Delete (default)  → resource deleted when stack deleted
Retain            → resource kept even if stack deleted (e.g., for S3 buckets/RDS with important data)
Snapshot          → creates a snapshot before deleting (RDS, EBS, ElastiCache)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;📝 &lt;em&gt;"Deleting a CloudFormation stack must NOT delete the production database's data"&lt;/em&gt; → &lt;strong&gt;DeletionPolicy: Retain&lt;/strong&gt; (or Snapshot)&lt;/p&gt;

&lt;h3&gt;
  
  
  Nested Stacks vs StackSets
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Nested Stacks&lt;/th&gt;
&lt;th&gt;StackSets&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Purpose&lt;/td&gt;
&lt;td&gt;Break one large template into reusable components&lt;/td&gt;
&lt;td&gt;Deploy the SAME template across MULTIPLE accounts/regions&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Scope&lt;/td&gt;
&lt;td&gt;Single account/region&lt;/td&gt;
&lt;td&gt;Multi-account/multi-region&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;📝 &lt;em&gt;"Deploy the same security baseline stack across 50 accounts in 3 regions"&lt;/em&gt; → &lt;strong&gt;CloudFormation StackSets&lt;/strong&gt;&lt;br&gt;
📝 &lt;em&gt;"Reuse a common VPC template inside multiple larger templates"&lt;/em&gt; → &lt;strong&gt;Nested Stacks&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Intrinsic Functions (commonly tested conceptually)
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="kt"&gt;!Ref&lt;/span&gt;            &lt;span class="s"&gt;→ reference a parameter/resource&lt;/span&gt;
&lt;span class="kt"&gt;!GetAtt&lt;/span&gt;         &lt;span class="s"&gt;→ get an attribute of a resource&lt;/span&gt;
&lt;span class="kt"&gt;!Sub&lt;/span&gt;            &lt;span class="s"&gt;→ string substitution&lt;/span&gt;
&lt;span class="kt"&gt;!Join&lt;/span&gt;           &lt;span class="s"&gt;→ concatenate strings&lt;/span&gt;
&lt;span class="s"&gt;Outputs         → export values for cross-stack references&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  CDK vs CloudFormation vs Service Catalog vs Elastic Beanstalk
&lt;/h3&gt;

&lt;p&gt;See Confusion Killer Y in Section 34.&lt;/p&gt;







&lt;h1&gt;
  
  
  2️⃣8️⃣ 🆕 DEPLOYMENT STRATEGIES DEEP DIVE
&lt;/h1&gt;

&lt;h3&gt;
  
  
  Elastic Beanstalk Deployment Policies
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Policy&lt;/th&gt;
&lt;th&gt;Downtime&lt;/th&gt;
&lt;th&gt;Rollback Speed&lt;/th&gt;
&lt;th&gt;Use Case&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;All at Once&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;✅ Yes&lt;/td&gt;
&lt;td&gt;Slow (redeploy)&lt;/td&gt;
&lt;td&gt;Dev/test, speed over availability&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Rolling&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;❌ No&lt;/td&gt;
&lt;td&gt;Slow&lt;/td&gt;
&lt;td&gt;Reduce capacity gradually, cost-conscious&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Rolling with Additional Batch&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;❌ No&lt;/td&gt;
&lt;td&gt;Slow&lt;/td&gt;
&lt;td&gt;Maintains full capacity during deploy&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Immutable&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;❌ No&lt;/td&gt;
&lt;td&gt;Fast (just terminate new)&lt;/td&gt;
&lt;td&gt;Production, safest, doubles capacity briefly&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Blue/Green&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;❌ No&lt;/td&gt;
&lt;td&gt;Instant (swap URL/DNS)&lt;/td&gt;
&lt;td&gt;Zero-risk, full environment swap&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;📝 &lt;em&gt;"Zero downtime AND maintain full capacity during deployment, cost is secondary"&lt;/em&gt; → &lt;strong&gt;Immutable&lt;/strong&gt; or &lt;strong&gt;Rolling with Additional Batch&lt;/strong&gt;&lt;br&gt;
📝 &lt;em&gt;"Need instant rollback capability with a completely separate environment"&lt;/em&gt; → &lt;strong&gt;Blue/Green&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  CodeDeploy Deployment Types
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;In-Place&lt;/th&gt;
&lt;th&gt;Blue/Green&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Instances&lt;/td&gt;
&lt;td&gt;Same instances updated&lt;/td&gt;
&lt;td&gt;New instances stood up, traffic shifted&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Downtime risk&lt;/td&gt;
&lt;td&gt;Higher&lt;/td&gt;
&lt;td&gt;Lower&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Rollback&lt;/td&gt;
&lt;td&gt;Redeploy previous version&lt;/td&gt;
&lt;td&gt;Route back to old environment&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  CodeDeploy Configs
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;AllAtOnce          → fastest, most risk
HalfAtATime         → 50% batches
OneAtATime          → safest, slowest
Canary(X%,Y min)    → shift X% traffic, wait, then rest
Linear(X%,Y min)    → shift X% every Y minutes until 100%
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;📝 &lt;em&gt;"Gradually shift traffic in fixed percentage increments over time, not all at once"&lt;/em&gt; → &lt;strong&gt;Linear deployment config&lt;/strong&gt;&lt;br&gt;
📝 &lt;em&gt;"Shift 10% of traffic, monitor 5 minutes, then shift rest"&lt;/em&gt; → &lt;strong&gt;Canary deployment config&lt;/strong&gt;&lt;/p&gt;







&lt;h1&gt;
  
  
  2️⃣9️⃣ ANALYTICS DEEP DIVE
&lt;/h1&gt;

&lt;h3&gt;
  
  
  Kinesis Family
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Service&lt;/th&gt;
&lt;th&gt;Purpose&lt;/th&gt;
&lt;th&gt;Retention/Replay&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Data Streams&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Real-time, custom consumers&lt;/td&gt;
&lt;td&gt;24hr default, up to 365 days, replayable&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Firehose&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Auto-delivery to S3/Redshift/OpenSearch/Splunk&lt;/td&gt;
&lt;td&gt;No retention/replay&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Data Analytics&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;SQL/Flink on streaming data&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Video Streams&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Ingest video/audio&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;🧠 &lt;em&gt;"Streams Store, Firehose Flows, Analytics Analyzes"&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Other Analytics Services
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Athena&lt;/strong&gt; — serverless SQL directly on S3, pay-per-query&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Glue&lt;/strong&gt; — serverless ETL + Data Catalog&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Glue DataBrew&lt;/strong&gt; — visual data prep, no code&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;EMR&lt;/strong&gt; — managed Hadoop/Spark&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Redshift&lt;/strong&gt; — data warehouse, complex joins, BI&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Redshift Spectrum&lt;/strong&gt; — query S3 from Redshift without loading&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;QuickSight&lt;/strong&gt; — BI dashboards&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Lake Formation&lt;/strong&gt; — centralized data lake governance on S3/Glue&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;OpenSearch Service&lt;/strong&gt; — managed Elasticsearch fork, log analytics/full-text search&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;MSK&lt;/strong&gt; — managed Kafka, use when team has existing Kafka tooling&lt;/li&gt;
&lt;/ul&gt;







&lt;h1&gt;
  
  
  3️⃣0️⃣ COST OPTIMIZATION TOOLKIT
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Cost Explorer&lt;/strong&gt; — visualize/forecast spend, RI/SP recommendations&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AWS Budgets&lt;/strong&gt; — proactive alerts (cost, usage, RI/SP utilization budgets)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cost &amp;amp; Usage Report (CUR)&lt;/strong&gt; — most granular billing data&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Trusted Advisor&lt;/strong&gt; — best-practice checks (cost, security, performance, fault tolerance, limits)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Compute Optimizer&lt;/strong&gt; — ML-based right-sizing (EC2/Lambda/EBS)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Savings Plans&lt;/strong&gt; — flexible $/hr commitment&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Reserved Instances&lt;/strong&gt; — locked to instance family/region&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cost Allocation Tags&lt;/strong&gt; — track spend by project/team&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;License Manager&lt;/strong&gt; — track/enforce BYOL software license usage&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  RI vs Savings Plan
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Reserved Instance&lt;/th&gt;
&lt;th&gt;Savings Plan&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Locked to&lt;/td&gt;
&lt;td&gt;Instance family/region&lt;/td&gt;
&lt;td&gt;$/hr commitment, flexible family/region&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Term&lt;/td&gt;
&lt;td&gt;1 or 3 years&lt;/td&gt;
&lt;td&gt;1 or 3 years&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Flexibility&lt;/td&gt;
&lt;td&gt;Low (Standard) / Medium (Convertible)&lt;/td&gt;
&lt;td&gt;High&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  🆕 Billing Alarms
&lt;/h3&gt;

&lt;p&gt;CloudWatch billing alarm (in us-east-1, must enable billing alerts first) — simplest way to get notified of unexpected spend before AWS Budgets existed; still occasionally tested as the "basic" answer vs Budgets.&lt;br&gt;
📝 &lt;em&gt;"Simplest way to get an alert if total account spend exceeds $500"&lt;/em&gt; → &lt;strong&gt;CloudWatch Billing Alarm&lt;/strong&gt; (simple) or &lt;strong&gt;AWS Budgets&lt;/strong&gt; (more feature-rich/preferred in modern exam answers)&lt;/p&gt;







&lt;h1&gt;
  
  
  3️⃣1️⃣ ADDITIONAL SERVICES
&lt;/h1&gt;

&lt;h3&gt;
  
  
  Cognito Deep Dive
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;User Pools&lt;/th&gt;
&lt;th&gt;Identity Pools&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Purpose&lt;/td&gt;
&lt;td&gt;Sign-up/sign-in directory&lt;/td&gt;
&lt;td&gt;Temp AWS credentials&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Output&lt;/td&gt;
&lt;td&gt;JWT tokens&lt;/td&gt;
&lt;td&gt;STS temp creds&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  API Gateway Deep Dive
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Edge-optimized   → global clients (uses CloudFront)
Regional         → clients in same region
Private          → internal VPC-only APIs (via Interface Endpoint)
Usage Plans      → throttling + quota per API key/customer
Caching          → reduce backend load, TTL-configurable
Request Validation → reject malformed requests before hitting backend
Mapping Templates → transform request/response between client and backend format
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;📝 &lt;em&gt;"Different customers need different rate limits on the same API"&lt;/em&gt; → &lt;strong&gt;Usage Plans + API Keys&lt;/strong&gt;&lt;br&gt;
📝 &lt;em&gt;"API must only be reachable from within our VPC"&lt;/em&gt; → &lt;strong&gt;Private API Gateway + Interface Endpoint&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Systems Manager Suite
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Session Manager&lt;/strong&gt; — SSH/RDP without open ports or bastion hosts&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Patch Manager&lt;/strong&gt; — automate OS patching&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Parameter Store&lt;/strong&gt; — config/secrets&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Run Command&lt;/strong&gt; — remote command execution at scale&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;State Manager&lt;/strong&gt; — maintain consistent config state&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Automation&lt;/strong&gt; — predefined workflows (e.g., AMI creation)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Inventory&lt;/strong&gt; — collect metadata about instances&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;OpsCenter&lt;/strong&gt; — central place to view/resolve operational issues&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;🆕 Compliance&lt;/strong&gt; — scan instances against patch/config baselines&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;🆕 Documents (SSM Documents)&lt;/strong&gt; — define actions performed on instances (used by Run Command/Automation)&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Governance &amp;amp; Multi-Account
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;AWS Organizations&lt;/strong&gt; — consolidated billing, account structure, SCPs&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Control Tower&lt;/strong&gt; — automated landing zone, built on Organizations&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AWS RAM&lt;/strong&gt; — share resources (subnets, TGW) cross-account&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Config Conformance Packs&lt;/strong&gt; — pre-built compliance rule sets&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Service Catalog&lt;/strong&gt; — curated self-service catalog of approved products&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;🆕 AWS Artifact&lt;/strong&gt; — compliance reports and agreements&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Edge / Hybrid Infrastructure
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Outposts&lt;/strong&gt; — AWS hardware physically installed in YOUR data center&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Local Zones&lt;/strong&gt; — AWS infrastructure extension near major metro areas&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Wavelength&lt;/strong&gt; — AWS compute embedded in telecom 5G networks&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  🆕 Direct Connect Deep Dive
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Private VIF (Virtual Interface) → access VPC resources privately
Public VIF                       → access AWS public services (S3, DynamoDB) over DX, not internet
Transit VIF                      → connect to Transit Gateway over DX
Direct Connect Gateway           → connect DX to multiple VPCs across regions
Link Aggregation Group (LAG)     → bundle multiple DX connections for higher bandwidth
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;📝 &lt;em&gt;"Need to reach S3 over Direct Connect without traversing the public internet"&lt;/em&gt; → &lt;strong&gt;Public VIF&lt;/strong&gt;&lt;br&gt;
📝 &lt;em&gt;"Single DX connection needs to reach VPCs in multiple regions"&lt;/em&gt; → &lt;strong&gt;Direct Connect Gateway&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;⚠️ DX alone has NO built-in encryption — for encrypted DX traffic, layer a &lt;strong&gt;VPN over Direct Connect&lt;/strong&gt;.&lt;br&gt;
📝 &lt;em&gt;"Need dedicated bandwidth AND encryption in transit"&lt;/em&gt; → &lt;strong&gt;VPN over Direct Connect&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  🆕 Amazon Detective
&lt;/h3&gt;

&lt;p&gt;Automatically analyzes/visualizes security data (from GuardDuty, VPC Flow Logs, CloudTrail) to help find the ROOT CAUSE of a finding.&lt;br&gt;
📝 &lt;em&gt;"GuardDuty flagged suspicious activity — need to investigate the underlying cause and related events"&lt;/em&gt; → &lt;strong&gt;Amazon Detective&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  🆕 Firewall Manager
&lt;/h3&gt;

&lt;p&gt;Centrally manage WAF, Security Groups, Shield Advanced, and Network Firewall across an Organization.&lt;/p&gt;

&lt;h3&gt;
  
  
  🆕 Network Firewall
&lt;/h3&gt;

&lt;p&gt;Managed, stateful VPC-level firewall with IPS capabilities.&lt;/p&gt;

&lt;h3&gt;
  
  
  🆕 VPC Reachability Analyzer
&lt;/h3&gt;

&lt;p&gt;Diagnoses connectivity issues via static config analysis (SG/NACL/route tables).&lt;/p&gt;

&lt;h3&gt;
  
  
  🆕 End-User Computing
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;WorkSpaces&lt;/strong&gt; — persistent managed virtual desktops (VDI)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AppStream 2.0&lt;/strong&gt; — streams individual applications, non-persistent&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Developer Tools (CI/CD)
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;CodeCommit&lt;/strong&gt; — managed Git repo&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;CodeBuild&lt;/strong&gt; — managed build service&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;CodeDeploy&lt;/strong&gt; — automates deploy (In-place/Blue-Green, Canary, Linear)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;CodePipeline&lt;/strong&gt; — orchestrates full CI/CD&lt;/li&gt;
&lt;/ul&gt;







&lt;h1&gt;
  
  
  3️⃣2️⃣ 🆆 CONFUSION KILLERS — Side-by-Side with Examples
&lt;/h1&gt;

&lt;h3&gt;
  
  
  🔐 A. WAF vs Shield vs GuardDuty
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Service&lt;/th&gt;
&lt;th&gt;Protects Against&lt;/th&gt;
&lt;th&gt;Blocks or Detects?&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;WAF&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Malicious request content&lt;/td&gt;
&lt;td&gt;Blocks&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Shield&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Traffic volume floods&lt;/td&gt;
&lt;td&gt;Blocks&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;GuardDuty&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Suspicious behavior&lt;/td&gt;
&lt;td&gt;Detects only&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;🧠 &lt;em&gt;"WAF Watches words, Shield Stops storms, GuardDuty Gives detection."&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  🕵️ B. Macie vs Inspector vs GuardDuty vs Detective
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Service&lt;/th&gt;
&lt;th&gt;Finds&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Macie&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Sensitive data (PII) in S3&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Inspector&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Vulnerabilities (CVEs)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;GuardDuty&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Active threats/malicious behavior&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Detective&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;ROOT CAUSE of a finding (investigation)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;🧠 &lt;em&gt;"Macie Mines data, Inspector Inspects code, Guard Guards traffic, Detective Digs deeper."&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  🗃️ C. Multi-AZ vs Read Replica vs Aurora Global DB
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Multi-AZ&lt;/th&gt;
&lt;th&gt;Read Replica&lt;/th&gt;
&lt;th&gt;Aurora Global DB&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Purpose&lt;/td&gt;
&lt;td&gt;HA/failover&lt;/td&gt;
&lt;td&gt;Read scaling&lt;/td&gt;
&lt;td&gt;Cross-region + DR&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Replication&lt;/td&gt;
&lt;td&gt;Sync&lt;/td&gt;
&lt;td&gt;Async&lt;/td&gt;
&lt;td&gt;Async (&amp;lt;1s)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Failover&lt;/td&gt;
&lt;td&gt;Automatic&lt;/td&gt;
&lt;td&gt;Manual&lt;/td&gt;
&lt;td&gt;Manual (~1min)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Readable?&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  📨 D. SQS vs SNS vs EventBridge vs Kinesis
&lt;/h3&gt;

&lt;p&gt;🧠 &lt;em&gt;"Queue holds, Notifies broadcasts, Events route, Kinesis streams+replays."&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  📨 E. SQS Standard vs FIFO
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Litmus:&lt;/strong&gt; "order"/"exactly-once" → FIFO. Otherwise → Standard.&lt;/p&gt;

&lt;h3&gt;
  
  
  🌐 F. Gateway vs Interface Endpoint
&lt;/h3&gt;

&lt;p&gt;🧠 &lt;em&gt;"Gateway = Gratis (free), Interface = Invoiced."&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  🌐 G. VPC Peering vs Transit Gateway vs VPN vs Direct Connect
&lt;/h3&gt;

&lt;p&gt;🧠 &lt;em&gt;"VPN = Virtually instant, DX = Dedicated but delayed."&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  🌐 H. Security Group vs NACL
&lt;/h3&gt;

&lt;p&gt;🧠 &lt;em&gt;"Security Group remembers you leaving. NACL checks you again on the way out."&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  💻 I. Lambda vs Fargate vs ECS vs EKS vs EC2
&lt;/h3&gt;

&lt;p&gt;🧠 &lt;em&gt;"Lambda = short &amp;amp; serverless, Fargate = containers &amp;amp; serverless, EC2 = full control."&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  🗄️ J. S3 vs EBS vs EFS vs FSx
&lt;/h3&gt;

&lt;p&gt;🧠 &lt;em&gt;"EBS = one drive one PC. EFS/FSx = shared drive many PCs. S3 = cloud filing cabinet."&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  🗄️ K. S3 Storage Classes
&lt;/h3&gt;

&lt;p&gt;🧠 &lt;em&gt;"Sally Is In One Giant Igloo, Deeply frozen."&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  🔑 L. IAM Role vs User vs SCP vs Permissions Boundary
&lt;/h3&gt;

&lt;p&gt;🧠 &lt;em&gt;"SCP = Stop (ceiling), IAM Policy = Issues permission, Boundary = Bounds one person."&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  📊 M. CloudTrail vs CloudWatch vs Config vs X-Ray
&lt;/h3&gt;

&lt;p&gt;🧠 &lt;em&gt;"Trail tracks the actor. Watch watches metrics. Config catches change. X-Ray x-rays the path."&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  🚚 N. DMS vs MGN vs Snowball vs DataSync
&lt;/h3&gt;

&lt;p&gt;🧠 &lt;em&gt;"DMS = Data, MGN = Machines, Snowball = Ship it, DataSync = Schedule it."&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  ⚖️ O. ALB vs NLB vs GWLB
&lt;/h3&gt;

&lt;p&gt;🧠 &lt;em&gt;"Apps Need Gateways" (ALB app layer, NLB raw speed, GWLB for appliances).&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  🌍 P. Route 53 Routing Policies
&lt;/h3&gt;

&lt;p&gt;🧠 &lt;em&gt;"Sillie Wabbits Like Failing, Geo Multiplying."&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  🌪️ Q. DR Strategies (RTO/RPO Ladder)
&lt;/h3&gt;

&lt;p&gt;🧠 &lt;em&gt;"Budget People Want More" (Backup→Pilot→Warm→Multi-site).&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  💰 R. Reserved Instances vs Savings Plans vs Spot
&lt;/h3&gt;

&lt;p&gt;🧠 &lt;em&gt;"RI = Rigid, Savings Plan = Stretchy, Spot = Sacrificial."&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  📈 S. Kinesis Streams vs Firehose vs Data Analytics
&lt;/h3&gt;

&lt;p&gt;🧠 &lt;em&gt;"Streams Store (&amp;amp; replay), Firehose Flows (auto), Analytics Analyzes (SQL)."&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  💻 T. Elastic Beanstalk vs Lightsail vs EC2
&lt;/h3&gt;

&lt;p&gt;🧠 &lt;em&gt;"Beanstalk grows your app for you. Lightsail = light &amp;amp; cheap. EC2 = you're the sysadmin."&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  🆕 U. Cognito User Pools vs Identity Pools
&lt;/h3&gt;

&lt;p&gt;🧠 &lt;em&gt;"User Pools = who you are, Identity Pools = what you can touch."&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  🆕 V. Snapshot vs AWS Backup vs AMI
&lt;/h3&gt;

&lt;p&gt;🧠 &lt;em&gt;"Snapshot = one disk, AMI = one server clone, Backup = the whole org."&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  🆕 W. Athena vs Redshift vs Redshift Spectrum vs EMR
&lt;/h3&gt;

&lt;p&gt;🧠 &lt;em&gt;"Athena = ask S3 directly. Redshift = warehouse the data. Spectrum = warehouse + peek at S3. EMR = build your own big-data cluster."&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  🆕 X. Global Accelerator vs CloudFront vs Route 53
&lt;/h3&gt;

&lt;p&gt;🧠 &lt;em&gt;"CloudFront caches content, Global Accelerator routes packets, Route 53 resolves names."&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  🆕 Y. CloudFormation vs CDK vs Elastic Beanstalk vs Service Catalog
&lt;/h3&gt;

&lt;p&gt;🧠 &lt;em&gt;"CloudFormation = blueprint, CDK = code that draws the blueprint, Beanstalk = someone else builds it for you, Service Catalog = the approved catalog of blueprints."&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  🆕 Z. AWS Backup vs AWS DRS vs Cross-Region Replication vs Multi-AZ
&lt;/h3&gt;

&lt;p&gt;🧠 &lt;em&gt;"Backup = restore point, DRS = live standby copy, CRR = object mirror, Multi-AZ = same-region safety net."&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  🆕 AA. WorkSpaces vs AppStream 2.0
&lt;/h3&gt;

&lt;p&gt;🧠 &lt;em&gt;"WorkSpaces = your desk. AppStream = a single app in a window."&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  🆕 BB. IAM Identity Center vs Cognito vs Directory Service
&lt;/h3&gt;

&lt;p&gt;🧠 &lt;em&gt;"Identity Center = employees into AWS. Cognito = customers into your app. Directory Service = Windows/AD compatibility."&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  🆕 CC. ElastiCache Redis vs Memcached
&lt;/h3&gt;

&lt;p&gt;🧠 &lt;em&gt;"Redis Remembers (persists), Memcached Might forget."&lt;/em&gt;&lt;br&gt;
📝 &lt;em&gt;"Need pub/sub + persistence + replication"&lt;/em&gt; → &lt;strong&gt;Redis&lt;/strong&gt;&lt;br&gt;
📝 &lt;em&gt;"Need simple, disposable, multi-threaded cache"&lt;/em&gt; → &lt;strong&gt;Memcached&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  🆕 DD. GSI vs LSI (DynamoDB)
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;GSI&lt;/th&gt;
&lt;th&gt;LSI&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Created&lt;/td&gt;
&lt;td&gt;Anytime&lt;/td&gt;
&lt;td&gt;Only at table creation&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Key&lt;/td&gt;
&lt;td&gt;New partition+sort&lt;/td&gt;
&lt;td&gt;Same partition, diff sort&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Consistency&lt;/td&gt;
&lt;td&gt;Eventual only&lt;/td&gt;
&lt;td&gt;Strong or eventual&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;🧠 &lt;em&gt;"GSI = Grows anytime, LSI = Locked at launch."&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  🆕 EE. Network Firewall vs Security Group vs NACL vs WAF vs GWLB
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Service&lt;/th&gt;
&lt;th&gt;Scope&lt;/th&gt;
&lt;th&gt;Layer&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Security Group&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Instance&lt;/td&gt;
&lt;td&gt;L4&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;NACL&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Subnet&lt;/td&gt;
&lt;td&gt;L3/L4&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Network Firewall&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;VPC-wide, stateful, IPS&lt;/td&gt;
&lt;td&gt;L3-L7&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;WAF&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;HTTP application layer&lt;/td&gt;
&lt;td&gt;L7&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;GWLB&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Routes to 3rd-party appliance&lt;/td&gt;
&lt;td&gt;L3&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;📝 &lt;em&gt;"Need intrusion prevention and deep packet inspection at the VPC perimeter"&lt;/em&gt; → &lt;strong&gt;AWS Network Firewall&lt;/strong&gt;&lt;br&gt;
📝 &lt;em&gt;"Need to route traffic through a 3rd-party firewall appliance transparently"&lt;/em&gt; → &lt;strong&gt;GWLB&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  🆕 FF. Firewall Manager vs Security Hub vs Organizations SCP
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Purpose&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Firewall Manager&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Centrally deploy/enforce WAF, SG, Shield, Network Firewall rules org-wide&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Security Hub&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Aggregate and prioritize security FINDINGS across accounts&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;SCP&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Restrict IAM ACTIONS/permissions org-wide&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;📝 &lt;em&gt;"Automatically apply the same WAF rule to every new ALB created in any account"&lt;/em&gt; → &lt;strong&gt;Firewall Manager&lt;/strong&gt;&lt;br&gt;
📝 &lt;em&gt;"See a consolidated dashboard of GuardDuty + Inspector + Macie findings across all accounts"&lt;/em&gt; → &lt;strong&gt;Security Hub&lt;/strong&gt;&lt;/p&gt;




&lt;h1&gt;
  
  
  🔑 MASTER LITMUS-TEST FLOWCHART
&lt;/h1&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Block or just detect?&lt;/strong&gt; → WAF/Shield (block) vs GuardDuty (detect)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Automatic failover needed?&lt;/strong&gt; → Multi-AZ, not Read Replica&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cross-region?&lt;/strong&gt; → Needs "Global"/"Cross-Region" in the name&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Does it need to GRANT permission?&lt;/strong&gt; → SCP/Boundary never do; only IAM Policy does&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Is it free?&lt;/strong&gt; → Gateway Endpoint (S3/DynamoDB) vs paid Interface Endpoint&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Needs replay?&lt;/strong&gt; → Kinesis, not SQS&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Single point or shared storage?&lt;/strong&gt; → EBS (single) vs EFS/FSx (shared)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;How fast must recovery be?&lt;/strong&gt; → Maps to DR ladder&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Steady or spiky workload?&lt;/strong&gt; → RI/Savings Plan (steady) vs Spot (spiky)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;HTTP or non-HTTP traffic?&lt;/strong&gt; → CloudFront/ALB (HTTP) vs Global Accelerator/NLB (non-HTTP)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Employee or customer identity?&lt;/strong&gt; → IAM Identity Center (employee) vs Cognito (customer)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Persistent desktop or single app?&lt;/strong&gt; → WorkSpaces (desktop) vs AppStream (app)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Backup restore point or live standby?&lt;/strong&gt; → AWS Backup (point-in-time) vs AWS DRS (continuous)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;🆕 Needs persistence/pub-sub?&lt;/strong&gt; → Redis vs Memcached&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;🆕 Index at table creation or anytime?&lt;/strong&gt; → LSI (creation only) vs GSI (anytime)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;🆕 Investigating WHY vs WHAT happened?&lt;/strong&gt; → Detective (why) vs GuardDuty/Config (what)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;🆕 Centralizing rules vs aggregating findings?&lt;/strong&gt; → Firewall Manager (rules) vs Security Hub (findings)&lt;/li&gt;
&lt;/ol&gt;







&lt;h1&gt;
  
  
  3️⃣3️⃣ WHY AWS REJECTS THIS ANSWER (Top 55)
&lt;/h1&gt;

&lt;p&gt;&lt;strong&gt;1-45:&lt;/strong&gt; &lt;em&gt;(all prior entries retained — see below for the full list)&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Need HA&lt;/strong&gt; → ❌ Read Replica → ✅ Multi-AZ&lt;br&gt;
&lt;strong&gt;2. Need DR (region loss)&lt;/strong&gt; → ❌ Multi-AZ → ✅ Cross-Region&lt;br&gt;
&lt;strong&gt;3. Need queue&lt;/strong&gt; → ❌ SNS → ✅ SQS&lt;br&gt;
&lt;strong&gt;4. Need fan-out&lt;/strong&gt; → ❌ SQS → ✅ SNS&lt;br&gt;
&lt;strong&gt;5. Need exactly-once+order&lt;/strong&gt; → ❌ SQS Standard → ✅ SQS FIFO&lt;br&gt;
&lt;strong&gt;6. Need encryption&lt;/strong&gt; → ❌ Secrets Manager → ✅ KMS&lt;br&gt;
&lt;strong&gt;7. Need to rotate password&lt;/strong&gt; → ❌ Parameter Store → ✅ Secrets Manager&lt;br&gt;
&lt;strong&gt;8. Need drift detection&lt;/strong&gt; → ❌ CloudTrail → ✅ AWS Config&lt;br&gt;
&lt;strong&gt;9. Need "who did it"&lt;/strong&gt; → ❌ CloudWatch → ✅ CloudTrail&lt;br&gt;
&lt;strong&gt;10. Need threat detection&lt;/strong&gt; → ❌ Inspector → ✅ GuardDuty&lt;br&gt;
&lt;strong&gt;11. Need vulnerability scan&lt;/strong&gt; → ❌ GuardDuty → ✅ Inspector&lt;br&gt;
&lt;strong&gt;12. Need PII discovery&lt;/strong&gt; → ❌ GuardDuty/Inspector → ✅ Macie&lt;br&gt;
&lt;strong&gt;13. Need central security dashboard&lt;/strong&gt; → ❌ GuardDuty alone → ✅ Security Hub&lt;br&gt;
&lt;strong&gt;14. Need transitive VPC routing&lt;/strong&gt; → ❌ VPC Peering → ✅ Transit Gateway&lt;br&gt;
&lt;strong&gt;15. Need dedicated bandwidth&lt;/strong&gt; → ❌ VPN → ✅ Direct Connect&lt;br&gt;
&lt;strong&gt;16. Need quick hybrid setup&lt;/strong&gt; → ❌ Direct Connect → ✅ VPN&lt;br&gt;
&lt;strong&gt;17. Need free S3 private access&lt;/strong&gt; → ❌ Interface Endpoint → ✅ Gateway Endpoint&lt;br&gt;
&lt;strong&gt;18. Need private access to Kinesis/SNS&lt;/strong&gt; → ❌ Gateway Endpoint → ✅ Interface Endpoint&lt;br&gt;
&lt;strong&gt;19. Need shared block storage, multi-AZ&lt;/strong&gt; → ❌ EBS Multi-Attach → ✅ EFS/FSx&lt;br&gt;
&lt;strong&gt;20. Need cheapest archive&lt;/strong&gt; → ❌ Standard-IA → ✅ Glacier Deep Archive&lt;br&gt;
&lt;strong&gt;21. Need SCP to grant permission&lt;/strong&gt; → ❌ SCP → ✅ IAM Policy&lt;br&gt;
&lt;strong&gt;22. Need to cap 1 admin's perms&lt;/strong&gt; → ❌ SCP → ✅ Permissions Boundary&lt;br&gt;
&lt;strong&gt;23. Need temp creds for EC2 app&lt;/strong&gt; → ❌ IAM User+keys → ✅ IAM Role&lt;br&gt;
&lt;strong&gt;24. Job runs &amp;gt;15 min&lt;/strong&gt; → ❌ Lambda → ✅ Fargate/Batch/EC2&lt;br&gt;
&lt;strong&gt;25. Need GPU in container&lt;/strong&gt; → ❌ Fargate → ✅ EC2 launch type&lt;br&gt;
&lt;strong&gt;26. Need automatic replay of stream&lt;/strong&gt; → ❌ SQS → ✅ Kinesis Data Streams&lt;br&gt;
&lt;strong&gt;27. Need to right-size EC2 fleet&lt;/strong&gt; → ❌ Trusted Advisor alone → ✅ Compute Optimizer&lt;br&gt;
&lt;strong&gt;28. Need consistent read-after-write on S3&lt;/strong&gt; → ✅ S3 = strong consistency by default&lt;br&gt;
&lt;strong&gt;29. Need Aurora that pauses to zero&lt;/strong&gt; → ❌ Serverless v2 → ✅ Serverless v1&lt;br&gt;
&lt;strong&gt;30. Need to grant access despite SCP deny&lt;/strong&gt; → ❌ Broader IAM policy → ✅ Modify the SCP itself&lt;br&gt;
&lt;strong&gt;31. Need static IP for non-HTTP global app&lt;/strong&gt; → ❌ CloudFront → ✅ Global Accelerator&lt;br&gt;
&lt;strong&gt;32. Need NAT for inbound traffic&lt;/strong&gt; → ❌ NAT Gateway → ✅ ALB/NLB&lt;br&gt;
&lt;strong&gt;33. Need mobile app to directly call S3 after login&lt;/strong&gt; → ❌ Cognito User Pool alone → ✅ + Identity Pool&lt;br&gt;
&lt;strong&gt;34. Need HPC lowest-latency clustering&lt;/strong&gt; → ❌ Spread Placement Group → ✅ Cluster Placement Group&lt;br&gt;
&lt;strong&gt;35. Need on-prem AWS-native services&lt;/strong&gt; → ❌ Direct Connect alone → ✅ AWS Outposts&lt;br&gt;
&lt;strong&gt;36. Need sub-minute RPO DR for on-prem servers&lt;/strong&gt; → ❌ AWS Backup → ✅ AWS DRS&lt;br&gt;
&lt;strong&gt;37. Need SSO for employees across 40 accounts&lt;/strong&gt; → ❌ Cognito → ✅ IAM Identity Center&lt;br&gt;
&lt;strong&gt;38. Need to find publicly exposed IAM roles/buckets&lt;/strong&gt; → ❌ Security Hub → ✅ IAM Access Analyzer&lt;br&gt;
&lt;strong&gt;39. Need EC2 to join on-prem AD without duplicating users&lt;/strong&gt; → ❌ Simple AD → ✅ AD Connector&lt;br&gt;
&lt;strong&gt;40. Need self-service deployment for non-technical teams&lt;/strong&gt; → ❌ raw CloudFormation → ✅ Service Catalog&lt;br&gt;
&lt;strong&gt;41. Need query subset of columns from huge S3 CSV cheaply&lt;/strong&gt; → ❌ Download whole object → ✅ S3 Select&lt;br&gt;
&lt;strong&gt;42. Need bulk tag/update on billions of S3 objects&lt;/strong&gt; → ❌ Manual Lambda loop → ✅ S3 Batch Operations&lt;br&gt;
&lt;strong&gt;43. Need IPv6 outbound-only internet access&lt;/strong&gt; → ❌ NAT Gateway → ✅ Egress-Only Internet Gateway&lt;br&gt;
&lt;strong&gt;44. Need to track software license compliance&lt;/strong&gt; → ❌ Cost Explorer → ✅ License Manager&lt;br&gt;
&lt;strong&gt;45. Need virtual desktop persistence for full-time staff&lt;/strong&gt; → ❌ AppStream 2.0 → ✅ WorkSpaces&lt;br&gt;
&lt;strong&gt;46. 🆕 Need cache with persistence and pub/sub&lt;/strong&gt; → ❌ Memcached → ✅ Redis&lt;br&gt;
&lt;strong&gt;47. 🆕 Need strongly consistent read on alternate sort key&lt;/strong&gt; → ❌ GSI (eventual only) → ✅ LSI&lt;br&gt;
&lt;strong&gt;48. 🆕 Need index added AFTER table already exists&lt;/strong&gt; → ❌ LSI (creation-time only) → ✅ GSI&lt;br&gt;
&lt;strong&gt;49. 🆕 Need to encrypt an EXISTING unencrypted RDS instance&lt;/strong&gt; → ❌ "Enable encryption" toggle (doesn't exist) → ✅ Snapshot→Copy(encrypted)→Restore&lt;br&gt;
&lt;strong&gt;50. 🆕 Need root cause investigation of a GuardDuty finding&lt;/strong&gt; → ❌ GuardDuty alone (just alerts) → ✅ Amazon Detective&lt;br&gt;
&lt;strong&gt;51. 🆕 Need centralized WAF rule enforcement across new + existing accounts&lt;/strong&gt; → ❌ Manual per-account WAF → ✅ Firewall Manager&lt;br&gt;
&lt;strong&gt;52. 🆕 Need stateful deep packet inspection at VPC edge&lt;/strong&gt; → ❌ Security Group (stateful but L4 only, no IPS) → ✅ AWS Network Firewall&lt;br&gt;
&lt;strong&gt;53. 🆕 Need to diagnose exactly why traffic is blocked between 2 resources without sending live packets&lt;/strong&gt; → ❌ Manually reading SG/NACL rules → ✅ VPC Reachability Analyzer&lt;br&gt;
&lt;strong&gt;54. 🆕 Need Lambda cold-start elimination&lt;/strong&gt; → ❌ Reserved Concurrency (only caps capacity) → ✅ Provisioned Concurrency&lt;br&gt;
&lt;strong&gt;55. 🆕 Need same CloudFormation stack deployed to 50 accounts/3 regions&lt;/strong&gt; → ❌ Nested Stacks (single account/region) → ✅ StackSets&lt;/p&gt;







&lt;h1&gt;
  
  
  3️⃣4️⃣ ARCHITECTURES (Vertical Flow)
&lt;/h1&gt;

&lt;h2&gt;
  
  
  Static Website
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;User → Route 53 → CloudFront (+WAF) → S3 (Origin, OAC private)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Three-Tier Web App
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Users → CloudFront → Route 53 → ALB (public subnet) → EC2/ASG (private) → RDS Multi-AZ (isolated)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Serverless App
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Client → API Gateway → Lambda → DynamoDB
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Event-Driven
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;S3 Upload → EventBridge → Lambda (process) / SQS (buffer) / Step Functions (orchestrate)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Microservices
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Client → ALB → ECS Orders(Fargate)→DynamoDB
             → ECS Payments(Fargate)→Aurora
             → ECS Shipping(Fargate)→DynamoDB
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Hybrid Cloud
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;On-Prem → Direct Connect(primary)+VPN(backup) → VPC → Transit Gateway → VPC-A/B/C
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  DR — Warm Standby
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Region A(ACTIVE 100%) ↔ Route 53 Failover ↔ Region B(PASSIVE 10%)
Aurora Write(A) → Replication → Aurora Read(B)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  DR — Active/Active
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Region A(ACTIVE) ↔ DynamoDB Global Tables ↔ Region B(ACTIVE)
Route 53 Latency Routing → All Users
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  DR — Continuous Replication (AWS DRS)
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;On-Prem Servers → AWS DRS Replication Agent → Low-Cost Staging Subnet (EBS only, no live EC2)
On disaster → DRS Launches Full EC2 in minutes → Route 53 Failover
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Secure Enterprise VPC
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Internet → IGW → ALB(public,SG:443) → App Tier(private) → DB Tier(isolated, no NAT/IGW)
Side: NAT GW (one per AZ) | VPC Flow Logs → CloudWatch | VPC Endpoints (S3/KMS/Secrets)
Perimeter: AWS Network Firewall (inline inspection) | Firewall Manager (org-wide policy)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Data Lake
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Sources → Kinesis Firehose → S3(raw) → Glue ETL → S3(processed) → Athena/Redshift/QuickSight
Governance: Lake Formation (across S3/Glue)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Streaming Pipeline
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;IoT/Clickstream → Kinesis Data Streams → Lambda(real-time)
                → Kinesis Firehose → S3 → Athena/Redshift
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  CI/CD Pipeline
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Dev push → CodeCommit → CodePipeline → CodeBuild → CodeDeploy(Blue/Green/Canary/Linear) → EC2/ECS/Lambda
CloudWatch Alarms → auto-rollback on failure
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  IoT Pipeline
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Devices → IoT Core(MQTT) → IoT Rules Engine → Kinesis/Lambda/S3/Timestream
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  SaaS Multi-Tenant
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Tenant → CloudFront → API Gateway → Lambda → DynamoDB(partition key=tenant_id)
                                    Cognito (tenant-aware pools)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Mobile Backend with Federated Access
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Mobile App → Cognito User Pool (login) → Cognito Identity Pool (temp creds) → S3/DynamoDB directly
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Multi-Account Landing Zone
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Management Account → Control Tower → Organizations (OUs: Security/Sandbox/Prod/Dev)
                                    → SCPs per OU
                                    → IAM Identity Center (SSO)
                                    → Config Conformance Packs (compliance)
                                    → Firewall Manager (org-wide WAF/SG rules)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Centralized Cross-Account Networking (VPC Sharing)
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Network Account (owns VPC/subnets) → AWS RAM → Shares subnets → App Account A/B/C
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Bastion-less Remote Access
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Admin → SSM Session Manager → Private EC2 (no open SSH/RDP ports, no bastion host)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Cache-Aside Pattern
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;App → Check ElastiCache (Redis) → Miss → Query RDS/DynamoDB → Write result to cache → Return
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Hybrid End-User Computing
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Remote Employees → WorkSpaces (persistent desktop) → VPC → Internal Apps/Databases
Contractors → AppStream 2.0 (single streamed app) → Same VPC, limited scope
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  🆕 Serverless DB-Backed API with Caching
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Client → API Gateway (with caching) → Lambda → DAX → DynamoDB
                                              ↳ Provisioned Concurrency for cold-start-sensitive functions
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  🆕 Security Investigation Pipeline
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;VPC Flow Logs + CloudTrail + DNS Logs → GuardDuty (detect) → Security Hub (aggregate)
                                       → Amazon Detective (investigate root cause)
                                       → EventBridge → Lambda (auto-remediate)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  🆕 Regulated Database Encryption Retrofit
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Existing Unencrypted RDS → Manual Snapshot → Copy Snapshot (enable KMS CMK encryption) → Restore New Encrypted Instance → Cutover (update endpoint) → Delete Old Instance
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;









&lt;h1&gt;
  
  
  3️⃣5️⃣ VOCABULARY
&lt;/h1&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Durable                → won't be lost (S3)
Available              → responsive when needed
Elastic                → auto grow/shrink
Ephemeral              → temp, lost on stop
Fault Tolerant         → zero disruption
Highly Available       → fast recovery, brief gap ok
Eventually Consistent  → reads may lag briefly
Strongly Consistent    → always latest write
Shared Responsibility  → AWS=of cloud, You=in cloud
Immutable Infra        → replace, don't patch
Serverless             → no provisioning, auto-scale
Lift and Shift         → rehost, minimal change
Replatform             → small optimizations
Refactor               → redesign cloud-native
Blue/Green             → 2 envs, instant switch
Canary                 → gradual traffic shift
Burstable              → baseline + credits (T-family)
Idempotent             → repeat = same result
Decoupled              → no direct calls, via queue
Stateless              → no session on instance
Stateful               → retains session/context
Multi-tenant           → shared infra, multiple customers
Defense in Depth       → multiple security layers stacked
Loosely Coupled        → failure isolation between components
Anycast IP             → same IP, routed to nearest location (Global Accelerator)
WORM                   → Write Once Read Many (Object Lock)
RTO                    → Recovery Time Objective (how long to recover)
RPO                    → Recovery Point Objective (how much data loss tolerable)
Idle capacity          → unused, wasted resources (cost target)
Landing Zone           → pre-configured, secure multi-account baseline
Guardrail              → preventive/detective control (SCP, Config rule)
Blast Radius           → scope of impact if a component fails
Chaos Engineering      → intentionally injecting failure to test resilience
Data Gravity           → tendency of data to attract compute near it
North-South Traffic    → traffic in/out of a network
East-West Traffic      → traffic between resources inside a network
Envelope Encryption    → encrypting a data key with a master key
Write-Through Cache    → cache updated at the same time as DB
Lazy Loading (Cache-Aside) → cache populated only on read-miss
Hot Partition          → uneven load on a single DB partition due to poor key design
Poison Pill Message    → message that repeatedly fails processing, needs DLQ
Bulkhead Pattern        → isolate failures so they don't cascade across the system
Circuit Breaker Pattern → stop calling a failing dependency temporarily
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;









&lt;h1&gt;
  
  
  3️⃣6️⃣ LIMITS (Quick List)
&lt;/h1&gt;

&lt;p&gt;Lambda 15min · Lambda /tmp 10GB · SQS 256KB msg/14 days max retention · S3 max object 5TB · EBS max 64TiB · EBS Multi-Attach same-AZ, io1/io2 only · DynamoDB item 400KB · Aurora max storage 128TB · RDS 5 replicas / Aurora 15 · VPC 5/region (soft) · VPC CIDR /16-/28 · SG 60 rules in/out · ALB 100 target groups · CFN 500 resources/stack · IAM policy 6144 chars · Route53 health check 10s(fast)/30s(standard) · S3 multipart recommended &amp;gt;100MB · Aurora Serverless v2 min 0.5 ACU · S3 strong consistency (all ops) · Well-Architected = 6 pillars · Spot interruption warning = 2 min · Placement Group (Spread) max 7 instances/AZ&lt;/p&gt;

&lt;h3&gt;
  
  
  More Limits
&lt;/h3&gt;

&lt;p&gt;Lambda concurrent executions default = 1000 (soft) · Lambda deployment package 50MB zipped/250MB unzipped · API Gateway timeout = 29 seconds max · DynamoDB max throughput per partition = 3000 RCU/1000 WCU · Kinesis Data Streams default retention = 24hrs (max 365 days) · Kinesis shard = 1MB/sec in, 2MB/sec out · SNS message size = 256KB · Step Functions Standard = 1 year max execution / Express = 5 min max · EFS scales automatically · FSx Lustre min size 1.2TiB (scratch) · CloudFront cache TTL default = 24hrs · Transit Gateway max VPC attachments = 5000 · Organizations max accounts = 10 default (increasable) · Glacier Deep Archive retrieval = ~12hrs standard, ~48hrs bulk&lt;/p&gt;

&lt;h3&gt;
  
  
  🆕 Even More Limits
&lt;/h3&gt;

&lt;p&gt;DynamoDB GSI max = 20 per table · DynamoDB LSI max = 5 per table (creation-time only) · SQS visibility timeout max = 12 hours · SQS delay queue max = 15 min · RDS automated backup retention max = 35 days · DynamoDB PITR window = 35 days · EBS io2 Block Express max IOPS = 256,000 · NAT Gateway bandwidth up to 100Gbps (burst) · CloudFront max origins per distribution = 25 · Security Group max per ENI = 5 (default, can request increase) · IAM: max 5000 users per account (soft) · IAM: max 500 roles per account (soft, increasable) · Direct Connect port speeds = 1/10/100 Gbps · Placement Group (Cluster) recommended for tightly coupled HPC only&lt;/p&gt;







&lt;h1&gt;
  
  
  3️⃣7️⃣ MEMORY TRICKS (All in One Place)
&lt;/h1&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;WAF/Shield/GuardDuty    → Watches words / Stops storms / Gives detection
Macie/Inspector/Guard/Detective → Mines data / Inspects code / Guards traffic / Digs deeper
Multi-AZ/Replica        → Availability=AZ, Reads=Replica
SQS/SNS/EventBridge     → Queue holds, Notifies broadcasts, Events route
Gateway/Interface       → Gratis(free) / Invoiced(paid)
VPN/Direct Connect      → Virtually instant / Dedicated but delayed
SG/NACL                 → Remembers you leaving / Checks you again leaving
S3 classes              → Sally Is In One Giant Igloo, Deeply frozen
SCP/IAM/Boundary        → Stop(ceiling) / Issues permission / Bounds one person
DMS/MGN/Snowball/Sync   → Data / Machines / Ship it / Schedule it
ALB/NLB/GWLB            → Apps Need Gateways
Route 53 policies       → Sillie Wabbits Like Failing, Geo Multiplying
DR ladder               → Budget People Want More
RI/Savings/Spot         → Rigid / Stretchy / Sacrificial
Kinesis family          → Streams Store, Firehose Flows, Analytics Analyzes
Beanstalk/Lightsail/EC2 → Grows for you / Light &amp;amp; cheap / You're the sysadmin
Cognito Pools           → User Pools=who you are, Identity Pools=what you can touch
Snapshot/AMI/Backup     → One disk / One server clone / The whole org
Athena/Redshift/Spectrum/EMR → Ask S3 directly / Warehouse it / Warehouse+peek / Build your own cluster
CloudFront/GA/Route53   → Caches content / Routes packets / Resolves names
Well-Architected Pillars→ Old Sailors Rarely Perform Correctly Sober
IAM Evaluation          → Deny Always Wins
Snow Family             → Cone &amp;lt; Ball &amp;lt; Mobile
WorkSpaces/AppStream    → Your desk / A single app in a window
Backup/DRS/CRR/Multi-AZ → Restore point / Live standby copy / Object mirror / Same-region net
Identity Center/Cognito/Directory → Employees into AWS / Customers into your app / Windows/AD
CloudFormation/CDK/Beanstalk/Catalog → Blueprint / Code that draws it / Someone builds it / Approved catalog
Redis/Memcached         → Redis Remembers (persists), Memcached Might forget
GSI/LSI                 → Grows anytime / Locked at launch
Firewall Manager/Security Hub → Enforces rules / Aggregates findings
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;









&lt;h1&gt;
  
  
  3️⃣8️⃣ STAR RATINGS (Study Priority)
&lt;/h1&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;★★★★★ Almost guaranteed:
EC2, S3, VPC, IAM, RDS/Aurora, Lambda, DynamoDB, ELB, Auto Scaling,
Multi-AZ vs Read Replica, S3 Storage Classes, Security Group vs NACL,
DynamoDB GSI/LSI/Streams/TTL, RDS encryption retrofit process

★★★★☆ Very common:
Route 53, CloudFront (incl. Signed URL/Cookie, OAC), SQS/SNS/EventBridge,
KMS (incl. CMK types, envelope encryption), CloudWatch/CloudTrail/Config,
VPN/Direct Connect/Transit Gateway, Gateway vs Interface Endpoint,
WAF/Shield/GuardDuty, Cognito, DR Strategies (RTO/RPO ladder), ElastiCache (Redis vs Memcached)

★★★☆☆ Sometimes:
ECS/EKS/Fargate, GuardDuty/Inspector/Macie/Detective, AWS Backup/DRS, DMS/MGN/Snow Family,
Step Functions (Standard vs Express), Kinesis, Well-Architected Framework, Cost tools, API Gateway,
Placement Groups, EBS volume types, IAM Identity Center, Access Analyzer,
CloudFormation (StackSets/Nested Stacks), Elastic Beanstalk deployment policies

★★☆☆☆ Rare:
Redshift, Glue/Athena, Organizations/Control Tower/RAM, RDS Proxy, DAX,
Elastic Beanstalk, Lightsail, Lake Formation, WorkSpaces/AppStream, Directory Service,
Service Catalog, IPAM, Network Firewall, Firewall Manager, Reachability Analyzer

★☆☆☆☆ Very rare:
Outposts, Wavelength, Local Zones, QLDB, Neptune, Timestream, OpsWorks,
AppSync, License Manager, MSK, OpenSearch, AWS Artifact
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;









&lt;h1&gt;
  
  
  3️⃣9️⃣ PRACTICE QUESTION BANK (Full Reasoning)
&lt;/h1&gt;

&lt;p&gt;&lt;strong&gt;Q1.&lt;/strong&gt; Automatic failover during AZ outage, zero data loss, no app changes.&lt;br&gt;
✅ &lt;strong&gt;RDS Multi-AZ&lt;/strong&gt; ❌ Read Replica (async, manual)&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Q2.&lt;/strong&gt; Process orders in exact sequence, no duplicates.&lt;br&gt;
✅ &lt;strong&gt;SQS FIFO&lt;/strong&gt; ❌ SQS Standard/SNS&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Q3.&lt;/strong&gt; 50TB footage, accessed once every few years, lowest cost.&lt;br&gt;
✅ &lt;strong&gt;S3 Glacier Deep Archive&lt;/strong&gt; ❌ Glacier Flexible&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Q4.&lt;/strong&gt; DB tier must never be internet-reachable, but needs outbound patching access.&lt;br&gt;
✅ Private subnet + NAT Gateway ❌ Public subnet + SG restriction&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Q5.&lt;/strong&gt; Prevent every account in an OU from disabling CloudTrail.&lt;br&gt;
✅ &lt;strong&gt;SCP&lt;/strong&gt; deny ❌ IAM Policy (overridable per-account)&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Q6.&lt;/strong&gt; SSH into private EC2 without opening port 22 or bastion.&lt;br&gt;
✅ &lt;strong&gt;SSM Session Manager&lt;/strong&gt; ❌ Bastion host&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Q7.&lt;/strong&gt; Cross-region active-active DynamoDB.&lt;br&gt;
✅ &lt;strong&gt;DynamoDB Global Tables&lt;/strong&gt; ❌ Cross-region snapshot restore&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Q8.&lt;/strong&gt; Ad-hoc SQL on JSON logs in S3, zero infra.&lt;br&gt;
✅ &lt;strong&gt;Athena&lt;/strong&gt; ❌ Redshift&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Q9.&lt;/strong&gt; Backup data immutable for 7 years, even from admins.&lt;br&gt;
✅ &lt;strong&gt;S3 Object Lock (Compliance mode)&lt;/strong&gt; ❌ Versioning alone&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Q10.&lt;/strong&gt; Static IP for UDP game server, fast cross-region failover.&lt;br&gt;
✅ &lt;strong&gt;Global Accelerator&lt;/strong&gt; ❌ CloudFront&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Q11.&lt;/strong&gt; 10% traffic to new version for validation.&lt;br&gt;
✅ &lt;strong&gt;Route 53 Weighted&lt;/strong&gt; ❌ Failover routing&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Q12.&lt;/strong&gt; Immutable, cryptographically verifiable transaction log.&lt;br&gt;
✅ &lt;strong&gt;QLDB&lt;/strong&gt; ❌ DynamoDB + versioning&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Q13.&lt;/strong&gt; Continuous block-level replication of on-prem VMware, minutes RPO, launch EC2 only during failover.&lt;br&gt;
✅ &lt;strong&gt;AWS DRS&lt;/strong&gt; ❌ AWS Backup/MGN&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Q14.&lt;/strong&gt; 60 accounts, employees log in once via existing Okta.&lt;br&gt;
✅ &lt;strong&gt;IAM Identity Center&lt;/strong&gt; ❌ Cognito&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Q15.&lt;/strong&gt; Self-service portal for pre-approved CloudFormation templates.&lt;br&gt;
✅ &lt;strong&gt;Service Catalog&lt;/strong&gt; ❌ Direct CloudFormation access&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;🆕 Q16.&lt;/strong&gt; DynamoDB table throttles despite available overall provisioned capacity.&lt;br&gt;
✅ &lt;strong&gt;Redesign the partition key&lt;/strong&gt; (hot partition problem) ❌ Simply increase provisioned capacity&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;🆕 Q17.&lt;/strong&gt; Need to query DynamoDB by a new attribute added after the table already has millions of items.&lt;br&gt;
✅ &lt;strong&gt;GSI&lt;/strong&gt; (can be added anytime) ❌ LSI (creation-time only)&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;🆕 Q18.&lt;/strong&gt; Existing production RDS instance (unencrypted) must become encrypted with minimal downtime.&lt;br&gt;
✅ &lt;strong&gt;Snapshot → Copy with encryption → Restore new instance → Cutover&lt;/strong&gt; ❌ "Enable encryption" toggle (doesn't exist for existing instances)&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;🆕 Q19.&lt;/strong&gt; Need a cache that supports pub/sub messaging and automatic Multi-AZ failover.&lt;br&gt;
✅ &lt;strong&gt;ElastiCache for Redis&lt;/strong&gt; ❌ Memcached (no persistence/replication)&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;🆕 Q20.&lt;/strong&gt; GuardDuty flagged an EC2 instance — need to understand the full timeline and related resources involved.&lt;br&gt;
✅ &lt;strong&gt;Amazon Detective&lt;/strong&gt; ❌ GuardDuty alone (only shows the finding, not root cause)&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;🆕 Q21.&lt;/strong&gt; Security team wants the same WAF rule automatically applied to every ALB in every account, including future ones, org-wide.&lt;br&gt;
✅ &lt;strong&gt;Firewall Manager&lt;/strong&gt; ❌ Manually configuring WAF per account&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;🆕 Q22.&lt;/strong&gt; API behind Lambda has strict latency SLAs; cold starts are causing SLA violations during traffic spikes.&lt;br&gt;
✅ &lt;strong&gt;Provisioned Concurrency&lt;/strong&gt; ❌ Reserved Concurrency (only limits/guarantees max, doesn't pre-warm)&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;🆕 Q23.&lt;/strong&gt; Need to deploy an identical security baseline CloudFormation stack to 80 accounts across 4 regions automatically.&lt;br&gt;
✅ &lt;strong&gt;CloudFormation StackSets&lt;/strong&gt; ❌ Nested Stacks (single account/region scope)&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;🆕 Q24.&lt;/strong&gt; Need Lambda-based ALB target for simple internal HTTP-triggered serverless function without API Gateway overhead.&lt;br&gt;
✅ &lt;strong&gt;ALB with Lambda target type&lt;/strong&gt; ❌ API Gateway + Lambda (unnecessary here)&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;🆕 Q25.&lt;/strong&gt; EC2 fleet must join existing on-premises Active Directory without duplicating user accounts in AWS.&lt;br&gt;
✅ &lt;strong&gt;AD Connector&lt;/strong&gt; ❌ AWS Managed Microsoft AD (creates a new directory) / Simple AD (standalone)&lt;/p&gt;







&lt;h1&gt;
  
  
  4️⃣0️⃣ COMMON EXAM CALCULATIONS
&lt;/h1&gt;

&lt;h3&gt;
  
  
  RTO/RPO Interpretation
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;RTO = "How long can we be DOWN?"        → drives DR strategy choice
RPO = "How much DATA can we LOSE?"      → drives replication frequency/method
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  S3 Storage Cost Reasoning
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Standard &amp;gt; Intelligent-Tiering ≈ Standard-IA &amp;gt; One Zone-IA &amp;gt; Glacier IR &amp;gt; Glacier Flexible &amp;gt; Glacier Deep Archive
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Read Replica Math
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Aurora → up to &lt;strong&gt;15&lt;/strong&gt; read replicas | RDS (non-Aurora) → up to &lt;strong&gt;5&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;If question implies &amp;gt;5 read replicas needed on a relational engine → &lt;strong&gt;Aurora&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Data Transfer Reasoning
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Same-AZ private IP = cheapest/free | Cross-AZ = costs money | Egress to internet = most expensive (use CloudFront)&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Lambda Cost/Concurrency Reasoning
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;More memory = more CPU = may finish faster = can be CHEAPER despite higher per-ms rate&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Spot Savings vs Risk
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Spot ≈ up to 90% cheaper, reclaimable with 2-min warning → fault-tolerant workloads only&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  🆕 Subnet CIDR Math
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Usable IPs = 2^(32-prefix) - 5
/24 = 251 usable | /28 = 11 usable | /27 = 27 usable
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  🆕 DynamoDB Capacity Math (conceptual)
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;RCU: 1 strongly consistent read of 4KB = 1 RCU (eventually consistent = 0.5 RCU)
WCU: 1 write of 1KB = 1 WCU
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;📝 &lt;em&gt;"App does 100 strongly consistent reads/sec of 4KB items"&lt;/em&gt; → needs &lt;strong&gt;100 RCU&lt;/strong&gt;&lt;/p&gt;







&lt;h1&gt;
  
  
  4️⃣1️⃣ CONTAINER DEEP DIVE (ECS vs EKS vs Fargate)
&lt;/h1&gt;

&lt;h3&gt;
  
  
  Launch Types
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;EC2 Launch Type&lt;/th&gt;
&lt;th&gt;Fargate Launch Type&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Who manages servers&lt;/td&gt;
&lt;td&gt;You&lt;/td&gt;
&lt;td&gt;AWS&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Use case&lt;/td&gt;
&lt;td&gt;GPU/custom AMI/cost control at scale&lt;/td&gt;
&lt;td&gt;No ops overhead, variable workloads&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Billing&lt;/td&gt;
&lt;td&gt;Per EC2 instance&lt;/td&gt;
&lt;td&gt;Per task (vCPU/memory-second)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  ECS vs EKS
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;ECS&lt;/th&gt;
&lt;th&gt;EKS&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Orchestrator&lt;/td&gt;
&lt;td&gt;AWS proprietary&lt;/td&gt;
&lt;td&gt;Kubernetes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Best for&lt;/td&gt;
&lt;td&gt;AWS-only shops&lt;/td&gt;
&lt;td&gt;Multi-cloud/k8s portability&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Control plane cost&lt;/td&gt;
&lt;td&gt;Free&lt;/td&gt;
&lt;td&gt;Hourly charge per cluster&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  Task Definitions &amp;amp; Services (ECS)
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Task Definition&lt;/strong&gt; — blueprint (image, CPU/memory, ports, env vars)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Task&lt;/strong&gt; — running instance of a task definition&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Service&lt;/strong&gt; — maintains desired count of tasks, integrates with ALB&lt;/li&gt;
&lt;/ul&gt;







&lt;h1&gt;
  
  
  4️⃣2️⃣ EXAM DAY TIPS
&lt;/h1&gt;

&lt;h3&gt;
  
  
  Logistics
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Arrive/log in 30 min early (online proctoring needs ID + room scan)&lt;/li&gt;
&lt;li&gt;130 minutes, ~65 questions → ~2 min/question budget&lt;/li&gt;
&lt;li&gt;Flag-and-review is available — don't get stuck, mark and move on&lt;/li&gt;
&lt;li&gt;Unanswered = wrong; ALWAYS select something before flagging&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Mental Checklist Per Question
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;What is the LAST sentence really asking?&lt;/li&gt;
&lt;li&gt;What's the non-negotiable constraint?&lt;/li&gt;
&lt;li&gt;Eliminate 2 answers immediately&lt;/li&gt;
&lt;li&gt;Between final 2 — which is MORE managed/secure/native?&lt;/li&gt;
&lt;li&gt;Trust the framework, not panic&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Common Mistakes to Avoid
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Don't switch a confident answer without a strong reason&lt;/li&gt;
&lt;li&gt;Don't assume "cheapest" ignores compliance requirements&lt;/li&gt;
&lt;li&gt;Don't pick Lambda for anything &amp;gt;15 min or requiring persistent state&lt;/li&gt;
&lt;li&gt;Don't pick Multi-AZ when the question says "region" or "disaster"&lt;/li&gt;
&lt;li&gt;Don't forget SCPs/Permissions Boundaries never grant, only restrict&lt;/li&gt;
&lt;li&gt;🆕 Don't confuse GSI (flexible) with LSI (rigid, creation-time only)&lt;/li&gt;
&lt;li&gt;🆕 Don't forget RDS encryption retrofit requires snapshot→copy→restore&lt;/li&gt;
&lt;li&gt;🆕 Read "choose TWO/THREE" instructions carefully — no partial credit&lt;/li&gt;
&lt;/ul&gt;







&lt;h1&gt;
  
  
  4️⃣3️⃣ ⏰ LAST 30 MINUTES BEFORE THE EXAM
&lt;/h1&gt;

&lt;h3&gt;
  
  
  15 Golden Rules
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;Managed &amp;gt; Self-managed, always, when tied.&lt;/li&gt;
&lt;li&gt;Multi-AZ = HA. Read Replica = Reads. Never confuse them.&lt;/li&gt;
&lt;li&gt;Multi-AZ ≠ DR. DR = Cross-Region.&lt;/li&gt;
&lt;li&gt;SCP restricts, never grants.&lt;/li&gt;
&lt;li&gt;Gateway Endpoint = S3/DynamoDB ONLY, free.&lt;/li&gt;
&lt;li&gt;VPC Peering is NOT transitive — use Transit Gateway.&lt;/li&gt;
&lt;li&gt;Lambda hard limit = 15 minutes.&lt;/li&gt;
&lt;li&gt;SQS Standard ≠ ordered/exactly-once — need FIFO.&lt;/li&gt;
&lt;li&gt;Aurora Serverless v2 does NOT scale to zero (v1 did).&lt;/li&gt;
&lt;li&gt;Explicit DENY always wins in IAM policy evaluation.&lt;/li&gt;
&lt;li&gt;IAM Identity Center = employees; Cognito = customers.&lt;/li&gt;
&lt;li&gt;AWS DRS = continuous replication DR; AWS Backup = scheduled point-in-time.&lt;/li&gt;
&lt;li&gt;WorkSpaces = persistent desktop; AppStream = single streamed app.&lt;/li&gt;
&lt;li&gt;Redis persists/replicates; Memcached does not.&lt;/li&gt;
&lt;li&gt;GSI = add anytime; LSI = table-creation only.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  25 Limits to Remember
&lt;/h3&gt;

&lt;p&gt;Lambda 15min · SQS 256KB/14days · S3 5TB · EBS 64TiB · DynamoDB 400KB item · Aurora 128TB · RDS 5 replicas/Aurora 15 · VPC 5/region · SG 60 rules · ALB 100 target groups · CFN 500 resources · IAM policy 6144 chars · EBS Multi-Attach same-AZ only · NACL lowest-number-first · Route53 health check 10s/30s · S3 multipart &amp;gt;100MB · Aurora Serverless v2 min 0.5 ACU · VPC CIDR /16-/28 · S3 strong consistency · Well-Architected = 6 pillars · DynamoDB GSI max 20/LSI max 5 · SQS visibility timeout max 12hrs · RDS backup retention max 35 days · DynamoDB PITR window 35 days · API Gateway timeout 29s · Lambda concurrency default 1000.&lt;/p&gt;

&lt;h3&gt;
  
  
  35+ Architectures to Recognize
&lt;/h3&gt;

&lt;p&gt;Static site · 3-tier · Serverless · Event-driven · Microservices · Data lake · Streaming · Hybrid · Warm Standby DR · Active/Active DR · DRS continuous DR · CI/CD pipeline · IoT pipeline · SaaS multi-tenant · Secure VPC · Multi-region DB · Cross-account sharing (RAM) · Centralized logging · Landing zone (Control Tower) · Bastion-less access (SSM) · Blue/Green · Canary · Fan-out (SNS+SQS) · Cache-aside (ElastiCache) · DAX+DynamoDB · Global delivery (CF+GA) · VPC endpoint-secured · Centralized backup · WAF+Shield web app · RDS Proxy+Lambda · Cognito mobile backend · VPC sharing · Hybrid end-user computing · Security investigation pipeline (GuardDuty→Detective) · DB encryption retrofit · Serverless API with DAX caching.&lt;/p&gt;

&lt;h3&gt;
  
  
  Traps → Section 33 (55 entries) + Section 32 Confusion Killers (34 groups)
&lt;/h3&gt;

&lt;h3&gt;
  
  
  Golden Rule Recap by Domain
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Security (30%):&lt;/strong&gt; Least privilege, encryption by default, Roles over Users, defense in depth.&lt;br&gt;
&lt;strong&gt;Resilience (26%):&lt;/strong&gt; Multi-AZ for HA, Cross-Region for DR, decouple with queues/events.&lt;br&gt;
&lt;strong&gt;Performance (24%):&lt;/strong&gt; Right service for workload pattern, caching, serverless for spiky loads.&lt;br&gt;
&lt;strong&gt;Cost (20%):&lt;/strong&gt; Match pricing model to usage pattern, lifecycle policies, right-size continuously.&lt;/p&gt;

&lt;h3&gt;
  
  
  🎯 Final Checklist
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;[ ] Read the &lt;strong&gt;last sentence&lt;/strong&gt; first&lt;/li&gt;
&lt;li&gt;[ ] Highlight the &lt;strong&gt;constraint keyword&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;[ ] Scan the &lt;strong&gt;Service Selection Matrix&lt;/strong&gt; mentally&lt;/li&gt;
&lt;li&gt;[ ] Watch for &lt;strong&gt;"NO SUCH THING"&lt;/strong&gt; traps&lt;/li&gt;
&lt;li&gt;[ ] Run through &lt;strong&gt;Section 32 Confusion Killers&lt;/strong&gt; if two answers feel similar&lt;/li&gt;
&lt;li&gt;[ ] Pick more &lt;strong&gt;managed/native/automated&lt;/strong&gt; when tied&lt;/li&gt;
&lt;li&gt;[ ] DR → &lt;strong&gt;RTO/RPO ladder&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;[ ] Networking → check &lt;strong&gt;direction + transitivity&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;[ ] IAM → remember &lt;strong&gt;explicit deny always wins&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;[ ] DynamoDB → &lt;strong&gt;GSI flexible, LSI rigid&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;[ ] Cache → &lt;strong&gt;Redis persists, Memcached doesn't&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;[ ] Trust your first instinct&lt;/li&gt;
&lt;/ul&gt;







&lt;h1&gt;
  
  
  📌 PREP TIME ALLOCATION
&lt;/h1&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;70% ▓▓▓▓▓▓▓ Practice exams
20% ▓▓      Review wrong answers (esp. Section 32 &amp;amp; 33)
10% ▓       Re-read this sheet
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Go score 850+. 🚀&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>architecture</category>
      <category>aws</category>
      <category>cloud</category>
    </item>
  </channel>
</rss>
