SPLK-1002 Advanced Visualization and Lookups Practice Question
Which TWO of the following are valid methods to create a lookup table in Splunk?
⚠ Common exam trap
Many exam-takers confuse commands that *use* lookups (like `inputlookup`) with commands that *create* lookups, or assume that aggregation commands like `stats` inherently produce a lookup file.
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 a CSV file through the Splunk Web interface
Splunk Web provides a direct interface to upload a CSV file and define it as a lookup table, automatically creating the lookup definition and file. Option D is correct because the `outputlookup` command in a search writes search results to a CSV file in the lookups directory, effectively creating a lookup table from dynamic data.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Use the eval command to create a lookup definition
Why it's wrong here
eval does not create lookups.
- ✗
Use the stats command to aggregate data into a lookup
Why it's wrong here
stats does not directly create lookups.
- ✓
Upload a CSV file through the Splunk Web interface
Why this is correct
This creates a file-based lookup table.
- ✓
Use the outputlookup command in a search
Why this is correct
outputlookup writes results to a lookup file.
- ✗
Use the inputlookup command in a search
Why it's wrong here
inputlookup reads, not creates.
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 →
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.