SPLK-3003 practice question 2 of 15

Which command is most efficient in finding the pass4SymmKey of an index cluster?

Full set: 85 questions
Answer options
A: find / -name server.conf –print | grep pass4SymKey
B: $SPLUNK_HOME/bin/splunk search | rest splunk_server=local /servicesNS/-/ unhash_app/storage/passwords
C: $SPLUNK_HOME/bin/splunk btool server list clustering | grep pass4SymmKey Correct answer
D: $SPLUNK_HOME/bin/splunk btool clustering list clustering --debug | grep pass4SymmKey
Correct Answer:
C. $SPLUNK_HOME/bin/splunk btool server list clustering | grep pass4SymmKey
Explanation

The splunk btool command is the designated Splunk utility for troubleshooting and validating configuration settings. It intelligently merges settings from all relevant .conf files across different directories (default, local, apps), respecting precedence rules, to show the final configuration that the Splunk instance is actively using. The command splunk btool server list clustering specifically targets the [clustering] stanza within the server.conf file context. Piping the output to grep pass4SymmKey isolates the exact key, making this the most efficient and accurate method among the choices.

Why Incorrect

A. This command performs a slow, brute-force search of the entire filesystem and does not account for Splunk's configuration file layering, potentially returning an incorrect or inactive value.
B. This command queries the REST API endpoint for stored passwords (/storage/passwords), which is used for encrypted credentials, not for configuration keys like the pass4SymmKey.
D. This command uses an incorrect syntax for btool. The correct argument is the configuration file prefix (server for server.conf), not the stanza name (clustering).

References

1. Splunk Enterprise Documentation, Troubleshooting Manual, "Use btool to troubleshoot configurations": This document explicitly describes the purpose and syntax of the btool utility. It states, "The Splunk software command line interface (CLI) tool btool helps you see the on-disk configurations that are being used in your running Splunk software system... The basic syntax is $SPLUNKHOME/bin/splunk btool list". This confirms that btool server list is the correct structure for inspecting server.conf.

2. Splunk Enterprise Documentation, Managing Indexers and Clusters of Indexers, "Configure the indexer cluster with server.conf": This official guide details the necessary stanzas and attributes for cluster configuration. In the section "Enable the peers," it specifies that the pass4SymmKey is a required attribute within the [clustering] stanza of server.conf on all cluster nodes (manager, peers, and search heads). This confirms that the target configuration is in server.conf under the [clustering] stanza.

Scroll to Top