SPLK-1002 Transactions and Event Correlation Practice Question
Exhibit
Refer to the exhibit. ```spl index=app sourcetype=server_log | eval sessionid=coalesce(sessionid, correlation_id) | transaction sessionid maxspan=10m ```
Refer to the exhibit. The eval command combines two fields into one. What is a potential issue with this search?
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
✓
If an event has both sessionid and correlation_id, the coalesce may create a new value that does not match other events.
If an event has both sessionid and correlation_id, the coalesce function will use the first non-null value. However, if the two fields have different values for the same logical session, coalesce may produce a value that does not correspond to any existing field value, causing other events in the transaction to not match. Option A is false because eval syntax is fine. Option B is false because transaction can be used after eval. Option C is false because maxspan can be placed before 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 eval command may cause syntax errors.
Why it's wrong here
The eval syntax is valid.
- ✗
Transaction does not allow eval before it.
Why it's wrong here
eval is allowed before transaction.
- ✗
The maxspan should be after the transaction command.
Why it's wrong here
Options can be in any order.
- ✓
If an event has both sessionid and correlation_id, the coalesce may create a new value that does not match other events.
Why this is correct
coalesce takes the first non-null; if both fields exist but differ, only one is used, potentially breaking grouping.
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.