exam questions

Exam SPLK-1005 All Questions

View all questions & answers for the SPLK-1005 exam

Exam SPLK-1005 topic 1 question 15 discussion

Actual exam question from Splunk's SPLK-1005
Question #: 15
Topic #: 1
[All SPLK-1005 Questions]

What Splunk command will allow an administrator to view the runtime configuration instructions for a monitored file in inputs.conf on the forwarders?

  • A. ./splunk _internal call /services/data/inputs/filemonitor
  • B. ./splunk show config inputs.conf
  • C. ./splunk _internal rest /services/data/inputs/monitor
  • D. ./splunk show config inputs
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Nastenka
6 days, 3 hours ago
Selected Answer: D
D. ./splunk show config inputs is the right answer When running ths on the Command Line Interface, if you add the ".conf" extension file, it will show that the file doesn't exist. This occurs because most splunk commands (such as splunk btool) do not include the .conf file extension name when executing them. Based on loopfastener response, it is confirmed on the outputs that this is true. Besides, when running a commmand such as ./splunk _internal in bin, it will definitely show an error because as far as I recall, no splunk command includes "_word" with the underscore sign.
upvoted 1 times
...
loopfastener
3 months, 1 week ago
Selected Answer: D
D is the correct answer. I entered D in the cli: [root@splunk-69bd4f78f7-qkv6s splunk]# ./bin/splunk show config inputs [batch://$SPLUNK_HOME/var/run/splunk/search_telemetry/*search_telemetry.json] _rcvbuf=1572864 crcSalt=<SOURCE> host=$decideOnStartup index=_introspection log_on_completion=0 move_policy=sinkhole sourcetype=search_telemetry [...] --- The output for the commands from A, B or C to the cli fail [root@splunk-69bd4f78f7-qkv6s splunk]# ./bin/splunk _internal call /services/data/inputs/filemonitor FAILED: 'HTTP/1.1 404 Not Found' --- [root@splunk-69bd4f78f7-qkv6s splunk]# ./bin/splunk _internal rest /services/data/inputs/monitor The subcommand rest is not valid for command '_internal'. --- [root@splunk-69bd4f78f7-qkv6s splunk]# ./bin/splunk show config inputs.conf WARNING: Server Certificate Hostname Validation is disabled. Please see server.conf/[sslConfig]/cliVerifyServerName for details. inputs.conf does not exist
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago