GKE application reports frequent errors from a component; no logging/monitoring is enabled and the issue is not reproducible. To diagnose with minimal disruption, what should you do?
Choose an answer
Tap an option to check your answer.
Correct answer: Enable Cloud Operations for GKE on the cluster and use the GKE Monitoring dashboard to inspect Pod logs..
Why this is the answer
Enabling Cloud Operations for GKE (formerly Stackdriver) directly on the existing cluster is the most efficient way to diagnose the issue with minimal disruption. This integrates logging and monitoring capabilities, allowing you to inspect Pod logs through the GKE Monitoring dashboard without recreating resources or migrating workloads. Creating a new cluster and migrating Pods (options B and D) introduces significant disruption and is unnecessary for enabling basic logging. Deploying Prometheus (options C and D) is an additional step for metrics collection and alerting, but the immediate need is to access logs for diagnosis, which Cloud Operations for GKE provides directly.
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