InterviewHubPRO
Section Overview
Q44

Question 44 of 50

Part 4: Production Incident Management & Post-Mortems (37 - 44)

88%
Behavioral & Leadership (50 Qs)•Part 4: Production Incident Management & Post-Mortems (37 - 44)

What is your framework for disaster recovery testing (Chaos Engineering and GameDays)?

In Simple Words: Do not wait for a 3 AM production crisis to find out if your failover works. Proactively inject failure in staging and production during business hours via Chaos Engineering and GameDays.

The Framework:

  1. Define Steady State: Establish normal baseline metrics (e.g. checkout throughput = 120 orders/min, error rate = 0.02%).
  2. Hypothesize: "If we terminate our primary PostgreSQL database instance, Aurora will automatically fail over to the read replica within 30 seconds with <1% dropped requests."
  3. Inject Failure: Use tools like Chaos Mesh or AWS Fault Injection Simulator to kill the primary database node.
  4. Analyze & Fix: Verify whether applications reconnected automatically or required manual pod restarts.

Practical Script & Summary Template

markdown
### GameDay Execution Checklist:
- [ ] Schedule GameDay during normal business hours (e.g. Tuesday at 11 AM).
- [ ] Verify all team members are present on the bridge.
- [ ] Inject failure: Terminate primary Redis node.
- [ ] Measure steady-state impact: Did the circuit breaker fallback activate?
- [ ] Record recovery time and document architectural improvements.