SPLK-1002 Practice Test

SPLK-1002 Practice Test practice questions, page 7 of 10, with answer review and explanations.

Question 31

Information needed to create a GET workflow action includes which of the following? (Choose all that apply.)

  1. A name for the workflow action.
  2. A URI where the user will be directed at search time.
  3. A label that will appear in the Event Action menu at search time.
  4. A name for the URI where the user will be directed at search time.

Question 32

Which of the following can be used with the eval command tostring function? (Choose all that apply.)

  1. "hex"
  2. "commas"
  3. "decimal"
  4. "duration"

Question 33

Which of the following searches show a valid use of a macro? (Choose all that apply.)

  1. index=main source=mySource oldField=* |'makeMyField(oldField)'| table _time newField
  2. index=main source=mySource oldField=* | stats if('makeMyField(oldField)') | table _time newField
  3. index=main source=mySource oldField=* | eval newField='makeMyField(oldField)'| table _time newField
  4. index=main source=mySource oldField=* | "'newField('makeMyField(oldField)')'" | table _time newField

Question 34

A user wants to convert numeric field values to strings and also to sort on those values. Which command should be used first, the eval or the sort?

  1. It doesn't matter whether eval or sort is used first.
  2. Convert the numeric to a string with eval first, then sort.
  3. Use sort first, then convert the numeric to a string with eval.
  4. You cannot use the sort command and the eval command on the same field.

Question 35

Which Knowledge Object does the Splunk Common Information Model (CIM) use to normalize data, in addition to field aliases, event types, and tags?

  1. Macros
  2. Lookups
  3. Workflow actions
  4. Field extractions