SPLK-1002 Transactions and Event Correlation Practice Question
A search uses transaction to group login and logout events. What happens if a user has multiple logins before logging out?
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
✓
The transaction will include the first login and all events until the first logout.
The transaction command with startswith/endswith groups events from the first occurrence of the start condition to the first occurrence of the end condition. If a user logs in multiple times before logging out, the transaction will include only the first login event and all subsequent events (including subsequent logins) until the first logout event. Subsequent login events are included in the same transaction but do not start new transactions. Therefore, the correct answer is B. Option A is incorrect because the search does not fail; it simply groups events as described. Option C is incorrect because only one transaction is created for that user, not multiple. Option D is incorrect because the first login is not ignored; it is the start of the transaction.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
The search will fail due to overlapping transactions.
Why it's wrong here
Overlapping transactions are handled with maxpause, but not necessarily fail.
- ✓
The transaction will include the first login and all events until the first logout.
Why this is correct
startswith begins at the first match, ends at first endswith after that.
- ✗
It will create multiple transactions for each login.
Why it's wrong here
After the first login, subsequent logins are not new starts until the transaction ends.
- ✗
It will ignore the first login and start at the last login.
Why it's wrong here
transaction uses the first matching start event.
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.