SPLK-1001 Using Fields and Lookups Practice Question
A search needs to replace a field value 'user' with 'full name' using a CSV lookup that has 'username' and 'fullname' columns. Which lookup command is correct?
⚠ Common exam trap
Splunk often tests the exact syntax of the `lookup` command, specifically the order of fields in the `AS` mapping and the difference between `OUTPUT` and `OUTPUTNEW`, causing candidates to confuse which side of `AS` represents the lookup file column versus the event field.
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
✓
| lookup users.csv username AS user OUTPUT fullname AS full_name
The `lookup` command syntax requires specifying the lookup file, then the field name in the lookup file (`username`) mapped to the field in the event (`user`) using `AS`, and then `OUTPUT` to bring the `fullname` field into the event as a new field named `full_name`. This matches the requirement to replace the field value 'user' with 'full name' by using the CSV lookup's `fullname` column.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
| lookup users.csv username AS user OUTPUTNEW fullname
Why it's wrong here
OUTPUTNEW overwrites existing, but 'full_name' is new field.
- ✗
| lookup users.csv user AS username OUTPUT fullname
Why it's wrong here
Matching direction reversed.
- ✓
| lookup users.csv username AS user OUTPUT fullname AS full_name
Why this is correct
Correctly matches user to username and outputs fullname as full_name.
- ✗
| lookup users.csv user AS fullname OUTPUT username
Why it's wrong here
Outputs the wrong field.
Go deeper
Related to this question
About these practice questions
This SPLK-1001 question is part of Courseiva's 502-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-1001 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-1001 exam.