SPLK-1002 Flashcards
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. It behaves exactly like search strings before the first pipe.
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. Create or replace an existing field.
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. A pipe may always follow a macro.
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. Events datasets
B. Search datasets
C. Transaction datasets
https://docs.splunk.com/Documentation/Splunk/8.0.3/Knowledge/Aboutdatamodels
Double check
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. Tabs
B. Pipes
C. Colons
D. Spaces
Which group of users would most likely use pivots?
A. Users
B. Architects
C. Administrators
D. Knowledge Managers
A. Users
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. Priority
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. Event Actions > Extract Fields
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. There is a 1000 event limitation with the transaction command.
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. Turned off.
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. 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.
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. Calculated fields
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. All events in a transaction must be related by one or more fields.
Which delimiters can the Field Extractor (FX) detect? (Choose all that apply.)
A. Tabs
B. Pipes
C. Spaces
D. Commas
A. Tabs
B. Pipes
C. Spaces
D. Commas
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. Events, searches, transactions.
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. In a field.
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. Calculated fields can be used in the search bar.
B. Calculated fields can be based on an extracted field.
D. Calculated fields are shortcuts for performing calculations using the eval command.
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. Extracted fields
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. When event grouping is based on start/end values.
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. Only events with the required string will be included in the extraction.
When using | timechart by host, which field is represented in the x-axis?
A. date
B. host
C. time
D. _time
D. _time
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. | datamodel Web Web search | fields Web*
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. 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.
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. tag=Priv*
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. The macro’s name ends with (3).
Which workflow action method can be used when the action type is set to link?
A. GET
B. PUT
C. Search
D. UPDATE
A. GET
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. Tags are based on field/value pairs.
D. Tags are designed to make data more understandable
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. Arguments are defined when the macro is created.
C. Argument values are used to resolve the search string at execution time.
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. 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.
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. “hex”
B. “commas”
D. “duration”
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. index=main source=mySource oldField=* |’makeMyField(oldField)’| table _time newField
C. index=main source=mySource oldField=* | eval newField=’makeMyField(oldField)’| table _time newField
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. Use sort first, then convert the numeric to a string with eval.
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
D. Field extractions
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. 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.
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. By changing Stack Mode in the Format menu.
If no value is specified with the fillnull command, what default value will be used?
A. 0
B. N/A
C. ג€”
D. NULL
A. 0
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. | chart count by vendor_action, user