SPLK-1002 Advanced Visualization and Lookups Practice Question
A user creates a lookup definition for a CSV file containing user roles. The lookup is used in a search: `| lookup user_roles username OUTPUT role`. The search returns no additional field. The lookup file has columns: 'username', 'role', 'department'. What is the MOST likely issue?
⚠ Common exam trap
Splunk often tests the distinction between a lookup definition that exists but points to the wrong file versus a missing file or a field extraction issue, so candidates mistakenly choose Option B (missing file) or Option A (field not extracted) instead of recognizing the filename mismatch.
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 definition uses a different filename than the CSV.
The lookup definition must reference the exact filename of the CSV file. If the definition points to a different filename than the actual CSV, the lookup will fail to load the file, and no fields will be returned. The search syntax is otherwise correct, so the issue lies in the mismatch between the definition and the file.
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 username field in the search is not extracted.
Why it's wrong here
The search likely has a username field.
- ✗
The lookup file is not in the lookups directory.
Why it's wrong here
If it were missing, an error would appear.
- ✓
The lookup definition uses a different filename than the CSV.
Why this is correct
If the definition points to a different file, no matches occur.
- ✗
The 'role' field is misspelled in the search.
Why it's wrong here
The search correctly uses 'role'.
Go deeper
Related to this question
About these practice questions
This SPLK-1002 question is part of Courseiva's 475-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam 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.