
Google Associate Cloud Engineer
Get started today
Ultimate access to all questions.
Your team utilizes Splunk for centralized logging, with numerous reports and dashboards based on Splunk logs. You aim to install Splunk forwarder on all nodes of your new Kubernetes Engine Autoscaled Cluster to forward logs to a centralized Splunk Server, minimizing operational overhead. What is the optimal method to install Splunk Forwarder on all cluster nodes?
Your team utilizes Splunk for centralized logging, with numerous reports and dashboards based on Splunk logs. You aim to install Splunk forwarder on all nodes of your new Kubernetes Engine Autoscaled Cluster to forward logs to a centralized Splunk Server, minimizing operational overhead. What is the optimal method to install Splunk Forwarder on all cluster nodes?
Real Exam
Explanation:
Correct Answer: D
- Option A (SSH to each node and run a script) is not scalable. It requires manual intervention every time the cluster autoscales, adding operational overhead and potential for errors.
- Option B (StatefulSet deployment) is unsuitable. StatefulSets are designed for pods requiring persistent storage across multiple zones, not for deploying agents like Splunk forwarder.
- Option C (Deployment Manager) cannot be used to create Kubernetes deployments or apply configuration files, making it ineffective for this scenario.
- Option D (DaemonSet deployment) is correct. DaemonSets ensure a pod runs on every node in the cluster, automatically scaling with the cluster. This method automates the installation and configuration of the Splunk forwarder agent on each node, minimizing operational overhead.
References: