Courseiva
Basic Searching and Transforming CommandshardMultiple ChoiceObjective-mapped

SPLK-1001 Basic Searching and Transforming Commands Practice Question

Exhibit

index=security sourcetype=linux_secure
 | regex _raw="Failed password for .* from (?<src_ip>\d+\.\d+\.\d+\.\d+)"
 | top 5 src_ip

Refer to the exhibit. The search returns no results. What is the most likely reason?

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 'regex' command cannot extract fields; use 'rex' instead

The regex uses named capture groups, but Splunk's 'regex' command does not support creating fields with named capture groups. The 'rex' command should be used instead to extract fields.

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 sourcetype is incorrect

    Why it's wrong here

    It is correct.

  • The 'regex' command cannot extract fields; use 'rex' instead

    Why this is correct

    Correct: regex filters events, rex extracts fields.

  • The regex pattern is invalid

    Why it's wrong here

    The pattern is valid.

  • The 'top' command requires a field to be extracted first

    Why it's wrong here

    That's the issue, but the root cause is regex not extracting.

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.