SPLK-1001 Using Fields and Lookups Practice Question
Which command is used to import an external CSV file into a Splunk lookup table for the first time?
⚠ Common exam trap
Splunk often tests the distinction between `| inputlookup` (reading from a lookup) and `| outputlookup` (writing to a lookup), and candidates frequently confuse them because both involve lookup tables but serve opposite purposes.
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
✓
`| outputlookup`
The `| outputlookup` command is used to create or overwrite a lookup table file in Splunk from search results. When importing an external CSV file into a Splunk lookup table for the first time, you would first ingest the CSV data (e.g., via `| inputcsv` or by uploading the file), then use `| outputlookup` to write that data into a lookup definition that Splunk can reference.
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`
Why it's wrong here
Enriches events.
- ✗
`| inputlookup`
Why it's wrong here
Reads from a lookup.
- ✗
`| fields`
Why it's wrong here
Does not create lookups.
- ✓
`| outputlookup`
Why this is correct
Creates or appends to a lookup.
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.