Bird
0
0

A chaos experiment script intended to shut down a microservice instance sometimes fails silently without stopping the instance. What is the most likely cause?

medium📝 Analysis Q14 of 15
Microservices - Testing Microservices
A chaos experiment script intended to shut down a microservice instance sometimes fails silently without stopping the instance. What is the most likely cause?
AThe network is too fast for the script
BThe microservice is designed to never stop
CThe chaos experiment is running on a different system
DThe script lacks proper error handling and logging
Step-by-Step Solution
Solution:
  1. Step 1: Identify why script fails silently

    Silent failures usually happen when errors are not caught or logged properly.
  2. Step 2: Evaluate other options

    Microservices can be stopped; network speed does not cause silent failure; running on different system would cause errors, not silent failure.
  3. Final Answer:

    The script lacks proper error handling and logging -> Option D
  4. Quick Check:

    Silent failure = Missing error handling [OK]
Quick Trick: Check error handling if chaos script fails silently [OK]
Common Mistakes:
  • Assuming microservice cannot be stopped
  • Blaming network speed for silent failure
  • Ignoring script environment mismatch

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Microservices Quizzes