SPLK-1002 Advanced Searching and Statistics Practice Question
A user needs to find events where a user had a failed login followed by a successful login within 10 minutes, and then list the total number of such occurrences per user. Which THREE steps are necessary? (Select three.)
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
✓
Use the stats command to count by user
To find events where a failed login is followed by a successful login within 10 minutes, and count such occurrences per user, the necessary steps are: use the transaction command with maxspan=10m to group events in a 10-minute window (D), use startswith and endswith to define the transaction boundaries (e.g., startswith='failed login' and endswith='successful login') (E), and then use stats count by user to tally the number of completed transactions per user (B). Options A and C are incorrect because inline eval is not needed to mark failure status, and using where after transaction would filter transactions but the counting is done by stats; also, using where alone without transaction would not capture the paired events.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Use the eval command to set a field for failure status
Why it's wrong here
Fields already exist; no need for eval.
- ✓
Use the stats command to count by user
Why this is correct
Aggregates transaction counts per user.
- ✗
Use the where command to filter transactions with both failure and success
Why it's wrong here
Unnecessary; transaction already ensures the pattern.
- ✓
Use the transaction command with maxspan=10m
Why this is correct
Sets the time window for grouping events.
- ✓
Use the transaction command with startswith and endswith
Why this is correct
Defines transaction start (failed) and end (successful).
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 →
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.