
Answer-first summary for fast verification
Answer: 1. Update your GKE cluster to use Cloud Operations for GKE. 2. Use the GKE Monitoring dashboard to investigate logs from affected Pods.
The correct answer is A. Updating your GKE cluster to use Cloud Operations for GKE (formerly known as Stackdriver) will enable monitoring and logging without causing significant disruption to your application. This allows you to immediately start collecting data and use the GKE Monitoring dashboard to investigate logs from affected Pods. This approach is minimally disruptive and leverages the native logging capabilities in GKE, as recommended by GCP best practices. Furthermore, it allows you to start diagnosing the issue based on newly collected logs, which is crucial since you cannot replicate the issue yourself and have no past data available.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
You have an application that runs in Google Kubernetes Engine (GKE). Over the last 2 weeks, customers have reported that a specific part of the application returns errors very frequently. Currently, there is no logging or monitoring solution enabled on your GKE cluster. You need to diagnose the problem to understand why customers are encountering errors. You have not been able to replicate the issue yourself and want to use minimal disruption to the application to perform this diagnosis. What should you do to enable efficient troubleshooting?
A
B
C
D