SPLK-1002 Advanced Visualization and Lookups Practice Question
Exhibit
Refer to the exhibit. | inputlookup server_status.csv | where status="down" | stats count by location | sort - count
The exhibit shows a search that reads a lookup file. Which of the following must be true for this search to work correctly?
⚠ Common exam trap
Candidates often assume the lookup file just needs to exist on disk (options B, C, D), but Splunk requires the explicit transforms.conf definition to map the lookup name to the file and fields.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
The lookup must be defined in transforms.conf
For a lookup to work in a Splunk search, it must be defined in transforms.conf. This configuration file specifies the lookup type (e.g., file-based, KV-store, external), the filename, the field mapping, and other parameters. Without this definition, Splunk cannot resolve the lookup command or the lookup table reference in the search string, even if the file exists on disk.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
The lookup must be defined in transforms.conf
Why this is correct
inputlookup requires a lookup definition in transforms.conf.
- ✗
The lookup file must be stored on the indexer
Why it's wrong here
Lookup files are stored on the search head.
- ✗
The file must be in the default lookup directory
Why it's wrong here
There is no single default directory; it's app-specific.
- ✗
The file server_status.csv must be in the $SPLUNK_HOME/etc/apps/search/lookups directory
Why it's wrong here
The file can be in any app's lookups directory.
Visual reference
Go deeper
Related to this question
About these practice questions
One of 475 original SPLK-1002 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This SPLK-1002 practice question is part of Courseiva's free Splunk certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the SPLK-1002 exam.