exam questions

Exam SPLK-1002 All Questions

View all questions & answers for the SPLK-1002 exam

Exam SPLK-1002 topic 1 question 130 discussion

Actual exam question from Splunk's SPLK-1002
Question #: 130
Topic #: 1
[All SPLK-1002 Questions]

How is a variable for a macro defined?

  • A. Place the variable name inside of percentage signs: %variable name%.
  • B. Place the variable name inside of curly braces: {variable name}.
  • C. Place the variable name inside of dollar signs: $variable name$.
  • D. Place the variable name inside of asterisks: *variable name*.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
BOSS2107
2 weeks, 3 days ago
Selected Answer: C
It has been explained by jim22444
upvoted 1 times
...
jim22444
2 months, 3 weeks ago
Selected Answer: C
Defining macros utilize the dollar signs $variable$. Example from Splunk's website. macros.conf.example # macro foobar that takes one argument, invoked via `foobar(someval)` [foobar(1)] args = foo definition = "foo = $foo$"
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago