Courseiva
Basic Searching and Transforming CommandsmediumMultiple SelectObjective-mapped

SPLK-1001 Basic Searching and Transforming Commands Practice Question

Which TWO of the following commands can be used to create a new field from existing fields?

⚠ Common exam trap

Splunk often tests the distinction between commands that *extract* or *compute* new fields (`rex`, `eval`) versus commands that only *filter* or *transform* existing fields (`table`, `fields`, `convert`), leading candidates to mistakenly select `convert` or `fields` because they assume any command that modifies output can create fields.

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

rex

The `rex` command is correct because it uses regular expressions to extract new fields from existing field values. For example, `rex field=message "(?<newField>pattern)"` creates a new field named `newField` by matching a portion of the `message` field. This allows you to derive structured data from unstructured or semi-structured 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.

  • rex

    Why this is correct

    Can extract and create new fields via regular expressions.

  • eval

    Why this is correct

    Can create new fields using expressions.

  • table

    Why it's wrong here

    Selects fields, does not create new ones.

  • convert

    Why it's wrong here

    Converts field formats but does not create new fields.

  • fields

    Why it's wrong here

    Includes or excludes fields, does not create new ones.

About these practice questions

This SPLK-1001 question is part of Courseiva's 502-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-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.