
Answer-first summary for fast verification
Answer: Deploy the forwarder agent using a DaemonSet configuration.
**Correct Answer: D** Deploying the forwarder agent using a DaemonSet configuration is the most efficient method. DaemonSets ensure that a copy of a Pod runs on all (or some) nodes in a Kubernetes cluster, automatically adjusting as nodes are added or removed. This approach minimizes operational overhead by automating the deployment process, unlike manual SSH scripts (A) which are error-prone and do not scale. StatefulSets (C) are designed for applications requiring stable, unique network identifiers or persistent storage, making them unsuitable for this scenario. Deployment Manager (B) is used for creating GCP resources but cannot manage Kubernetes deployments or configurations directly. **References:** - [DaemonSets in GKE](https://cloud.google.com/kubernetes-engine/docs/concepts/daemonset) - [StatefulSets in GKE](https://cloud.google.com/kubernetes-engine/docs/concepts/statefulset) - [Deployment Manager Fundamentals](https://cloud.google.com/deployment-manager/docs/fundamentals)
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
Your team utilizes Splunk for centralized logging, with various reports and dashboards based on Splunk logs. You're setting up a new Kubernetes Engine Autoscaled Cluster and wish to install Splunk forwarder on all nodes to forward logs to a centralized Splunk Server, aiming to minimize operational overhead. What is the most efficient method to install Splunk Forwarder on all nodes in the cluster?
A
SSH to each node and manually run a script to install the forwarder agent.
B
Utilize Deployment Manager to orchestrate the deployment of forwarder agents across all nodes.
C
Incorporate the forwarder agent within a StatefulSet deployment.
D
Deploy the forwarder agent using a DaemonSet configuration.