Question 139 of 510
Using Fields and LookupshardMultiple ChoiceObjective-mapped

Quick Answer

The answer is the `ip` field. The automatic GeoIP lookup input field is set to `ip` because the lookup table is structured to match IP addresses against geographic data, using the IP address as the key to return city and country fields. This is a core concept tested on the Splunk Core Certified User SPLK-1002 exam, where you must understand that the automatic GeoIP lookup configuration defines which source field in your events is compared to the lookup table’s key column—by default, that field is `ip`. A common trap is assuming the input field could be `clientip` or `src_ip`, but Splunk’s built-in GeoIP lookup specifically expects the field named `ip` unless you manually override it in the lookup definition. For the exam, remember that geographic enrichment always starts with the IP address, so the input field must be the one containing the IP. Memory tip: think “IP to map” — the input field is always `ip` for automatic GeoIP lookups.

SPLK-1002 Using Fields and Lookups Practice Question

This SPLK-1002 practice question tests your understanding of using fields and lookups. Examine the command output carefully: the correct answer depends on what the output actually shows, not on general recall alone. 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.

Exhibit

Refer to the exhibit.

automatic_lookups.conf:
[apache_access]
lookup_table = geoip

GeoIP lookup file has fields: ip, city, country

The search: index=web sourcetype=apache_access | head 10

Results show city and country fields with correct values from the GeoIP lookup. However, the search also shows the raw field 'clientip'. What does the automatic lookup do with the input field?

Refer to the exhibit. The search results show city and country fields from the GeoIP lookup. What does the automatic lookup use as the input field to match against the lookup table?

Question 1hardmultiple choice
Full question →

Exhibit

Refer to the exhibit.

automatic_lookups.conf:
[apache_access]
lookup_table = geoip

GeoIP lookup file has fields: ip, city, country

The search: index=web sourcetype=apache_access | head 10

Results show city and country fields with correct values from the GeoIP lookup. However, the search also shows the raw field 'clientip'. What does the automatic lookup do with the input 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

ip

The automatic GeoIP lookup in Splunk uses the `ip` field as the default input field to match against the lookup table. This is because the GeoIP lookup is designed to map IP addresses to geographic locations, and the lookup table expects an IP address as the key. When you configure an automatic lookup, you specify the input field (e.g., `ip`) that corresponds to the lookup table's key field, allowing Splunk to enrich events with location data.

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.

  • ip

    Why this is correct

    The automatic lookup uses the field name from the lookup table as the input field by default.

    Related concept

    Read the scenario before looking for a memorised answer.

  • All fields in the event

    Why it's wrong here

    Automatic lookups match on specific input fields.

  • No input field, it directly appends all lookup fields

    Why it's wrong here

    It must match on a field.

  • clientip

    Why it's wrong here

    Not indicated; the lookup table has 'ip' field.

Common exam traps

Common exam trap: answer the scenario, not the keyword

Splunk often tests the misconception that automatic lookups automatically use any IP-related field (like `clientip`) or that they append fields without a match, when in fact the default input field for GeoIP lookups is `ip` and must be explicitly configured if the IP data resides in a different field.

Detailed technical explanation

How to think about this question

Under the hood, Splunk's automatic lookups are defined in `transforms.conf` where the `filename` specifies the lookup table (e.g., `GeoIPCityLite.dat`) and the `input_fields` parameter defines which event field is matched against the lookup table's key. The GeoIP lookup table uses the IP address as the key, and Splunk performs a left outer join-like operation to append the corresponding city and country fields. In real-world scenarios, if the IP address is stored in a different field (e.g., `src_ip`), you must explicitly configure the automatic lookup to use that field as the input, otherwise the lookup will fail silently.

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 practitioner preparing for the SPLK-1002 exam encounters this exact type of scenario on the job. The correct answer here is not the most general option — it is the best answer for the specific constraint described. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Real exam questions reward reading the full scenario before eliminating options, because the constraint defines which answer fits.

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: ip — The automatic GeoIP lookup in Splunk uses the `ip` field as the default input field to match against the lookup table. This is because the GeoIP lookup is designed to map IP addresses to geographic locations, and the lookup table expects an IP address as the key. When you configure an automatic lookup, you specify the input field (e.g., `ip`) that corresponds to the lookup table's key field, allowing Splunk to enrich events with location data.

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

Last reviewed: Jun 30, 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.