Courseiva
Using Fields and LookupsmediumMultiple ChoiceObjective-mapped

SPLK-1001 Using Fields and Lookups Practice Question

A user creates a CSV lookup file 'users.csv' with columns 'userid' and 'full_name'. A lookup definition is set up. The search `index=auth | lookup users.csv userid AS user OUTPUT full_name` returns no results for 'full_name' even though there are matching userids. What is the most likely cause?

⚠ Common exam trap

Splunk often tests the distinction between the lookup filename and the lookup definition name, trapping candidates who assume the filename can be used directly in the `lookup` command.

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 name 'users.csv' should be the lookup definition name, not the filename.

The `lookup` command in Splunk requires the lookup definition name, not the filename, when referencing a lookup table. Even though the CSV file is named 'users.csv', the lookup definition created in Settings > Lookups defines the logical name used in searches. Using the filename directly causes Splunk to fail to resolve the lookup, resulting in no 'full_name' values being returned.

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 search returns no events for the userid field.

    Why it's wrong here

    The problem states matching userids exist.

  • The lookup command should be placed before the index search.

    Why it's wrong here

    The order of pipes does not affect lookup matching.

  • The lookup name 'users.csv' should be the lookup definition name, not the filename.

    Why this is correct

    The lookup command uses the definition name as configured in Splunk, typically without extension.

  • The 'AS user' should be 'AS userid'.

    Why it's wrong here

    The AS clause specifies the field to match; 'user' is an alias for the source field.

Visual reference

Client Recursive Resolver Root DNS (13 root servers) TLD DNS (.com, .org, …) Authoritative example.com query IP addr answer

About these practice questions

Courseiva writes every SPLK-1001 question from scratch — 502 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 →

How Courseiva writes practice questions · Editorial policy

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.