exam questions

Exam SPLK-1003 All Questions

View all questions & answers for the SPLK-1003 exam

Exam SPLK-1003 topic 1 question 158 discussion

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

A user is assigned two roles with the following search filters. What is the user’s applied search filter?

  • A. srchFilter = ((sourcetype=csv) AND (sourcetype!=json AND index=main))
  • B. srchFilter = ((sourcetype=csv) OR (sourcetype!=json AND index=main))
  • C. srchFilter = sourcetype!=json AND index=main
  • D. srchFilter = sourcetype=csv
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
c1c8784
3 weeks, 2 days ago
Selected Answer: A
I think A (AND): If you use OR, it would mean the user would receive access to all .csv files, even those outside of index=main. The index=main is designed to restrict the user to only the main index, using OR would make this irrelevant.
upvoted 1 times
...
qawasmih
7 months ago
Selected Answer: B
When multiple search filters are assigned from different roles, Splunk combines them with an OR condition. This means the user will have access to data that matches either of the search filters.
upvoted 3 times
b997bd0
4 months, 1 week ago
Yes, i was thinking also, almost im using OR to search from multiple index
upvoted 1 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