
SplunkCore Certified Power User
Domain 7Objective 3
Define Arguments and Variables for a Macro SPLK-1002 Practice Questions (Page 1)
Part of the Creating and Using Macros domain, which accounts for 10% of the SPLK-1002 exam. Splunk does not publish an official question count, but from its 60-minute exam (~25–40 total, ~3–4 in this domain), expect 1–1 from this objective — we provide 16 practice questions to prepare you well beyond it. (estimate)
16questions here
4free pages
6concepts
10%of the exam
Questions 1–5
- 1
A Splunk admin is creating a macro `system_check` that uses `$index$` as an argument name. The macro is used in searches that also reference the `index` field. The admin notices that the macro sometimes substitutes the wrong value. What is the most likely cause?
Select an answer first - 2
A Splunk admin notices that a macro `error_filter` uses `$type$` as an argument, but the search string also contains a field named `type`. When the macro is invoked, the search returns unexpected results. What is the most likely cause?
Select an answer first - 3
When creating a macro in Splunk, where do you specify the argument names that the macro will accept?
Select an answer first - 4
A Splunk admin is creating a macro `port_check` that accepts a `$port$` argument. They want to ensure that only numeric values between 1 and 65535 are accepted. Which validation approach should they use in the macro definition?
Select an answer first - 5
When invoking a macro that accepts multiple arguments, how are the values ordered?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by Splunk. “SPLK-1002” is a trademark of its owner, used for identification only.