SPLK-3003 practice question 15 of 15
How could a role in which all users must specify an index=clause in all searches be configured?
Full set: 85 questionsThe srchIndexesDefault parameter in a role's stanza within authorize.conf specifies the default index or indexes to be searched if the user's search query does not contain an index= clause. By setting this parameter to no value (i.e., srchIndexesDefault =), you remove any default search path. Consequently, a search without an explicit index= clause will run against zero indexes, returning no results. This effectively compels users in that role to specify the target index in every search to retrieve data.
B. srchFilter is used to prepend a search string to all searches from a role; setting it to no value is the default and does not enforce any index specification.
C. srchIndexesAllowed defines which indexes a role is permitted to search. Setting it to no value would block the role from searching any index, which is not the goal.
D. srchJobsQuota controls the maximum number of concurrent search jobs for a role and has no impact on the content or requirements of the search string itself.
1. Splunk Enterprise Documentation, authorize.conf:
File: authorize.conf.spec
Section: [role]
Parameter: srchIndexesDefault
Content: "Specifies the indexes to search when no index is specified. These indexes are searched by default when a user of this role runs a search. If you want to require that users of this role specify an index in their searches, set srchIndexesAllowed and leave srchIndexesDefault blank." This directly supports answer A.
2. Splunk Enterprise Documentation, Securing Splunk Enterprise Manual:
Chapter: "Users and roles"
Section: "Add and edit roles"
Topic: "Restrict searches by role"
Content: The documentation explains that to force users to specify an index, an administrator should leave the "Default search indexes" field blank while populating the "Allowed search indexes" field when configuring a role. This corresponds directly to setting srchIndexesDefault to no value in authorize.conf.
Keep practicing
Take the free SPLK-3003 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other SPLK-3003 practice questions
- Question 1A customer has downloaded the Splunk App for AWS from Splunkbase and installed it in a se…
- Question 2Which command is most efficient in finding the pass4SymmKey of an index cluster?
- Question 3A customer wants to understand how Splunk bucket types (hot, warm, cold) impact search pe…
- Question 4Which of the following statements applies to indexer discovery?
- Question 5A site from a multi-site indexer cluster needs to be decommissioned. Which of the followi…
- Question 6A customer has asked for a five-node search head cluster (SHC), but does not have the sto…
