Google Professional Cloud Developer Question 297
Select 3Google Cloud PlatformYour team is deploying a microservices-based application on Google Kubernetes Engine (GKE). To ensure system resilience, you want to implement chaos engineering by simulating failures such as pod crashes, network disruptions, and resource exhaustion. Which of the following tools or methods can you use to achieve this on Google Cloud?
- A
Use Chaos Monkey to simulate failures within your Kubernetes cluster.
- B
Leverage Google's Fault Injection Simulator to introduce delays and errors in your application.
- C
Use Knative to inject faults and test resilience in your microservices.
- D
Deploy LitmusChaos to simulate network disruptions and resource exhaustion in GKE.
- E
Use Istio's fault injection capabilities to configure delays and aborts in service communication.
Show answer and explanation
Correct answers: B, D, E
Explanation
Chaos engineering on Google Cloud can be implemented using tools like Fault Injection Simulator, LitmusChaos, and Istio. These tools allow you to test the resilience of your system by simulating different types of failures, such as delays, network disruptions, and service communication errors. While Chaos Monkey and Knative are popular tools in the cloud ecosystem, they do not natively align with Google Cloud's chaos engineering practices or capabilities.
- A. Incorrect.
Chaos Monkey is a tool from Netflix for chaos engineering, but it is not natively integrated into Google Cloud or GKE. While it can be used with Kubernetes, it requires additional setup and is not a Google Cloud-specific solution.
- B. Correct.
Fault Injection Simulator is a Google Cloud-native tool designed for testing the resilience of distributed systems by introducing faults such as latency and errors.
- C. Incorrect.
Knative is a Kubernetes-based platform to manage and deploy serverless workloads; it does not offer fault injection or chaos engineering capabilities.
- D. Correct.
LitmusChaos is an open-source chaos engineering tool that integrates well with Kubernetes, including GKE, and can be used to simulate various failure scenarios like network disruptions and resource exhaustion.
- E. Correct.
Istio, a service mesh for Kubernetes, provides built-in fault injection capabilities, allowing you to introduce delays and aborts in service communication, making it a suitable choice for chaos engineering.