Courseiva
Creating Reports, Dashboards and VisualizationshardMultiple ChoiceObjective-mapped

SPLK-1001 Practice Question: Creating Reports, Dashboards and Visualizations

A user wants to create a report that shows the average response time for each web endpoint over the past week. The data has fields: endpoint, response_time. Which search correctly calculates the average?

⚠ Common exam trap

Splunk often tests the distinction between `avg()` and `mean()` — `mean()` is not a valid SPL command, but candidates may confuse it with the statistical term or with SQL syntax, leading them to select Option B.

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

... | stats avg(response_time) by endpoint

The `stats avg(response_time) by endpoint` command calculates the average (mean) of the response_time field for each unique endpoint value. This directly meets the requirement of showing average response time per web endpoint over the past week, assuming the time range is set in the search bar or via an earliest/latest constraint.

Answer analysis

Option-by-option breakdown

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

  • ... | stats avg(response_time) by endpoint

    Why this is correct

    Correctly calculates average per endpoint.

  • ... | stats mean(response_time) by endpoint

    Why it's wrong here

    `mean` is not a valid function; use `avg`.

  • ... | stats avg(response_time) by _time

    Why it's wrong here

    Groups by time, not endpoint.

  • ... | eval avg=sum(response_time)/count | stats values(avg) by endpoint

    Why it's wrong here

    Overcomplicated and incorrect.

About these practice questions

Courseiva writes every SPLK-1001 question from scratch — 502 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 →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This SPLK-1001 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-1001 exam.