Courseiva
Question 27 of 502
Basic Searching and Transforming CommandsmediumMultiple SelectObjective-mapped

SPLK-1001 Basic Searching and Transforming Commands Practice Question

Which two components are required to create a time-based chart of average CPU usage per host over the last 4 hours? (Choose two.)

⚠ Common exam trap

Splunk often tests the distinction between `timechart` and `stats`; the trap here is that candidates may think `stats` with a time range modifier is sufficient, but `stats` alone cannot produce a time-based chart without an explicit `bin` command and additional formatting.

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

timechart avg(cpu) by host

`timechart` is the Splunk command specifically designed to create time-based charts, and `avg(cpu) by host` computes the average CPU usage aggregated per host over time. This command automatically splits the results into time buckets and generates a chart with time on the x-axis and the average CPU per host as series.

Answer analysis

Option-by-option breakdown

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

  • timechart avg(cpu) by host

    Why this is correct

    Required to create time-based chart.

  • A time range modifier like earliest=-4h

    Why this is correct

    Needed to restrict to last 4 hours.

  • stats avg(cpu) by host

    Why it's wrong here

    Does not produce time series.

  • the top command

    Why it's wrong here

    Not relevant.

  • the fields command

    Why it's wrong here

    Not required.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 30, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

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.