Software Testing & QA (50 Qs)•Part 3: Advanced Internals, Scale & Production Quality (Senior / Lead)
Chaos Engineering: Fault Injection with Chaos Mesh and LitmusChaos.
senior Levelsoftware-testingAdvanced Internals
In Simple Words: Principles of Chaos Engineering (Netflix Simian Army):
- Rather than waiting for outages in production, proactively inject failure into staging/production to prove resilience.
- Fault Types:
- Network Chaos: Introduce 500ms packet latency or 20% packet drop. Verify circuit breakers trip gracefully.
- Pod Kill Chaos: Terminate random database or API pods. Verify Kubernetes zero-downtime rolling updates.
- Time Chaos: Skew system clocks to verify JWT token expiration and consensus protocols.
- Disk Fill Chaos: Exhaust disk space to verify alerting and log rotation.