CertNote/ Commute Study Notes
Roadmap
KOEN
CLF-C02 · FoundationalCloud Practitioner - Foundational
DVA-C02 · AssociateDeveloper - Associate
SAA-C03 · AssociateSolutions Architect - Associate
SOA-C02 · AssociateCloudOps Engineer - Associate
SAP-C02 · ProfessionalSolutions Architect - Professional
  • Week 1
    • 1.The Game Called the SAP Exam: Hands-On Techniques for Decomposing Scenarios
    • 2.IAM, STS, and Federation: Splitting the Word "Permission" into Six Layers
    • 3.The Anatomy of a VPC: What Route Tables Really Decide
    • 4.Four Compute Pillars in Depth: Revisiting Nitro, EBS, ELB, and Auto Scaling Through a Pro Lens
    • 5.Week 1 Integration: When IAM, VPC, and EC2 Meet in a Single Scenario
  • Week 2
  • Week 3
  • Week 4
  • Week 5
  • Week 6
  • Week 7
  • Week 8
  • Week 9
  • Week 10
  • Week 11
  • Week 12
  • Week 13
  • Week 14
    • 1.Four DR Strategies and RTO/RPO Mapping — History of Disaster Recovery, Physics of Sync/Async Replication, Cloud DR Economics
    • 2.Backup: AWS Backup & Cross-Region Copy — Legal Origins of WORM, Vault Lock Irreversibility, Multi-Account Backup Governance
    • 3.Resilience Hub & Fault Injection Simulator — Birth of Chaos Engineering, Stop Condition's Safety Engineering, DR Verification Automation
    • 4.DR for RDS, Aurora, and DynamoDB Global: Inside Synchronous and Asynchronous Replication, Aurora's Storage Architecture, and Active-Active Conflict Resolution
    • 5.Resilience and DR Integrated Review: The 4 Strategies That Meet RTO/RPO, and the Tools to Verify Them
  • Week 15
  • Week 16
DOP-C02 · ProfessionalDevOps Engineer - Professional
Linux Master 2 · 2급KAIT Linux Master - Level 2
SCS-C03 · SpecialtySecurity - Specialty
Linux Master 1 · 1급KAIT Linux Master - Level 1
MLA-C01 · AssociateMachine Learning Engineer - Associate
AIF-C01 · FoundationalAI Practitioner - Foundational
DEA-C01 · AssociateData Engineer - Associate
MLS-C01 · SpecialtyMachine Learning - Specialty
SQLD · 개발자SQL Developer (SQLD)

© CertNote · 주간랩스

  • About
  • Changelog
  • Contact
  • Terms
  • Privacy
← SAP-C02/Week 14/Day 3

Based on the SAP-C02 exam guide·Report an error

SAP-C02· ProWeek 14 · Day 3~32 min read

Day 3 - Resilience Hub & Fault Injection Simulator — Birth of Chaos Engineering, Stop Condition's Safety Engineering, DR Verification Automation

In 2010 when Netflix migrated from DVD-by-mail to streaming, from own datacenters to AWS, engineers faced a terrifying truth: in cloud, instances die without warning anytime. Their response defied intuition. Not "fear failure so avoid it" but "intentionally, frequently, during business hours, cause failures and constantly prove the system survives anyway." This birthed Chaos Monkey—randomly killing production instances—and created the field of Chaos Engineering.

In SAP-C02, resilience doesn't end with "Multi-AZ enabled." Pro perspective is active validation: auto-evaluate resilience against RTO/RPO goals (Resilience Hub), safely inject intentional failures (FIS), precisely control failover traffic (Route 53 ARC). Today we decompose chaos engineering's origins, FIS Stop Condition's safety engineering, and tool choice per DR location (DRS vs MGN).

Resilience Hub — Evaluate RTO/RPO Like Code

Resilience design's first step: objectively know "does my workload actually meet defined RTO/RPO?" Instead of humans guessing architecture diagrams, AWS Resilience Hub analyzes automatically.

Operation is clear: (1) register workload (CloudFormation stack, Terraform state, Resource Group auto-discovers resources), (2) input RTO/RPO targets as policy, (3) Resilience Hub analyzes whether current architecture meets targets, identifying policy violations and gaps, (4) offers concrete improvement recommendations like "add Multi-AZ for RTO 30 seconds, increase backup frequency for RPO 5 minutes," (5) auto-generates FIS experiment templates for validation.

💡 Related Theory: Resilience Hub's most powerful use is CI/CD pipeline integration. Every PR calculates resilience score—making resilience a gate like code quality—"this change worsens RTO so merge blocked" becomes possible. This Resilience as Code paradigm prevents regression like test coverage or security scanning. WA Tool is qualitative interviews; Resilience Hub is quantitative, automated RTO/RPO evaluation. In exams, "auto-identify RTO/RPO gap + concrete recommendations + CI/CD" is Resilience Hub.

🔍 Deeper Dive: Resilience Hub and WA Tool overlap but differ. WA Tool qualitatively evaluates all six pillars via questions; Resilience Hub deeply, automatically measures only Reliability's RTO/RPO. Hub discovers actual resources and generates FIS experiments; WA Tool relies on human answers. In exams, "six-pillar structured assessment" is WA Tool; "quantitative RTO/RPO gap + auto experiment generation" is Resilience Hub.

Fault Injection Simulator — Managed Chaos Implementation

FIS is Netflix's Chaos Monkey idea that AWS commoditized as managed service in 2021. Core: Experiment Template—combination of Targets (which resources) and Actions (what failure).

Rich failure types injectable:

  • EC2 stop/terminate: Force shutdown validates ASG self-healing
  • CPU/memory stress: Resource exhaustion behavior validation
  • Network latency, packet loss: Inter-component communication failure simulation
  • API throttling: Retry logic under API limits validation
  • RDS Failover: Multi-AZ switchover actually works validation
  • IAM permission revocation: Graceful degradation on permission failure
  • AZ availability block: Single-AZ failure tests Multi-AZ resilience

💡 Related Theory: Chaos engineering isn't simple "failure testing" but follows scientific experiment methodology. Proper procedure: (1) define steady state with measurable metric ("1000 orders/sec"), (2) hypothesize "this metric persists even under failure," (3) inject actual failure, (4) verify hypothesis—metric sustained means resilient, collapsed means weakness found. This brings hypothesis-verification loop from experimental science into software engineering; "tests confirm known, chaos experiments discover unknown" summarizes it. In exams, FIS framed as "discover resilience weaknesses unknown before production."

📚 Case Study: Value of chaos engineering proven inversely by 2012 Netflix Christmas Eve major outage. AWS ELB us-east-1 failure stopped Netflix streaming during peak season for hours. Netflix then evolved beyond Chaos Monkey into "Chaos Kong"—simulating entire AWS region death—and regularly rehearsed regional failover. Result: subsequent real AWS region failures were nearly imperceptibly absorbed. Lesson: failover works only as well as practiced beforehand. In exams, "validate region-failure resilience regularly before production" signals FIS-based Game Day.

Stop Condition — Preventing Intentional Failure From Becoming Real Disaster

Chaos engineering's greatest risk is obvious: intentional failure spirals out of control into real major incident. FIS's decisive superiority over self-written Chaos Monkey is Stop Condition—safety mechanism.

Stop Condition connects to one or more CloudWatch Alarms. If during experiment the alarm triggers (e.g., "error rate >5%", "latency >1 sec"), FIS immediately stops all failure injections and restores normal state. Pre-define "up to here is okay, beyond this line we stop"—safety boundary.

💡 Related Theory: Stop Condition implements safety engineering's automatic safety stop (fail-safe/dead-man's switch) in cloud. Same philosophy as reactor SCRAM, elevator emergency brake, industrial machine safety cutoffs—"detect danger signal, don't await human judgment, auto-revert to safest state." Without it, incident can grow before experimenter reacts. FIS combines IAM role separation (experiment affects only defined resources) and blast radius pre-definition for multi-layer safety. In exams, "chaos experiment doesn't become real disaster" is Stop Condition signal.

⚠️ Pitfall: Understanding FIS only as "failure tool" sets exam traps. FIS's true value is "controlled" failure surrounded by Stop Condition, blast radius, IAM separation. Choices like "Lambda directly terminate EC2," "Systems Manager manual failure injection" lack safety mechanisms—not proper chaos engineering. In exams, when "intentional failure + alarm auto-stop" both appear, FIS with built-in Stop Condition is only answer.

DRS vs MGN — Same Engine, Different Purpose, Different DR Location

Beyond resilience validation, actual DR environment building presents AWS's two block-level replication services. Both descended from same replication engine (formerly CloudEndure) but opposite purposes.

ItemMGN (Application Migration)DRS (Elastic Disaster Recovery)
PurposeOne-time migrationContinuous DR
SourceOn-prem/other cloud → AWSOn-prem/other cloud/AWS Region → AWS Region
CutoverOnce (end after migration)Repeatable (regular drills)
ReplicationUntil migration complete24/7 continuous
RPO/RTO-RPO seconds, RTO minutes
CostStop after source terminatedSustained DR environment

Key distinction: "move and done (MGN) vs continuously maintain (DRS)?" On-premise 200 servers permanently to AWS = MGN (7R Rehost); on-premise stays, AWS maintains 24-hour DR standby = DRS.

🔍 Deeper Dive: DRS's strength is block-level continuous replication + repeatable drills. Can spin up DR site, test (drill), return to standby—validate "does DR actually work?" regularly without production impact. DRS keeps replicated data in cheap staging area normally, converts to instances only on failover (similar to Pilot Light cost efficiency). In exams, "on-prem + AWS sustained DR + regular drills" = DRS; "on-prem → AWS permanent" = MGN—clear split.

Route 53 ARC — Failover Precision Control

Auto health-check failover is fast, but for mission-critical systems, false positive (misinterpreting transient network flutter as failure) causing unnecessary failover can be riskier. Route 53 Application Recovery Controller (ARC) refines this control.

  • Routing Control: Explicit ON/OFF toggle separate from auto health check. Operator intentionally decides traffic switch—puts failover under human judgment.
  • Readiness Check: Auto, continuous verify DR region maintains production-level readiness (capacity, config, quotas). Prevent "failover succeeded but DR unprepared."
  • Zonal Shift: Immediately exclude problematic single AZ from ALB/NLB. Isolate one AZ, not whole region.

📚 Case Study: The 2021-12-07 AWS us-east-1 massive outage (~7 hours, API Gateway, console, many services affected) started from unexpected auto-scaling of internal network device. Some firms experienced auto health check ping-ponging between healthy/unhealthy—traffic instability. With ARC Routing Control, operators could explicitly decide "now switch to us-west-2" for more controlled response. Outage taught "keep control plane and data plane separate"—ARC Routing Control data plane distributed across 5 regions to work even when us-east-1 dies. In exams, "mission-critical auto failover false positive concern" signals ARC Routing Control.

🎯 Scenario: "Fintech runs us-east-1/us-west-2 active-active. Auto health check misinterprets partial failure causing traffic instability. Operators want to carefully decide failover themselves. Use what?" — Answer: Route 53 ARC Routing Control. Explicit toggle separate from auto health check—humans control. Simple Route 53 Health Check (automatic) has false positive problem. "Isolate AZ only" = Zonal Shift; "continuously verify DR readiness" = Readiness Check—functions split within ARC.

Summary

Resilience completes via validation, not design. Resilience Hub auto-identifies RTO/RPO gaps, generates concrete recommendations and FIS experiments, integrates CI/CD to gate resilience like code quality. FIS implements Netflix's chaos engineering as managed service with Stop Condition, blast radius, IAM separation safety engineering preventing intentional failures from becoming real disasters. DR location build splits by purpose—MGN (one-time migration) vs DRS (sustained DR)—and failover traffic control refines via Route 53 ARC's Routing Control (explicit human decision), Zonal Shift (AZ isolation), Readiness Check (prep validation).

SAP exam frequent mappings: (1) "Auto-identify RTO/RPO gap + recommendations + CI/CD" → Resilience Hub, (2) "Intentional failure during operation + alarm auto-stop" → FIS + Stop Condition, (3) "On-prem → AWS permanent migration" → MGN, (4) "On-prem + AWS sustained DR + regular drills" → DRS, (5) "Auto failover false positive concern, human explicit decision" → ARC Routing Control, (6) "Problem AZ only instant traffic exclude" → Zonal Shift, (7) "DR region prep state continuous validation" → Readiness Check. Next day digs into resilience's data layer (RDS, Aurora, DynamoDB Global Multi-AZ, Multi-Region choices).

📝 Practice Questions

Click a choice to reveal the answer and explanation.

Question 1

A team wants to be automatically assessed on whether a workload's current RTO/RPO meets its targets, receive concrete recommendations to close the gaps, and enforce resilience as a gate in the CI/CD pipeline. What is the most appropriate tool?

Question 2

A company wants to verify resilience in the production environment by deliberately injecting EC2 termination and network latency, with the experiment stopping automatically if the error rate exceeds a threshold. What is the most appropriate configuration?

Question 3

A company wants to keep operating its on-premises data center as is, maintain a DR environment on standby in AWS around the clock, and perform regular failover drills. What is the most appropriate service?

Question 4

A fintech operates active-active in us-east-1 and us-west-2. It wants to prevent traffic from swinging unnecessarily when automatic health checks misjudge a transient network blip as a failure, and wants operators to decide on failover carefully themselves during a failure. What is the most appropriate choice?

Question 5

In a chaos engineering experiment, what is the most accurate role of a Stop Condition?

Question 6

A workload is experiencing a partial failure in a single AZ. Without failing over the entire Region, you want to immediately remove only that problematic AZ from traffic. What is the most appropriate method?

PreviousBackup: AWS Backup & Cross-Region Copy — Legal Origins of WORM, Vault Lock Irreversibility, Multi-Account Backup GovernanceWeek 14 · Day 2Next DR for RDS, Aurora, and DynamoDB Global: Inside Synchronous and Asynchronous Replication, Aurora's Storage Architecture, and Active-Active Conflict ResolutionWeek 14 · Day 4

Official references

  • SAP-C02 official exam page(opens in a new tab)
  • Amazon Route 53 documentation(opens in a new tab)
  • Elastic Load Balancing documentation(opens in a new tab)
  • Amazon CloudWatch documentation(opens in a new tab)
  • Amazon EC2 documentation(opens in a new tab)
  • AWS IAM documentation(opens in a new tab)

On this page

  • Resilience Hub — Evaluate RTO/RPO Like Code
  • Fault Injection Simulator — Managed Chaos Implementation
  • Stop Condition — Preventing Intentional Failure From Becoming Real Disaster
  • DRS vs MGN — Same Engine, Different Purpose, Different DR Location
  • Route 53 ARC — Failover Precision Control
  • Summary
  • Practice Questions