Splunk Flashcards
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
Which of the following data model are included In the Splunk Common Information Model (CIM) add-on? (select all that apply) A . Alerts B . Email C . Database D . User permissions
A,B,C
When using timechart, how many fields can be listed after a by clause?
A . because timechart doesn’t support using a by clause.
B . because _time is already implied as the x-axis.
C . 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
Which of the following statements describes Search workflow actions?
A . By default. Search workflow actions will run as a real-time search.
B . Search workflow actions can be configured as scheduled searches,
C . The user can define the time range of the search when created the workflow action.
D . Search workflow actions cannot be configured with a search string that includes the transaction command
C
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
Data model fields can be added using the Auto-Extracted method .
Which of the following statements describe Auto-Extracted fields? (select all that apply)
A . Auto-Extracted fields can be hidden in Pivot.
B . Auto-Extracted fields can have their data type changed.
C . Auto-Extracted fields can be given a friendly name for use in Pivot.
D . Auto-Extracted fields can be added if they already exist in the dataset with constraints
A,B,C,D
What does the transaction command do?
A . Groups a set of transactions based on time.
B . Creates a single event from a group of events.
C . Separates two events based on one or more values.
D . Returns the number of credit card transactions found in the event logs.
B
Data model are composed of one or more of which of the following datasets? (select all that apply.)
A . Events datasets
B . Search datasets
C . Transaction datasets
D . Any child of event, transaction, and search datasets
A,B,C
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
Which of the following statements describes POST workflow actions?
A . POST workflow actions are always encrypted.
B . POST workflow actions cannot use field values in their UR
C . POST workflow actions cannot be created on custom sourcetypes.
D . POST workflow actions can open a web page in either the same window or a new.
D
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
Which of the following statements describes the command below (select all that apply)
Sourcetype=access_combined | transaction JSESSIONID
A . An additional filed 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
A space is an implied \_\_\_\_\_ in a search string. A . OR B . AND C . () D . NOT
B
Which of the following statements about data models and pivot are true? (select all that apply)
A . They are both knowledge objects.
B . Data models are created out of datasets called pivots.
C . Pivot requires users to input SPL searches on data models.
D . Pivot allows the creation of data visualizations that present different aspects of a data model.
D
Which of the following describes the Splunk Common Information Model (CIM) add-on?
A . The CIM add-on uses machine learning to normalize data.
B . The CIM add-on contains dashboards that show how to map data.
C . The CIM add-on contains data models to help you normalize data.
D . The CIM add-on is automatically installed in a Splunk environment.
C
When using the Field Extractor (FX), which of the following delimiters will work? (select all that apply) A . Tabs B . Pipes C . Colons D . Spaces
A,B,C,D
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
Which of the following statements about event types is true? (select all that apply)
A . Event types can be tagged.
B . Event types must include a time range,
C . Event types categorize events based on a search.
D . Event types can be a useful method for capturing and sharing knowledge.
A,C,D
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
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
Which of the following workflow actions can be executed from search results? (select all that apply) A . GET B . POST C . LOOKUP D . Search
A,B,D
Which group of users would most likely use pivots? A . Users B . Architects C . Administrators D . Knowledge Managers
A
Which of the following is the correct way to use the data model command to search field in the data model within the
web dataset?
A . | datamodel web search | filed web *
B . | Search datamodel web web | filed web*
C . | datamodel web web field | search web*
D . Datamodel=web | search web | filed web*
A
What does the following search do?
index=corndog type=mysterymeat action=eaten | stats count as corndog_count by user
A . Creates a table of the total count of users and split by corndogs.
B . Creates a table of the total count of mysterymeat corndogs split by user.
C . Creates a table with the count of all types of corndogs eaten split by user.
D . Creates a table that groups the total number of users by vegetarian corndogs.
B
What is the relationship between data models and pivots?
A . Data models provide the datasets for pivots.
B . Pivots and data models have no relationship.
C . Pivots and data models are the same thing.
D . Pivots provide the datasets for data models.
A
Which of the following searches will return events contains a tag name Privileged? A . Tag= Priv B . Tag= Pri* C . Tag= Priv* D . Tag= Privileged
B
When should you use the transaction command instead of the stats command?
A . When you need to group on multiple values.
B . When duration is irrelevant in search results. .
C . When you have over 1000 events in a transaction.
D . When you need to group based on start and end constraints.
D
To identify all of the contributing events within a transaction that contains at least one REJECT event, which syntax is
correct?
A . Index-main | REJECT trans sessionid
B . Index-main | transaction sessionid | search REJECT
C . Index=main | transaction sessionid | whose transaction=reject
D . Index=main | transaction sessionid | where transaction=reject’’
B
Which are valid ways to create an event type? (select all that apply)
A . By using the searchtypes command in the search bar.
B . By editing the event_type stanza in the props.conf file.
C . By going to the Settings menu and clicking Event Types > New.
D . By selecting an event in search results and clicking Event Actions > Build Event Type.
C,D
The Field Extractor (FX) is used to extract a custom field. A report can be created using this custom field. The created
report can then be shared with other people in the organization.
If another person in the organization runs the shared report and no results are returned, why might this be? (select all
that apply)
A . Fast mode is enabled.
B . The dashboard is private.
C . The extraction is private-
D . The person in the organization running the report does not have access to the index.
C,D
Which of the following statements describe the search below? (select all that apply)
Index=main I transaction clientip host maxspan=30s maxpause=5s
A . Events in the transaction occurred within 5 seconds.
B . It groups events that share the same clientip and host.
C . The first and last events are no more than 5 seconds apart.
D . The first and last events are no more than 30 seconds apart.
A,B,D
Which of the following statements describe data model acceleration? (select 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_dacamodel capability to accelerate a data model.
B,C,D
What does the Splunk Common Information Model (CIM) add-on include? (select all that apply) A . Custom visualizations B . Pre-configured data models C . Fields and event category tags D . Automatic data model acceleration
B,C
Which of the following file formats can be extracted using a delimiter field extraction? A . CSV B . PDF C . XML D . JSON
A
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
What does the fillnull command replace null values with, it the value argument is not specified? A . 0 B . N/A C . NaN D . NULL
A
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
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
Based on the macro definition shown below, what is the correct way to execute the macro in a search string? (large picture, just remember answer) A . Convert_sales (euro, , 79)” B . Convert_sales (euro, , .79) C . Convert_sales ($euro,\$\$,s79$ D . Convert_sales ($euro, \$\$,S,79$)
B
Given the macro definition below, what should be entered into the Name and Arguments fileds to correctly configured
the macro? (large picture again)
A . The macro name is sessiontracker and the arguments are action, JESSIONI
B . The macro name is sessiontracker(2) and the arguments are action, JESSIONI
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
What functionality does the Splunk Common Information Model (CIM) rely on to normalize fields with different
names?
A . Macros.
B . Field aliases.
C . The rename command.
D . CIM does not work with different names for the same field.
B
When multiple event types with different color values are assigned to the same event, what determines the color displayed for the events? A . Rank B . Weight C . Priority D . Precedence
C
What is the correct syntax to search for a tag associated with a value on a specific field? A. tag= B. tag=() C. tag=:: D. tag::=
D
Which of the following Statements about macros is true? (select 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
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
Which of the following statements describe calculated fields? (select 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
Which of the following statements describe the search string below?
| datamodel Application_State All_Application_State search
A . Evenrches would return a report of sales by state.
B . Events will be returned from the data model named Application_State.
C . Events will be returned from the data model named All_Application_state.
D . No events will be returned because the pipe should occur after the datamodel command
B
Which of the following searches show a valid use of macro? (Select 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
Which of the following are required to create a POST workflow action?
A . Label, URI, search string.
B . XMI attributes, URI, name.
C . Label, URI, post arguments.
D . URI, search string, time range picker.
C
Selected fields are displayed \_\_\_\_\_\_each event in the search results. A . below B . interesting fields C . other fields D . above
A