0% found this document useful (0 votes)
21 views17 pages

Splunk QA Examtopics 1 Official

Uploaded by

Rithik Jaswal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views17 pages

Splunk QA Examtopics 1 Official

Uploaded by

Rithik Jaswal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 17

SPLUNK DUMPS EXAMTOPICS 1 official

1. Which one of the following statements about the search command is true?

A. It does not allow the use of wildcards.

B. It treats field values in a case-sensitive manner.

C. It can only be used at the beginning of the search pipeline.

D. It behaves exactly like search strings before the first pipe.

 D

2. Which of the following actions can the eval command perform?

A. Remove fields from results.

B. Create or replace an existing field.

C. Group transactions by one or more fields.

D. Save SPL commands to be reused in other searches.

 B

3. When can a pipe follow a macro?

A. A pipe may always follow a macro.

B. The current user must own the macro.

C. The macro must be defined in the current app.

D. Only when sharing is set to global for the macro.

 A
4. Data models are composed of one or more of which of the following datasets? (Choose all that apply.)

A. Events datasets

B. Search datasets

C. Transaction datasets

D. Any child of event, transaction, and search datasets

 A,B,C

5. When using the Field Extractor (FX), which of the following delimiters will work? (Choose all that
apply.)

A. Tabs

B. Pipes

C. Colons

D. Spaces

 A,B,C,D

6. Which group of users would most likely use pivots?

A. Users

B. Architects

C. Administrators

D. Knowledge Managers

 D
7. When multiple event types with different color values are assigned to the same event, what
determines the color displayed for the event?

A. Rank

B. Weight

C. Priority

D. Precedence

 C

8. Based on the macro definition shown below, what is the correct way to execute the macro in a search
string?

A. "convert_sales(euro,79.,¬‚‫")ג‬

B. 'convert_sales(euro,79.,¬‚‫')ג‬

C. "convert_sales($euro$,$79$.$,$¬‚‫")ג‬

D. 'convert_sales($euro$,$79$.$,$¬‚‫')ג‬

 B
9. There are several ways to access the field extractor.

Which option automatically identifies the data type, source type, and sample event?

A. Event Actions > Extract Fields

B. Fields sidebar > Extract New Fields

C. Settings > Field Extractions > New Field Extraction

D. Settings > Field Extractions > Open Field Extractor

 A

10. Which of the following statements would help a user choose between the transaction and stats
commands?

A. stats can only group events using IP addresses.

B. The transaction command is faster and more efficient.

C. There is a 1000 event limitation with the transaction command.

D. Use stats when the events need to be viewed as a single correlated event.

 C

11. By default, how is acceleration configured in the Splunk Common Information Model (CIM) add-on?

A. Turned off.

B. Turned on.

C. Determined automatically based on the sourcetype.

D. Determined automatically based on the data source.

 A
12. Which of the following statements describe the Common Information Model (CIM)? (Choose all that
apply.)

A. CIM is a methodology for normalizing data.

B. CIM can correlate data from different sources.

C. The Knowledge Manager uses the CIM to create knowledge objects.

D. CIM is an app that can coexist with other apps on a single Splunk deployment.

 A,B,C (unsure answer)

13. Which of the following knowledge objects represents the output of an eval expression?

A. Eval fields

B. Calculated fields

C. Field extractions

D. Calculated lookups

 B

14. What do events in a transaction have in common?

A. All events in a transaction must have the same timestamp.

B. All events in a transaction must have the same sourcetype.

C. All events in a transaction must have the exact same set of fields.

D. All events in a transaction must be related by one or more fields.

 D
15. Which delimiters can the Field Extractor (FX) detect? (Choose all that apply.)

A. Tabs

B. Pipes

C. Spaces

D. Commas

 A,B,C,D

16. A data model consists of which three types of datasets?

A. Constraint, field, value.

B. Events, searches, transactions.

C. Field extraction, regex, delimited.

D. Transaction, session ID, metadata.

 B

17. Where are the results of eval commands stored?

A. In a field.

B. In an index.

C. In a KV Store.

D. In a database.

 A
18. Which of the following statements describe calculated fields? (Choose all that apply.)

A. Calculated fields can be used in the search bar.

B. Calculated fields can be based on an extracted field.

C. Calculated fields can only be applied to host and sourcetype.

D. Calculated fields are shortcuts for performing calculations using the eval command.

 A,B,D

19. Calculated fields can be based on which of the following?

A. Tags

B. Extracted fields

C. Output fields for a lookup

D. Fields generated from a search string

 B

20. When should transaction be used?

A. Only in a large distributed Splunk environment.

B. When calculating results from one or more fields.

C. When event grouping is based on start/end values.

D. When grouping events results in over 1000 events in each group.

 C
21. When performing a regular expression (regex) field extraction using the Field Extractor (FX), what
happens when the require option is used?

A. The regex can no longer be edited.

B. The field being extracted will be required for all future events.

C. The events without the required field will not display in searches.

D. Only events with the required string will be included in the extraction.

 D

22. When using | timechart by host, which field is represented in the x-axis?

A. date

B. host

C. time

D. _time

 D

23. Which of the following is the correct way to use the datamodel command to search fields in the Web
data model within the Web dataset?

A. | datamodel Web Web search | fields Web*

B. | search datamodel Web Web | fields Web*

C. | datamodel Web Web fields | search Web*

D. datamodel=Web | search Web | fields Web*

 A
24. Which of the following statements describe the command below? (Choose all that apply.)
sourcetype=access_combined | transaction JSESSIONID

A. An additional field named maxspan is created.

B. An additional field named duration is created.

C. An additional field named eventcount is created.

D. Events with the same JSESSIONID will be grouped together into a single event.

 B,C,D

25. Which of the following searches will return events containing a tag named Privileged?

A. tag=Priv

B. tag=Priv*

C. tag=priv*

D. tag=privileged

 B

26. Given the macro definition below, what should be entered into the Name and Arguments fields to
correctly configure the macro?
A. The macro name is sessiontracker and the arguments are action, JESSIONID.

B. The macro name is sessiontracker(2) and the arguments are action, JESSIONID.

C. The macro name is sessiontracker and the arguments are $action$, $JESSIONID$.

D. The macro name is sessiontracker(2) and the Arguments are $action$, $JESSIONID$.

 B

27. What is required for a macro to accept three arguments?

A. The macro's name ends with (3).

B. The macro's name starts with (3).

C. The macro's argument count setting is 3 or more.

D. Nothing, all macros can accept any number of arguments.

 A

28. Which workflow action method can be used when the action type is set to link?

A. GET

B. PUT

C. Search

D. UPDATE

 A

29. Which of the following statements about tags is true? (Choose all that apply.)

A. Tags are case-insensitive.

B. Tags are based on field/value pairs.

C. Tags categorize events based on a search.

D. Tags are designed to make data more understandable.

 B,D
30. Which of the following statements about macros is true? (Choose all that apply.)

A. Arguments are defined at execution time.

B. Arguments are defined when the macro is created.

C. Argument values are used to resolve the search string at execution time.

D. Argument values are used to resolve the search string when the macro is created.

 B,C

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

A. A name for the workflow action.

B. A URI where the user will be directed at search time.

C. A label that will appear in the Event Action menu at search time.

D. A name for the URI where the user will be directed at search time.

 A,B,C

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

A. "hex"

B. "commas"

C. "decimal"

D. "duration"

 A,B,D
33. Which of the following searches show a valid use of a macro? (Choose all that apply.)

A. index=main source=mySource oldField=* |'makeMyField(oldField)'| table _time newField

B. index=main source=mySource oldField=* | stats if('makeMyField(oldField)') | table _time newField

C. index=main source=mySource oldField=* | eval newField='makeMyField(oldField)'| table _time


newField

D. index=main source=mySource oldField=* | "'newField('makeMyField(oldField)')'" | table _time


newField

 A,C

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?

A. It doesn't matter whether eval or sort is used first.

B. Convert the numeric to a string with eval first, then sort.

C. Use sort first, then convert the numeric to a string with eval.

D. You cannot use the sort command and the eval command on the same field.

 C

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

A. Macros

B. Lookups

C. Workflow actions

D. Field extractions

 B,D
36. Which of the following statements describe data model acceleration? (Choose all that apply.)

A. Root events cannot be accelerated.

B. Accelerated data models cannot be edited.

C. Private data models cannot be accelerated.

D. You must have administrative permissions or the accelerate_datamodel capability to accelerate a


data model.

 B,C,D

37. How does a user display a chart in stack mode?

A. By using the stack command.

B. By turning on the Use Trellis Layout option.

C. By changing Stack Mode in the Format menu.

D. You cannot display a chart in stack mode, only a timechart.

 C

38. If no value is specified with the fillnull command, what default value will be used?

A. 0

B. N/A

C. ‫ג‬€"

D. NULL

 A
39. What other syntax will produce exactly the same results as | chart count over vendor_action by
user?

A. | chart count by vendor_action, user

B. | chart count over vendor_action, user

C. | chart count by vendor_action over user

D. | chart count over user by vendor_action

 A

40. What are the two parts of a root event dataset?

A. Fields and variables.

B. Fields and attributes.

C. Constraints and fields.

D. Constraints and lookups.

 C

41. When using timechart, how many fields can be listed after a by clause?

A. 0, because timechart doesn't support using a by clause.

B. 1, because _time is already implied as the x-axis.

C. 2, because one field would represent the x-axis and the other would represent the y-axis.

D. There is no limit specific to timechart.

 B
42. A field alias has been created based on an original field. A search without any transforming
commands is then executed in Smart Mode.

Which field name appears in the results?

A. Both will appear in the All Fields list, but only if the alias is specified in the search.

B. Both will appear in the Interesting Fields list, but only if they appear in at least 20 percent of events.

C. The original field only appears in All Fields list and the alias only appears in the Interesting Fields list.

D. The alias only appears in the All Fields list and the original field only appears in the Interesting Fields
list.

 B

43. Which of the following statements describes macros?

A. A macro is a reusable search string that must contain the full search.

B. A macro is a reusable search string that must have a fixed time range.

C. A macro is a reusable search string that may have a flexible time range.

D. A macro is a reusable search string that must contain only a portion of the search.

 C

44. In what order are the following knowledge objects/configurations applied?

A. Field Aliases, Field Extractions, Lookups

B. Field Extractions, Field Aliases, Lookups

C. Field Extractions, Lookups, Field Aliases

D. Lookups, Field Aliases, Field Extractions

 B
45. In which of the following scenarios is an event type more effective than a saved search?

A. When a search should always include the same time range.

B. When a search needs to be added to other users' dashboards.

C. When the search string needs to be used in future searches.

D. When formatting needs to be included with the search string.

 C

46. When using the transaction command, what does the argument maxspan do?

A. Sets the maximum total time between events in a transaction.

B. Sets the maximum length of all the events within a transaction.

C. Sets the maximum total time between the earliest and latest events in a transaction.

D. Sets the maximum length that any single event can reach to be included in the transaction.

 C

47. When creating a Search workflow action, which field is required?

A. Search string

B. Data model name

C. Permission setting

D. An eval statement

 A
48. To identify all of the contributing events within a transaction that contain at least one REJECT event,
which syntax is correct?

A. index=main REJECT | transaction sessionid

B. index=main | transaction sessionid | search REJECT

C. index=main | transaction sessionid | where transaction=reject

D. index=main | transaction sessionid | where transaction="REJECT*"

 B

You might also like