SPLK-1002 transaction.conf Practice Question
Exhibit
[mytransaction] fields = clientip, userid maxspan = 1h maxpause = 10m
Refer to the exhibit. What is the purpose of this configuration?
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 defines a transaction type that can be used in search with `transaction mytransaction` to group events by clientip and userid with given time parameters.
This stanza defines a named transaction type in transaction.conf. It can be invoked in a search as `transaction mytransaction` to group events by clientip and userid with the specified time parameters (maxpause, maxevents).
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 creates a search-time field extraction for clientip and userid.
Why it's wrong here
This option describes a field extraction, not a transaction definition. The configuration shown is for a transaction type, not for field extraction.
- ✓
It defines a transaction type that can be used in search with `transaction mytransaction` to group events by clientip and userid with given time parameters.
Why this is correct
Correct. The stanza in transaction.conf defines a named transaction type (mytransaction) which can be invoked in a search using `transaction mytransaction`. It groups events by clientip and userid and uses the maxpause, maxevents, and other settings to determine transaction boundaries.
- ✗
It configures the transaction command to run automatically on all data.
Why it's wrong here
Incorrect. Transaction definitions are not automatically applied to all data; they must be explicitly called in a search. This configuration does not make the transaction run automatically.
- ✗
It defines a transaction type that can be used in search with `transaction mytransaction` to group events by clientip and userid, ignoring the specified time parameters.
Why it's wrong here
Incorrect. While it correctly identifies the purpose of defining a transaction type, it incorrectly states that the time parameters are ignored. The configuration includes maxpause and maxevents, which are essential for grouping events into transactions.
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.