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:
- Define Steady State: Establish normal baseline metrics (e.g. checkout throughput = 120 orders/min, error rate = 0.02%).
- 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."
- Inject Failure: Use tools like Chaos Mesh or AWS Fault Injection Simulator to kill the primary database node.
- 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.