exam questions

Exam SPLK-1003 All Questions

View all questions & answers for the SPLK-1003 exam

Exam SPLK-1003 topic 1 question 24 discussion

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

During search time, which directory of configuration files has the highest precedence?

  • A. $SPLUNK_HOME/etc/system/local
  • B. $SPLUNK_HOME/etc/system/default
  • C. $SPLUNK_HOME/etc/apps/app1/local
  • D. $SPLUNK_HOME/etc/users/admin/local
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
dwallen41
Highly Voted 4 years, 2 months ago
Very tricky!!! Answer is NOT D as etc/users/admin/local is not a valid directory . it is missing the <user app>.... to be correct it would look like this... etc/users/admin/<app name>/local .. so answer is C. Also reference Data Admin class PDF page 20 search time precedence diagram..
upvoted 31 times
SPLTony
1 year, 5 months ago
What if "admin" in this case was the name of the application?
upvoted 1 times
SCARODJ
9 months, 2 weeks ago
Apps don't go in the 'users' folder.
upvoted 1 times
...
...
...
giubal
Highly Voted 4 years, 10 months ago
The question is about "search time" no "index time" (Global context) so the App/User context has the highest precedence, the answer is D https://docs.splunk.com/Documentation/Splunk/7.3.0/Admin/Wheretofindtheconfigurationfiles
upvoted 14 times
ucsdmiami2020
3 years, 4 months ago
Agreed D. Adding further clarity and quoting same Splunk reference URL from @giubal" "To keep configuration settings consistent across peer nodes, configuration files are managed from the cluster master, which pushes the files to the slave-app directories on the peer nodes. Files in the slave-app directories have the highest precedence in a cluster peer's configuration. Here is the expanded precedence order for cluster peers: 1.Slave-app local directories -- highest priority 2. System local directory 3. App local directories 4. Slave-app default directories 5. App default directories 6. System default directory --lowest priority
upvoted 2 times
...
AngusBlack
3 years, 7 months ago
It would be, but the directory name isn't valid
upvoted 4 times
hesbee
3 years, 6 months ago
Can you explain better, please? On the documentation, it only says "$SPLUNK_HOME/etc/users/*". How is that invalid?
upvoted 1 times
Marco63
2 years, 10 months ago
In the answer the /app_name/" segment of the path is missing
upvoted 2 times
...
...
...
...
3bd8ac0
Most Recent 1 week, 6 days ago
Selected Answer: D
D, check page 121 os the System Admin official Splunk course. Search-Time Precedence (App/User Context) Precedence order where 1 is highest priority: 1. Current user directory for app etc/users/user/appname/local 2. App directory - running app etc/apps/appname/local etc/apps/appname/default 3. App directories - all other apps* etc/apps/appname/local etc/apps/appname/default 4. System directories etc/system/local etc/system/defaultPrecedence order
upvoted 1 times
...
3bd8ac0
2 weeks, 4 days ago
Selected Answer: D
tricky question, however, if you follow the documentation this is the precedence for search time: Precedence order 1. Current user directory for app etc/users/user/appname/local 2. App directory - running app etc/apps/appname/local etc/apps/appname/default 3. App directories - all other apps* etc/apps/appname/local etc/apps/appname/default 4. System directories etc/system/local etc/system/default
upvoted 1 times
...
65aab2c
4 months, 1 week ago
Search-Time Precedence (App/User Context) Current user directory for app etc/users/user/appname/local 2. App directory - running app etc/apps/appname/local etc/apps/appname/default 3. App directories - all other apps* etc/apps/appname/local etc/apps/appname/default 4. System directories etc/system/local
upvoted 2 times
...
Frank_Rai
10 months, 2 weeks ago
It’s ‘D’. During search time, the directory of configuration files with the highest precedence is: **D. $SPLUNK_HOME/etc/users/admin/local** The order of precedence for configuration files in Splunk, from highest to lowest, is as follows: 1. **$SPLUNK_HOME/etc/users/<username>/<appname>/local** 2. **$SPLUNK_HOME/etc/users/<username>/<appname>/default** 3. **$SPLUNK_HOME/etc/apps/<appname>/local** 4. **$SPLUNK_HOME/etc/apps/<appname>/default** 5. **$SPLUNK_HOME/etc/system/local** 6. **$SPLUNK_HOME/etc/system/default** This hierarchy ensures that user-specific settings (which are stored in the `$SPLUNK_HOME/etc/users` directory) take precedence over app-specific settings and system-wide settings.
upvoted 1 times
...
lance_grown
1 year, 3 months ago
1. Current user directory for app etc/users/user/appname/local 2. App directory -running app etc/apps/appname/local etc/apps/appname/default 3. App directories -all other apps* etc/apps/appname/local etc/apps/appname/default 4. System directories etc/system/localetc/system/default PDF Page 341 Since the path of D is wrong, I would go with C as the next in line to take precedence and its the highest for this question
upvoted 2 times
...
bobixaka
1 year, 3 months ago
Selected Answer: C
D is very tricky! It would have been the correct answer if it was D. $SPLUNK_HOME/etc/users/admin/app_name/local Since there is no app in the path it doesn't exist.
upvoted 1 times
...
Splunkor
1 year, 4 months ago
Selected Answer: D
The question is about search-time precedence, answer D is correct.
upvoted 1 times
...
Splunkor
1 year, 4 months ago
Answer D is correct.
upvoted 1 times
...
tmmt
2 years ago
Selected Answer: C
If D have a correct dir (/etc/users/app_abcde/local) will be correct, but in this case is C
upvoted 1 times
...
pro12345
2 years, 5 months ago
Selected Answer: C
Answer C
upvoted 1 times
...
emlch
2 years, 5 months ago
Selected Answer: D
INDEX time: sys local, app local, app default, sys default SEARCH time: user app (user directory), running app (local and defautl), other apps (local and default), sys directories (local and default). so D!
upvoted 3 times
tmmt
2 years ago
very clear, thanks!
upvoted 1 times
...
...
king1993
2 years, 10 months ago
Answer: C
upvoted 1 times
...
BlueRoselia
2 years, 12 months ago
global/index context 1.etc/system/local 2.etc/apps/app_name/local 3.etc/apps/app_name/default 4.etc/system/default User/app/search context 1.etc/users/system/local fallow by default 2.etc/apps/currently_running_app/local fallow by default 3.etc/apps/all_other_apps/local fallow by default 4.etc/system/local fallow by default
upvoted 1 times
...
[Removed]
3 years, 1 month ago
A is correct, page 86-89 in System admin PDF
upvoted 2 times
[Removed]
3 years, 1 month ago
No Sorry, it says search time. Then it is D. Page 90, system admin PDF
upvoted 1 times
[Removed]
3 years ago
Ok, don't listen to me. Like people has said. App is missing. Trick question. C all the way here
upvoted 2 times
...
...
...
Apis
3 years, 1 month ago
Selected Answer: C
C is correct D is incorrect - path is missing app name (assuming local is not an app name)
upvoted 2 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