Drag steps to the numbered slots on the right, or tap a step then tap a slot.
SPLK-1002 Macros, Saved Searches and CIM Practice Question
Order the steps to create a data model in Splunk in the correct order.
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
Step 1: Create a new data model. Step 2: Add a root event type. Step 3: Define constraints for the event type. Step 4: Add fields to the event type.
Data models are created by defining hierarchical objects with constraints and 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.
- ✓
Step 1: Create a new data model. Step 2: Add a root event type. Step 3: Define constraints for the event type. Step 4: Add fields to the event type.
Why this is correct
This order follows the logical sequence in Splunk: first create the data model container, then add a root event type to define the base dataset, then set constraints to filter data, and finally define fields to extract specific attributes.
- ✗
Step 1: Add a root event type. Step 2: Create a new data model. Step 3: Define constraints. Step 4: Add fields.
Why it's wrong here
You cannot add a root event type before creating the data model itself because the event type must belong to an existing data model.
- ✗
Step 1: Create a new data model. Step 2: Define constraints. Step 3: Add a root event type. Step 4: Add fields.
Why it's wrong here
Constraints are applied to an event type, so you must first add the root event type before you can define its constraints.
- ✗
Step 1: Create a new data model. Step 2: Add a root event type. Step 3: Add fields. Step 4: Define constraints.
Why it's wrong here
Fields are derived from the data that matches constraints; defining fields before constraints may include irrelevant data or miss required filtering.
Go deeper
Related to this question
About these practice questions
This SPLK-1002 question is part of Courseiva's 475-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 →
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This SPLK-1002 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-1002 exam.