Courseiva
Creating Reports, Dashboards and VisualizationshardMultiple ChoiceObjective-mapped

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

Exhibit

index=security sourcetype=windows_security
| eval account_type=if(match(user, "^Admin"), "admin", "user")
| stats count by account_type, action
| where account_type="admin" AND action="Failed"
| sort - count
| head 5

Refer to the exhibit. A security analyst runs this search to find top failed actions for admin accounts. The search returns no results, but there are failed actions for admin accounts in the data. What is the most likely cause?

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

The eval command uses match which is case-sensitive; the admin usernames may start with lowercase 'admin'.

The where clause filters results after stats, but if the account_type eval does not match any user starting with 'Admin' (case-sensitive), then account_type will be 'user' for all, and the where condition fails. The match function is case-sensitive; users may start with 'admin' lowercase.

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 windows_security sourcetype does not contain a 'user' field.

    Why it's wrong here

    User field is standard in security logs.

  • The eval command uses match which is case-sensitive; the admin usernames may start with lowercase 'admin'.

    Why this is correct

    Correct. match is case-sensitive; use lower() or case-insensitive regex.

  • The where clause should use 'search' instead.

    Why it's wrong here

    Where is appropriate for filtering after stats.

  • The stats command should be before eval.

    Why it's wrong here

    Order is fine; eval before stats works.

About these practice questions

One of 502 original SPLK-1001 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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.