Exam SPLK-1001 All QuestionsBrowse all questions from this exam
Question 7

Which of the following searches would return events with failure in index netfw or warn or critical in index netops?

    Correct Answer: B

    The correct search query needs to retrieve events with 'failure' in the netfw index or events with 'warn' or 'critical' in the netops index. This is accomplished by using the OR operator to combine the conditions for 'failure' and '(warn OR critical)'. The parentheses are necessary to correctly group 'warn' and 'critical' as conditions that relate specifically to the netops index. Without proper grouping, the query would not correctly apply 'warn' and 'critical' just to netops. Therefore, the correct option is '(index=netfw failure) OR (index=netops (warn OR critical))'.

Discussion
JokerRWildOption: B

This search uses the OR Boolean operator to search for events in either index=netfw with "failure" in it or in index=netops with "warn" or "critical" in it. The parentheses ensure that the warn and critical criteria are grouped together and only apply to the index=netops part of the search. The other options do not correctly group the criteria or use the AND operator incorrectly, which would not return the desired results.

Alex_Cyber_SecOption: B

B is correct (failure OR (warn OR critical))

atonuiOption: B

B. The brackets around (war OR critical) only would confuse the search.

HUGOTEOption: B

B is the correct

mikelordOption: B

B is correct

SlyLampOption: B

B-ware the wrong answers

amarachi_amazoneOption: B

B. That is the correct answer