LeetQuiz Logo
Privacy Policy•contact@leetquiz.com
© 2025 LeetQuiz All rights reserved.
Google Associate Cloud Engineer

Google Associate Cloud Engineer

Get started today

Ultimate access to all questions.


In a scenario where multiple teams deploy their applications on a single Google Kubernetes Engine (GKE) auto-scaling cluster, and you aim to centralize monitoring by running a monitoring pod that sends container metrics to a third-party monitoring solution, what is the simplest method to achieve this?

Real Exam



Explanation:

The correct answer is B because a DaemonSet ensures that a copy of the monitoring pod is running on each node of the GKE cluster, making it the simplest and most efficient method to centralize monitoring. This approach automatically covers all nodes, including those added by auto-scaling, without requiring manual intervention or coordination among teams.

  • A is incorrect as it would necessitate manual configuration for each application, which is impractical and inefficient, especially with multiple teams involved.
  • C is incorrect because cluster initializers do not manage running pods; they customize cluster configurations during creation, and new nodes from auto-scaling would not have the monitoring pod by default.
  • D is incorrect because StatefulSets are designed for applications requiring stable network identities and persistent storage, not for deploying monitoring pods across all nodes.

For further reading, consider this article on K8s Deployments vs StatefulSets vs DaemonSets.

Powered ByGPT-5