SPLK-1002 Advanced Visualization and Lookups Practice Question
Which THREE steps are necessary to create a file-based lookup?
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
✓
Upload the lookup file to the correct directory.
To create a file-based lookup in Splunk, three steps are necessary: upload the lookup file to the correct lookups directory (A), define a lookup definition in transforms.conf (B), and restart Splunk to apply the changes (E). The lookup definition maps the file to a lookup table name. Props.conf is not used for defining lookups; it is for field extractions and event processing. Restarting Splunk is required because changes to transforms.conf take effect only after a restart. Automatic lookups (D) are optional and defined separately if needed.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Upload the lookup file to the correct directory.
Why this is correct
The file must be placed in the app's lookups directory (e.g., $SPLUNK_HOME/etc/apps/search/lookups).
- ✓
Define a lookup definition in transforms.conf.
Why this is correct
transforms.conf contains the lookup definition stanza with filename and match options.
- ✗
Create a lookup definition in props.conf.
Why it's wrong here
props.conf is for field extractions, not lookups; transforms.conf is used.
- ✗
Define an automatic lookup in props.conf.
Why it's wrong here
Automatic lookup is optional and not required for a basic file-based lookup.
- ✓
Restart Splunk.
Why this is correct
Splunk must be restarted to recognize new or modified lookup files and definitions.
Go deeper
Related to this question
About these practice questions
Courseiva writes every SPLK-1002 question from scratch — 475 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
Same concept, more angles
2 more ways this is tested on SPLK-1002
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. Arrange the steps to configure a lookup table file in Splunk.
medium- ✓ A.Upload the lookup file to Splunk via Settings > Lookups > Lookup table files > New, then define the lookup table file by specifying the filename and options.
- B.Define the lookup table file first via Settings > Lookups > Lookup table files, then upload the file.
- C.Create a lookup definition first via Settings > Lookups > Lookup definitions, then upload the file, then define the lookup table file.
- D.Upload the file to a custom directory, then create a lookup definition without defining the lookup table file.
Why A: Lookups require uploading the file, then defining the lookup table file in Splunk settings.
Variation 2. Which ONE setting is required in a transforms.conf stanza for a file-based lookup to work? (Select one.)
medium- A.max_matches
- B.match_type
- C.case_sensitive_match
- ✓ D.filename
- E.default_match
Why D: In Splunk transforms.conf, only the 'filename' setting is mandatory for a file-based lookup. The 'match_type' setting is optional and defaults to 'EXACT' if not specified. Therefore, only D is correct.
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.