SPLK-1002 Advanced Searching and Statistics Practice Question
Exhibit
index=network sourcetype=firewall | fields src_ip, dest_ip, action, bytes | iplocation src_ip | stats sum(bytes) as total_bytes by dest_ip, Country | sort - total_bytes | head 10
Refer to the exhibit. Which statement about this search is true?
⚠ Common exam trap
Watch out — candidates often confuse which IP address (source vs. destination) is being geolocated, or assume `iplocation` filters out invalid IPs, when in fact it only enriches events without removing any.
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
✓
It adds geographical info based on src_ip and then aggregates bytes by dest_ip and country.
The search uses `iplocation` to add geographical fields (like Country, City) based on the `src_ip` field, then renames `src_ip` to `src` and uses `stats` to aggregate bytes by `dest_ip` and the newly added `Country` field. This matches option D exactly.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
It fails because iplocation requires a lookup table to be defined.
Why it's wrong here
Iplocation uses built-in GeoIP data
- ✗
It uses iplocation to add geographical information about the destination IP.
Why it's wrong here
Iplocation is applied to src_ip, not dest_ip
- ✗
It only includes events where src_ip is a valid IP address.
Why it's wrong here
Iplocation works with any string, but non-IPs yield null
- ✓
It adds geographical info based on src_ip and then aggregates bytes by dest_ip and country.
Why this is correct
Correct interpretation of the search
Go deeper
Related to this question
About these practice questions
This SPLK-1002 question is part of Courseiva's 475-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
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.