You are developing your microservices application on Google Kubernetes Engine. During testing, you want to validate the behavior of your application in case a specific microservice should suddenly crash. What should you do?
Choose an answer
Tap an option to check your answer.
Correct answer: Use Istio's fault injection on the particular microservice whose faulty behavior you want to simulate..
Why this is the answer
Istio's fault injection is designed precisely for simulating failures like crashes, delays, or aborts within specific microservices, allowing you to test resilience without disrupting the entire system. Adding a taint and anti-affinity would prevent the microservice from running on a specific node, but it wouldn't simulate a crash; it's for scheduling constraints. Destroying a node is an extreme measure that impacts the entire cluster and is not a controlled way to test a single microservice's crash behavior. Configuring Istio's traffic management to steer traffic away from a crashing microservice is a recovery mechanism, not a simulation method.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed