
Answer-first summary for fast verification
Answer: Deploy the monitoring pod as a DaemonSet.
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.
Author: LeetQuiz Editorial Team
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?
A
Deploy the monitoring pod as a StatefulSet.
B
Use Deployment Manager to deploy the monitoring solution.
C
Deploy the monitoring pod as a DaemonSet.
D
Connect to each node via SSH and manually install the monitoring solution.
No comments yet.