Courseiva
Transactions and Event CorrelationhardMultiple ChoiceObjective-mapped

SPLK-1002 transaction Practice Question

Exhibit

| makeresults count=5
| eval _time=_time + (random()%100)
| eval session="ses1"
| transaction session maxspan=10s
| eval duration=last(_time)-first(_time)
| stats avg(duration)

Refer to the exhibit. An analyst runs the above search to test transaction behavior. What is the likely result?

⚠ Common exam trap

Candidates often assume that `maxspan` prevents transactions entirely, but it actually splits events into multiple transactions.

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

Multiple transactions, each with fewer events, avg duration less than 10s

The search uses `transaction` with `maxspan=10s`. The random timestamps are spread over up to 100 seconds, so events that are more than 10 seconds apart cannot be in the same transaction. Thus, the events will be split into multiple transactions, each containing a subset of the events. The average duration of these transactions will be well under 10 seconds, making option C correct. Option A is incorrect because not all 5 events can fit into one 10-second window. Option B is incorrect for the same reason. Option D is incorrect because transactions are still created for events that do fall within a 10-second window.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • One transaction with 5 events, avg duration ~50s

    Why it's wrong here

    Incorrect. With maxspan=10s and timestamps spread over 100s, all 5 events cannot be in one transaction.

  • One transaction with 5 events, avg duration ~10s

    Why it's wrong here

    Incorrect. Same reason as A; not all events fit in one 10-second window.

  • Multiple transactions, each with fewer events, avg duration less than 10s

    Why this is correct

    Correct. Events are split into multiple transactions because the random timestamps are spread beyond 10 seconds. Each transaction has fewer events and average duration less than 10s.

  • No transactions created because events are out of order

    Why it's wrong here

    Incorrect. Transactions are still created for events that fall within a 10-second window; they are not all out of order.

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 →

How Courseiva writes practice questions · Editorial policy

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.