Try a sample question
This is an original sample question written by itmoshi based on the exam objectives.
Two hundred universal forwarders are clients of a deployment server, and the app app_inputs is already mapped to a server class that targets all 200. However, the app is configured neither to restart clients after an update (restartSplunkd) nor to reload their configuration. You added a new monitor input to $SPLUNK_HOME/etc/deployment-apps/app_inputs/local/inputs.conf on the deployment server. Without logging in to each forwarder, you want the updated app distributed and the new input activated by restarting the forwarders. What should you do on the deployment server?
- ARun splunk apply cluster-bundle
- BCopy app_inputs to $SPLUNK_HOME/etc/apps and restart the deployment server
- CSet restartSplunkd = true for app_inputs in serverclass.conf and run splunk reload deploy-server
- DRun splunk apply shcluster-bundle
Show answer and explanation
Answer:C Reload the deployment server so it picks up the change, and use restartSplunkd so clients restart after receiving the app.
Why it is correct
Editing files under deployment-apps does not by itself make the deployment server treat them as a new version to distribute. After splunk reload deploy-server, clients download the updated app the next time they phone home. Because the plan is to activate the input with a restart, set restartSplunkd = true for the app in serverclass.conf; each client then restarts automatically after receiving the app, and the new monitor input takes effect.
The other options
- ✗ A apply cluster-bundle pushes a configuration bundle from an indexer cluster manager node to its peers; it never reaches universal forwarders. Use it to distribute props.conf and similar settings to clustered indexers.
- ✗ B An app in etc/apps is installed on the deployment server itself and is not sent to clients. A restart may let the deployment-apps update go out, but without restartSplunkd the forwarders never restart, so the new input is not activated. etc/apps is for the deployment server's own configuration.
- ✗ D apply shcluster-bundle pushes apps from the deployer to search head cluster members. Use it to distribute dashboards and knowledge objects to a search head cluster.
Key takeaway
Pick the mechanism by target. Forwarders and other deployment clients → deployment server (deployment-apps + reload deploy-server). Clustered indexers → manager node (apply cluster-bundle). Search head cluster → deployer (apply shcluster-bundle).
Try 20 questions like this for free
itmoshi is an unofficial study service and is not affiliated with Splunk or any exam provider.