SPLK-1002 Advanced Searching and Statistics Practice Question
Which TWO of the following statements about the 'transaction' command are true? (Choose two.)
⚠ Common exam trap
Splunk often tests the misconception that the 'transaction' command requires a 'by' clause or that it only works with 'startswith'/'endswith', when in fact it can group events purely by time proximity using 'maxspan' and 'maxpause'.
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 can add a 'duration' field to the result events.
The 'transaction' command automatically adds a 'duration' field to the result events, which represents the time difference between the first and last event in the transaction. This is a built-in behavior of the command, not an optional setting.
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 can add a 'duration' field to the result events.
Why this is correct
Correct: transaction automatically adds a duration field if enabled.
- ✗
It requires events to be sorted by _time in descending order.
Why it's wrong here
Transaction does not require sorting; it uses time proximity but accepts any order.
- ✗
It can only be used with 'startswith' and 'endswith' options.
Why it's wrong here
Transaction can use 'by' clause or other options; startswith/endswith are not required.
- ✗
It requires at least one field in the 'by' clause.
Why it's wrong here
Transaction can be used without by clause; it will group all events.
- ✓
It groups events that are logically related based on common field values and time proximity.
Why this is correct
Correct: transaction groups events sharing common field values within a time window.
Go deeper
Related to this question
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 →
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.