Courseiva
Using Fields and LookupshardMultiple ChoiceObjective-mapped

SPLK-1001 Using Fields and Lookups Practice Question

A user runs a search and uses `| lookup mylookup myfield OUTPUT myfield2`. The search returns events that have myfield values, but myfield2 is null. The lookup file has matching entries. What is the most likely issue?

⚠ Common exam trap

Splunk often tests the nuance between case-sensitive and case-insensitive lookups, and the trap here is that candidates assume lookups are always case-insensitive by default, forgetting that the lookup definition can be explicitly configured for case-sensitive matching.

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 is case-sensitive and the event values have different case.

The lookup definition in Splunk has a case-sensitivity setting. By default, lookups are case-insensitive, but if the lookup definition is configured to be case-sensitive, then the lookup will only match when the case of the event field value exactly matches the case in the lookup file. Since the events have myfield values but myfield2 is null, the lookup is failing to match due to case differences, even though the lookup file has matching entries.

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 lookup definition is case-sensitive and the event values have different case.

    Why this is correct

    Case mismatch prevents matching.

  • The lookup definition is missing the max_matches setting.

    Why it's wrong here

    Missing max_matches defaults to 1, not null.

  • The lookup file has duplicate keys.

    Why it's wrong here

    Duplicates would not cause null; they might cause multiple matches.

  • The lookup command should use OUTPUTNEW instead of OUTPUT.

    Why it's wrong here

    OUTPUTNEW only applies if field already exists; null is not from overwrite.

About these practice questions

One of 502 original SPLK-1001 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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.