nerdexam
Splunk

SPLK-3003 · Question #43

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

The correct answer is C. $SPLUNK_HOME/bin/splunk btool server list clustering | grep pass4SymmKey. btool is Splunk's native configuration inspection tool that reads and merges all configuration layers (default, local, apps) to show the effective value - making it the right tool for retrieving the pass4SymmKey from the [clustering] stanza of server.conf. The syntax btool…

Troubleshooting and Health Checks

Question

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

Options

  • Afind / -name server.conf ""print | grep pass4SymKey
  • B$SPLUNK_HOME/bin/splunk search | rest splunk_server=local /servicesNS/-
  • C$SPLUNK_HOME/bin/splunk btool server list clustering | grep pass4SymmKey
  • D$SPLUNK_HOME/bin/splunk btool clustering list clustering --debug | grep pass4SymmKey

How the community answered

(21 responses)
  • A
    5% (1)
  • B
    5% (1)
  • C
    90% (19)

Explanation

btool is Splunk's native configuration inspection tool that reads and merges all configuration layers (default, local, apps) to show the effective value - making it the right tool for retrieving the pass4SymmKey from the [clustering] stanza of server.conf. The syntax btool server list clustering correctly references the conf file name (server) and the stanza (clustering), then pipes to grep to isolate the key.

Why the distractors fail:

  • A is a raw OS find command - slow, filesystem-wide, has a syntax error (""print vs -print), and even misspells the key (pass4SymKey missing the second m).
  • B uses the REST API via the search interface, but the command syntax is broken and incomplete - it won't return clustering stanza values cleanly.
  • D looks close but has the conf file name wrong: it says btool clustering (looking for a nonexistent clustering.conf) instead of btool server. The --debug flag adds file-path metadata but doesn't fix the core error.

Memory tip: Think of btool as "config truth" - its syntax is always btool [conf-file] list [stanza]. Since clustering lives in server.conf, you need btool server list clustering, not btool clustering.

Topics

#btool#pass4SymmKey#index cluster#clustering configuration

Community Discussion

No community discussion yet for this question.

Full SPLK-3003 Practice