Question 385 of 510
Using Fields and LookupshardMultiple SelectObjective-mapped

Quick Answer

The correct answer is that a lookup definition must specify the fields from the event data used to match against the lookup table, and the CSV file can be uploaded through the Lookups menu in Settings. This is correct because configuring a static CSV lookup in Splunk requires two distinct steps: first, uploading the CSV file via Settings > Lookups > Lookup table files, and second, creating a lookup definition that maps the event fields (input fields) to the CSV columns (output fields). Without this match configuration, Splunk cannot correlate the raw event data with the static table contents. On the SPLK-1002 exam, this tests your understanding of the lookup workflow—a common trap is thinking that uploading the file alone enables the enrichment, when in fact the definition is what ties the data together. A helpful memory tip is “Upload the file, then define the match”—the lookup definition is the bridge between your events and the CSV.

SPLK-1002 Using Fields and Lookups Practice Question

This SPLK-1002 practice question tests your understanding of using fields and lookups. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

A Splunk administrator is configuring a lookup to enrich firewall logs with a static CSV file containing allowed IP ranges. Which TWO statements about lookup configuration are correct?

Question 1hardmulti select
Full question →

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 must include the fields to match on from the event data.

Option B is correct because a lookup definition must specify the fields from the event data that will be used to match against the lookup table. This is configured in the 'Lookup definition' settings where you define the input fields (event fields) and output fields (lookup fields). Without this match configuration, Splunk cannot correlate the event data with the CSV file contents.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • A KV Store lookup is required for static tables.

    Why it's wrong here

    KV Store is for dynamic collections, not static files.

  • The lookup definition must include the fields to match on from the event data.

    Why this is correct

    Matching fields are required to relate the lookup table to events.

    Related concept

    Read the scenario before looking for a memorised answer.

  • The CSV file can be uploaded through the Lookups menu in Settings.

    Why this is correct

    Static CSV files can be uploaded via the Lookups menu.

    Related concept

    Read the scenario before looking for a memorised answer.

  • The lookup is defined in macros.conf.

    Why it's wrong here

    Lookup definitions are in transforms.conf.

  • The CSV file must be placed in an absolute path on the search head.

    Why it's wrong here

    Splunk uses relative paths within the app directory.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates often confuse the purpose of KV Store lookups (dynamic, editable) with static CSV lookups, or mistakenly think lookups are defined in macros.conf instead of transforms.conf.

Detailed technical explanation

How to think about this question

When you upload a CSV file via Settings > Lookups > Lookup table files, Splunk stores it in the lookups/ subdirectory of the relevant app. The lookup definition in transforms.conf then references this file and specifies the match fields (e.g., 'src_ip' from events matching 'ip_range' in the CSV). During search, Splunk performs a left outer join between the event data and the lookup table, enriching results with fields from the CSV. A common subtlety is that the CSV file must have a header row, and field names are case-insensitive but must match exactly in the definition.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A small business has 20 workstations on the 192.168.1.0/24 network and one public IP from its ISP. The router uses PAT (NAT overload) so all 20 devices share one public address using different source ports. NAT questions test whether you understand the four address terms and which direction each translation applies.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related SPLK-1002 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free SPLK-1002 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this SPLK-1002 question test?

Using Fields and Lookups — This question tests Using Fields and Lookups — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: The lookup definition must include the fields to match on from the event data. — Option B is correct because a lookup definition must specify the fields from the event data that will be used to match against the lookup table. This is configured in the 'Lookup definition' settings where you define the input fields (event fields) and output fields (lookup fields). Without this match configuration, Splunk cannot correlate the event data with the CSV file contents.

What should I do if I get this SPLK-1002 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

1 more ways this is tested on SPLK-1002

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. An administrator wants to add a lookup table that maps user IDs to department names. The lookup file is a CSV with columns `user_id` and `department`. To use this lookup in searches, what must be configured?

medium
  • A.Define the lookup as a time-based lookup.
  • B.Define the lookup table file in the transforms.conf with a search string.
  • C.Upload the CSV to Splunk and it automatically becomes available.
  • D.Define a lookup definition in props.conf and transforms.conf.

Why D: Option D is correct because to use a static CSV lookup in Splunk, you must first upload the file to the lookups directory, then define a lookup stanza in transforms.conf specifying the filename, and finally create a lookup definition in props.conf (or via the UI) to make it available for search commands like `lookup` or `inputlookup`. This two-step configuration ensures Splunk can locate the file and map the fields correctly.

Last reviewed: Jun 11, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

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.