SPLK-1002 Macros, Saved Searches and CIM Practice Question
A team develops multiple dashboards that share common search logic. What is the best practice for managing these searches?
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
✓
Use macros to define reusable search fragments.
Macros allow reusable search fragments that can be used across multiple dashboards, reducing duplication and simplifying maintenance. Embedding search strings directly in each dashboard (option C) causes duplication and is hard to maintain. Creating a saved search for each dashboard (option A) still duplicates logic. Using a single saved search that all dashboards reference (option B) may not be flexible enough for different dashboard requirements. Therefore, macros are the best practice.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Create a saved search for each dashboard.
Why it's wrong here
This still duplicates search logic if searches are similar.
- ✗
Use a single saved search that all dashboards reference.
Why it's wrong here
A single saved search may not accommodate varying parameters needed by different dashboards.
- ✗
Embed the search strings directly in each dashboard.
Why it's wrong here
This leads to duplication and makes updates error-prone.
- ✓
Use macros to define reusable search fragments.
Why this is correct
Correct: Macros centralize common logic, improving maintainability and consistency.
Go deeper
Related to this question
About these practice questions
Courseiva writes every SPLK-1002 question from scratch — 475 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 →
JA
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.