Bird
0
0

You want to design a chaos experiment that tests system recovery when 30% of microservice instances fail simultaneously. Which approach best achieves this?

hard📝 Trade-off Q8 of 15
Microservices - Testing Microservices
You want to design a chaos experiment that tests system recovery when 30% of microservice instances fail simultaneously. Which approach best achieves this?
ARestart all instances one by one without failure
BGradually add 30% more instances to the cluster
CRandomly kill 30% of instances at once and monitor system behavior
DIncrease network bandwidth by 30%
Step-by-Step Solution
Solution:
  1. Step 1: Define failure simulation for 30% instances

    To test recovery, kill 30% instances simultaneously to simulate failure.
  2. Step 2: Evaluate options for simulating failure

    Only Randomly kill 30% of instances at once and monitor system behavior kills 30% instances at once, triggering recovery mechanisms.
  3. Final Answer:

    Randomly kill 30% of instances at once and monitor system behavior -> Option C
  4. Quick Check:

    Simulate failure by killing instances [OK]
Quick Trick: Kill target percentage of instances simultaneously [OK]
Common Mistakes:
  • Confusing failure with scaling
  • Restarting without failure does not test recovery
  • Changing bandwidth unrelated to failure

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Microservices Quizzes