SPLK-1002 Advanced Visualization and Lookups Practice Question
A company has a Splunk environment with multiple indexers and a search head. They have a large CSV lookup file for user permissions that is used in many dashboards. Recently, users have reported that dashboards are timing out or slow. The lookup file is about 500 MB and is stored in $SPLUNK_HOME/etc/apps/app_name/lookups/. The lookup is defined as an automatic lookup in props.conf for the source type 'user_activity'. The dashboards use the lookup to enrich events and then perform aggregations. The administrator checks the search logs and sees that searches using the lookup are taking a long time, and some are failing with 'Search head timeout'. The lookup file is updated daily by a script that replaces the file. Which course of action would best improve performance without sacrificing data enrichment?
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
✓
Convert the CSV lookup to a KV Store lookup with the same data
Converting the CSV lookup to a KV Store lookup provides better performance for large lookups. KV Store lookups are indexed and more efficient for large datasets, and they support automatic lookups. Simply using the lookup command in dashboards would not address the size issue, splitting into multiple files adds complexity, and increasing timeout only masks the problem.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Split the lookup into multiple smaller files and use multiple lookups
Why it's wrong here
This adds complexity and may not improve performance; multiple lookups could increase overhead.
- ✗
Remove the automatic lookup and use the lookup command only in the dashboards
Why it's wrong here
This would reduce automatic enrichment but still leave the large CSV as a bottleneck; it may not improve performance enough.
- ✓
Convert the CSV lookup to a KV Store lookup with the same data
Why this is correct
KV Store lookups are faster for large datasets and can be used with automatic lookups, improving performance.
- ✗
Increase the search head timeout setting
Why it's wrong here
This only delays the timeout, not address the underlying performance issue.
Go deeper
Related to this question
About these practice questions
One of 475 original SPLK-1002 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 →
Same concept, more angles
2 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. A large e-commerce company uses Splunk to monitor transactions. They have a CSV lookup file named 'customer_lookup.csv' containing 5 million rows of customer data (customer_id, name, address, tier). The lookup is used in a search that runs every hour to generate a report of sales by customer tier: index=transactions sourcetype=transaction_logs | lookup customer_lookup customer_id OUTPUT name, address, tier | timechart count by tier The search often times out or takes too long to complete, impacting operational dashboards. The team is considering optimization strategies. The lookup file is updated daily and stored in a custom app directory. The Splunk environment is distributed with a single search head and multiple indexers. Which of the following recommendations would most effectively improve the search performance?
hard- A.Use a subsearch to first find matching customer IDs and then join with the lookup.
- ✓ B.Convert the CSV lookup to a KV Store lookup by defining a collection and populating it from the CSV.
- C.Use the `timechart` command with `partial=true` to allow the search to return intermediate results.
- D.Remove the OUTPUT fields name and address from the lookup, keeping only the tier field.
Why B: The most effective optimization is to convert the CSV lookup to a KV Store lookup (Option B). KV Store lookups are designed for high-performance key-value operations and scale better than CSV lookups for millions of rows, significantly reducing search time. Option A (subsearch) would actually degrade performance. Option C (partial=true) only affects timechart display, not lookup speed. Option D (removing output fields) improves only slightly and may lose useful data.
Variation 2. A company's security team uses Splunk to monitor firewall logs. They have a lookup file named 'threat_intel.csv' containing 10,000 IP addresses classified by threat level. The lookup is used in a dashboard that shows the number of blocked connections from high-threat IPs over the past 24 hours. Recently, the dashboard has become slow, taking over 30 seconds to load. The lookup file is updated every 15 minutes via a script that replaces the entire file. The search currently uses: `index=firewall | lookup threat_intel.csv src_ip OUTPUT threat_level | where threat_level="high" | stats count`. Which of the following is the MOST efficient way to improve dashboard performance?
easy- A.Restrict the search to a smaller time range, such as the last hour.
- B.Use the lookup with local=t to force it to run on the search head only.
- ✓ C.Convert the lookup to a KV store collection with an index on src_ip.
- D.Increase the lookup cache size in limits.conf.
Why C: Converting the lookup to a KV Store collection with an index on `src_ip` allows Splunk to perform efficient key-value lookups without loading the entire 10,000-row CSV into memory on every search. The KV Store uses an indexed data structure, which dramatically reduces lookup time compared to a file-based lookup that must be fully scanned each time, especially when the file is replaced every 15 minutes and the search runs over a 24-hour window.
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.