
Answer-first summary for fast verification
Answer: Enable Cloud Monitoring and Logging on your GKE cluster, and use custom metrics to track resource utilization levels.
Enabling Cloud Monitoring and Logging on your GKE cluster is the correct approach. These services are essential for monitoring, logging, and alerting on GKE clusters' performance. They allow access to pre-defined metrics and the creation of custom metrics for monitoring resource utilization levels, providing a scalable, managed solution. Other options like deploying a custom monitoring solution, using Google BigQuery, or setting up a cron job are either less optimal, not designed for real-time monitoring, or lack scalability and comprehensive features.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
As a DevOps Engineer optimizing resource utilization in Google Cloud Platform for a project utilizing microservices on Google Kubernetes Engine (GKE), what is the most effective method to monitor the cluster's performance for optimal resource utilization?
A
Deploy a custom monitoring solution on Compute Engine to scrape GKE cluster metrics and analyze resource utilization.
B
Set up Google BigQuery to store GKE resource utilization data and analyze it using SQL queries.
C
Enable Cloud Monitoring and Logging on your GKE cluster, and use custom metrics to track resource utilization levels.
D
Create a cron job on a Compute Engine instance to periodically check GKE cluster resource utilization using the kubectl top command.
No comments yet.