
SplunkCore Certified Power User
Domain 7Objective 4
Add and Use Arguments with a Macro SPLK-1002 Practice Questions (Page 2)
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 12 practice questions to prepare you well beyond it. (estimate)
12questions here
3free pages
6concepts
10%of the exam
Questions 6–10
- 6
A Splunk admin has a macro `search_user(user)` defined as `sourcetype=access user=$user$`. A user invokes the macro as `search_user(user=alice smith)`. The search fails. What is the most likely cause?
Select an answer first - 7
When passing a value that contains a space to a macro argument, how should you handle it?
Select an answer first - 8
How do you pass a value to a macro argument when invoking the macro in a search?
Select an answer first - 9
Given a macro named `filter_by_status` defined with arguments `field` and `status`, which invocation correctly passes the value `error` for the `status` argument?
Select an answer first - 10
Which of the following is a valid troubleshooting step when a macro returns an error about invalid arguments?
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.