Bird
0
0

A chaos experiment script intended to inject 200ms latency uses injectFault(type='delay', duration=200). The system does not show any delay. What is the most probable cause?

medium📝 Analysis Q7 of 15
Microservices - Testing Microservices
A chaos experiment script intended to inject 200ms latency uses injectFault(type='delay', duration=200). The system does not show any delay. What is the most probable cause?
ALatency injection is not supported in chaos engineering
BDuration value lacks time unit, causing the fault injection to fail
CThe delay duration is too small to notice
DThe injectFault command is deprecated
Step-by-Step Solution
Solution:
  1. Step 1: Check duration parameter format

    Duration must include time unit as string, e.g., '200ms'.
  2. Step 2: Identify why delay is not applied

    Without unit, the system ignores or fails the injection.
  3. Final Answer:

    Duration value lacks time unit, causing the fault injection to fail -> Option B
  4. Quick Check:

    Duration needs unit string for injection [OK]
Quick Trick: Always specify time units in duration strings [OK]
Common Mistakes:
  • Passing numeric duration without units
  • Assuming small delays are ignored
  • Believing latency injection is unsupported

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Microservices Quizzes