SPLK-1003 Exam QuestionsBrowse all questions from this exam

SPLK-1003 Exam - Question 24


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

Show Answer
Correct Answer: CD

During search time, the directory of configuration files with the highest precedence is the user's specific app directory. This follows the hierarchical order where user-specific configurations override app-specific and system-wide settings. The order of precedence from highest to lowest is: $SPLUNK_HOME/etc/users/<username>/<appname>/local, $SPLUNK_HOME/etc/users/<username>/<appname>/default, $SPLUNK_HOME/etc/apps/<appname>/local, $SPLUNK_HOME/etc/apps/<appname>/default, $SPLUNK_HOME/etc/system/local, and finally $SPLUNK_HOME/etc/system/default. Therefore, in general cases, the user's local directory under their specific application will have the highest precedence during search time.

Discussion

17 comments
Sign in to comment
dwallen41Option: C
Nov 30, 2020

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..

SPLTony
Sep 3, 2023

What if "admin" in this case was the name of the application?

SCARODJ
May 13, 2024

Apps don't go in the 'users' folder.

giubalOption: D
Apr 24, 2020

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

AngusBlack
Jun 29, 2021

It would be, but the directory name isn't valid

hesbee
Jul 30, 2021

Can you explain better, please? On the documentation, it only says "$SPLUNK_HOME/etc/users/*". How is that invalid?

Marco63
Apr 22, 2022

In the answer the /app_name/" segment of the path is missing

ucsdmiami2020
Oct 3, 2021

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

Splunk_NewbOption: C
Jul 2, 2021

It's C. If you have the 8.1 Data Admin PDF, look on page 259. "admin" still has to have an "app" directory under it. Also, according to Splunk, "admin" does not count as the "user"

Lalithadevi
Sep 16, 2021

Can you please share me Data Admin PDF <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="8ee2efe2e7fae6efeaebf8e7a0fdebe9fbcee9e3efe7e2a0ede1e3">[email protected]</a>

krishdee
Oct 20, 2021

did you got the pdf?

SasnycoN
Dec 7, 2021

Those PDFs are watermarked with our names and we are forbidden to share them. Sign for the training course if you want to have access to them.

emlchOption: D
Sep 5, 2022

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!

tmmt
Feb 21, 2023

very clear, thanks!

hieverybodyOption: A
Oct 17, 2021

Answer should be A.

ApisOption: C
Dec 30, 2021

C is correct D is incorrect - path is missing app name (assuming local is not an app name)

[Removed]Option: A
Jan 24, 2022

A is correct, page 86-89 in System admin PDF

[Removed]
Jan 24, 2022

No Sorry, it says search time. Then it is D. Page 90, system admin PDF

[Removed]
Jan 26, 2022

Ok, don't listen to me. Like people has said. App is missing. Trick question. C all the way here

lance_grownOption: C
Nov 13, 2023

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

hellonairOption: D
Jun 25, 2021

Answer is D ( considering search ) Reference - https://dev.splunk.com/enterprise/docs/developapps/manageknowledge/fileprecedence/

AngusBlack
Jun 29, 2021

It would be, but the directory name isn't valid

BlueRoseliaOption: A
Feb 27, 2022

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

king1993Option: C
Apr 16, 2022

Answer: C

pro12345Option: C
Sep 26, 2022

Answer C

tmmtOption: C
Feb 19, 2023

If D have a correct dir (/etc/users/app_abcde/local) will be correct, but in this case is C

SplunkorOption: D
Oct 25, 2023

Answer D is correct.

SplunkorOption: D
Oct 25, 2023

The question is about search-time precedence, answer D is correct.

bobixakaOption: C
Nov 2, 2023

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.

Frank_RaiOption: D
Apr 9, 2024

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.