Courseiva
Advanced Visualization and LookupseasyMultiple ChoiceObjective-mapped

SPLK-1002 Lookup Cache Practice Question

You are a Splunk administrator at a large e-commerce company with over 5,000 employees and millions of customers. The development team has created a dashboard that displays sales data by region, using a lookup table to map customer IDs to region names. The lookup file, 'customer_region.csv', is stored on the search head. Recently, the lookup table was updated with new customer IDs, but the dashboard continues to show old region names for new customers. You have verified that the lookup file contains the new mappings and that the file is correctly formatted. The dashboard uses the 'lookup' command in its base search. You have also confirmed that the lookup definition in transforms.conf points to the correct file. The lookup file is approximately 100 MB and is updated weekly. The dashboard is accessed by multiple users across the organization. The issue only affects new customers added in the latest update. Old customers still show correct regions. You have checked the file size and timestamp, and the new file is present. The Splunk version is 8.2. The search head is not clustered. No errors are appearing in the splunkd.log related to lookups. The dashboard uses a simple XML with a timechart and a lookup. The search string is: index=sales sourcetype=transactions | lookup customer_region.csv customer_id OUTPUT region | timechart count by region. You have also tried restarting the search head, but the issue persists. What is the most likely cause?

⚠ Common exam trap

The trap is that administrators often assume that updating the lookup file on disk is sufficient, but Splunk caches lookups for performance. Restarting Splunk may not clear the cache; you must use the '| inputlookup' command with the 'reload=t' option or clear the cache via the UI or REST API.

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 search head is using a cached version of the lookup, and you need to clear the lookups cache.

Splunk caches lookup files on the search head to improve performance. When the lookup file is updated externally, the cache may still serve the old version until it is explicitly cleared or the search head is restarted. In this scenario, the file is correctly formatted and the definition points to the correct file, but the cache still holds the previous version. Clearing the lookup cache forces Splunk to reload the file from disk, resolving the issue. Option A is incorrect because 'batch_index_query' is not related to lookup caching. Option B is incorrect because the dashboard uses the correct lookup name. Option C is incorrect because restarting the search head may not clear the cache; the cache must be cleared explicitly.

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 has 'batch_index_query=True' and is not refreshing.

    Why it's wrong here

    batch_index_query is for index-based lookups.

  • The dashboard is using the wrong lookup name.

    Why it's wrong here

    Lookup name is verified correct.

  • The lookup file is cached and needs to be reloaded by restarting Splunk.

    Why it's wrong here

    Restart is not required; clearing cache suffices.

  • The search head is using a cached version of the lookup, and you need to clear the lookups cache.

    Why this is correct

    Clearing cache reloads the file.

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-1002 question from scratch — 475 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-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.