Google Associate Cloud Engineer

Google Associate Cloud Engineer

Get started today

Ultimate access to all questions.


Your team utilizes a third-party monitoring solution and has requested its deployment across all nodes in your Kubernetes Engine Cluster. What is the most efficient method to achieve this?




Explanation:

The correct answer is C because a DaemonSet ensures that a copy of a pod runs on all (or some) nodes in a Kubernetes cluster. This is ideal for deploying background tasks like monitoring solutions across all nodes without manual intervention.

  • DaemonSets are designed to run a copy of a pod on each node in the cluster, making them perfect for deploying monitoring solutions that need to be present on every node.
  • Option A (StatefulSet) is incorrect because StatefulSets are used for applications that require stable, unique network identifiers or persistent storage, not for deploying across all nodes.
  • Option B (Deployment Manager) is incorrect as it is a Google Cloud tool for deploying resources, not for managing pods across nodes in a Kubernetes cluster.
  • Option D (SSH manual installation) is impractical for large clusters and does not leverage Kubernetes' orchestration capabilities.