SPLK-1002 Transactions and Event Correlation Practice Question
A search uses `transaction sessionId` to correlate events. However, the transaction command is consuming too much memory and the search fails. Which approach can reduce memory usage while still approximating the transaction grouping?
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 `stats values(_raw) by sessionId`
Using `stats values(_raw) by sessionId` aggregates raw events into a multivalue field, which is more memory-efficient than transaction because it does not try to compute duration or keep all event metadata.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Add `maxevents=100` to the transaction
Why it's wrong here
Reducing maxevents may help but transaction still retains more overhead than stats.
- ✗
Use `dedup sessionId`
Why it's wrong here
dedup removes duplicates, not groups events.
- ✓
Use `stats values(_raw) by sessionId`
Why this is correct
stats is lighter and can group events by a common field without the overhead of transaction.
- ✗
Increase the search job memory limit
Why it's wrong here
Not recommended; it only postpones the issue and may affect other jobs.
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.