exam questions

Exam SPLK-1003 All Questions

View all questions & answers for the SPLK-1003 exam

Exam SPLK-1003 topic 1 question 36 discussion

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

Which of the following is a valid distributed search group?

  • A. [distributedSearch:Paris] default = false servers = server1, server2
  • B. [searchGroup:Paris] default = false servers = server1:8089, server2:8089
  • C. [searchGroup:Paris] default = false servers = server1:9997, server2:9997
  • D. [distributedSearch:Paris] default = false servers = server1:8089; server2:8089
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
giubal
Highly Voted 3 years, 3 months ago
I'm sorry ... D is wrong separator is ';' (not permitted) instead ','
upvoted 10 times
AngusBlack
2 years, 1 month ago
It's true. They are all wrong.
upvoted 2 times
toney_mu
6 months, 1 week ago
I think its a typo, option D would be the closet
upvoted 3 times
...
...
...
Asami
Highly Voted 3 years, 1 month ago
D. [distributedSearch:Paris] default = false servers = server1:8089; server2:8089
upvoted 5 times
ames
2 years, 11 months ago
But the separator is incorrect
upvoted 5 times
...
...
necococo
Most Recent 1 week, 1 day ago
Selected Answer: D
[distributedSearch:NYC] # This stanza lists the set of search peers in New York. default = false servers = 192.168.1.1:8089, 192.168.1.2:8089
upvoted 1 times
...
3bd8ac0
1 week, 6 days ago
Selected Answer: B
The correct answer is: B. [searchGroup:Paris] default = false servers = server1:8089, server2:8089 Explanation: In Splunk, to configure distributed search groups, you must use the correct stanza format and port configuration in the distsearch.conf file. The valid configuration follows these rules: Stanza: [searchGroup:<group_name>] default: Specifies whether the group is the default search group. servers: Lists search peers with their management ports (default port is 8089) separated by commas. Therefore, B correctly follows this format with the stanza [searchGroup:Paris], default set to false, and servers listed with the proper port (8089).
upvoted 1 times
...
tmmt
6 months, 1 week ago
Is D but the separator in incorrect
upvoted 1 times
...
toney_mu
6 months, 1 week ago
as per latest splunk document https://docs.splunk.com/Documentation/Splunk/9.0.0/DistSearch/Distributedsearchgroups option is D
upvoted 1 times
...
huu_nguyen
1 year, 6 months ago
Selected Answer: D
D is the answer but there's a typo in the answer. It should be ',' not ';'
upvoted 3 times
...
huu_nguyen
1 year, 6 months ago
Selected Answer: D
D is the answer https://docs.splunk.com/Documentation/Splunk/8.2.4/Admin/Distsearchconf
upvoted 2 times
...
Apis
1 year, 7 months ago
Selected Answer: D
D is the correct answer, however with a typo I checked and you have to provide port number, otherwise you get the following error: Failed to parse uri for peer:Paris. This search peer will be ignored.
upvoted 1 times
...
M9201715
1 year, 9 months ago
B and C are definitely wrong. A is not correct since no port number is given, and that is required. See https://docs.splunk.com/Documentation/Splunk/8.0.6/Admin/Distsearchconf Distributed Search Group Definitions: servers = <comma-separated list> * A list of search peers that are members of this group. * The list must use peer identifiers (i.e. hostname:port) Answer D must be a typo, and supposed to show a comma and not a semi colon. In that case it is correct.
upvoted 2 times
...
L4Best
2 years, 2 months ago
It is A, read the documentation : "The servers attribute lists groups of search peers by IP address and management port" , so a server always contains already a port, it is not listed as a seperate attribute.
upvoted 1 times
...
ArDeKu
2 years, 4 months ago
The answer is B.. Refer link - https://docs.splunk.com/Documentation/Splunk/8.0.3/DistSearch/Distributedsearchgroups
upvoted 1 times
...
Shaq007
2 years, 7 months ago
I just tested this and a port is required. So, with given choices I would go with D
upvoted 3 times
...
newrose
2 years, 8 months ago
distsearch.conf specification says: servers = <comma-separated list> * An initial list of servers. * Each member of this list must be a valid URI in the format of scheme://hostname:port I haven't tested, but in my understanding the port value is needed, and in that case it couldn't be alternative A. The separator ";" in alternative D makes it wrong too (maybe a test typo?), although it certainly would be the correct one if the separator was a comma.
upvoted 2 times
...
dpharker
2 years, 11 months ago
A is the correct one correct stanza name -> [distributedSearch:xxxx] correct separator -> , servers listed don't need to have the port defined, and Splunk will use the default attribute listed in distsearch.conf.spec https://docs.splunk.com/Documentation/Splunk/8.0.6/Admin/Distsearchconf#distsearch.conf.example
upvoted 4 times
...
Josi12
3 years, 3 months ago
The correct answer is D. The stanza is <DS1_IP:8089>, <DS2_IP:8089>,....
upvoted 3 times
...
giubal
3 years, 3 months ago
I think it is "D" <<The servers attribute lists groups of search peers by IP address and management port>>
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