1002
Splunk Knowledge Mastery Quiz
Test your knowledge of Splunk with this engaging quiz designed for enthusiasts and professionals alike! Dive into various aspects of Splunk commands, fun
Challenge yourself with multiple choice and checkbox questions, including:
- The use of macros and calculated fields
- Understanding of data models and field extraction
- Fun
ctionality of various Splunk commands
Which one of the following statements about the search command is true?
It does not allow the use of wildcards.
It treats field values in a case-sensitive manner.
It can only be used at the beginning of the search pipeline.
It behaves exactly like search strings before the first pipe.
Which of the following actions can the eval command perform?
Remove fields from results.
Create or replace an existing field.
Group transactions by one or more fields.
Save SPL commands to be reused in other searches.
When can a pipe follow a macro?
A pipe may always follow a macro.
The current user must own the macro.
The macro must be defined in the current app.
Only when sharing is set to global for the macro.
Data models are composed of one or more of which of the following datasets? (Choose all that apply.)
Events datasets
Search datasets
Transaction datasets
Any child of event, transaction, and search datasets
When using the Field Extractor (FX), which of the following delimiters will work? (Choose all that apply.)
Tabs
Pipes
Colons
Spaces
Which group of users would most likely use pivots?
Users
Architects
Administrators
Knowledge Managers
When multiple event types with different color values are assigned to the same event, what determines the color displayed for the event?
Rank
Weight
Priority
Precedence
Based on the macro definition shown below, what is the correct way to execute the macro in a search string?
"convert_sales(euro,€,0.79)"
`convert_sales(euro,€,0.79)`
"convert_sales($euro$,$‚$0.79$)"
`convert_sales($euro$,$‚$0.79$)`
There are several ways to access the field extractor.
Which option automatically identifies the data type, source type, and sample event?
Event Actions > Extract Fields
Fields sidebar > Extract New Fields
Settings > Field Extractions > New Field Extraction
Settings > Field Extractions > Open Field Extractor
Which of the following statements would help a user choose between the transaction and stats commands?
Stats can only group events using IP addresses.
The transaction command is faster and more efficient.
There is a 1000 event limitation with the transaction command.
Use stats when the events need to be viewed as a single correlated event.
By default, how is acceleration configured in the Splunk Common Information Model (CIM) add-on?
Turned off.
Turned on.
Determined automatically based on the sourcetype.
Determined automatically based on the data source.
Which of the following statements describe the Common Information Model (CIM)? (Choose all that apply.)
CIM is a methodology for normalizing data.
CIM can correlate data from different sources.
The Knowledge Manager uses the CIM to create knowledge objects.
CIM is an app that can coexist with other apps on a single Splunk deployment.
Which of the following knowledge objects represents the output of an eval expression?
Eval fields
Calculated fields
Field extractions
Calculated lookups
What do events in a transaction have in common?
All events in a transaction must have the same timestamp.
All events in a transaction must have the same sourcetype.
All events in a transaction must have the exact same set of fields.
All events in a transaction must be related by one or more fields.
A data model consists of which three types of datasets?
Constraint, field, value.
Events, searches, transactions.
Field extraction, regex, delimited.
Transaction, session ID, metadata.
Where are the results of eval commands stored?
In a field.
In an index.
In a KV Store.
In a database.
Which of the following statements describe calculated fields? (Choose all that apply.)
Calculated fields can be used in the search bar.
Calculated fields can be based on an extracted field.
Calculated fields can only be applied to host and sourcetype.
Calculated fields are shortcuts for performing calculations using the eval command.
Calculated fields can be based on which of the following?
Tags
Extracted fields
Output fields for a lookup
Fields generated from a search string
When should transaction be used?
Only in a large distributed Splunk environment.
When calculating results from one or more fields.
When event grouping is based on start/end values.
When grouping events results in over 1000 events in each group.
When performing a regular expression (regex) field extraction using the Field Extractor (FX), what happens when the require option is used?
The regex can no longer be edited.
The field being extracted will be required for all future events.
The events without the required field will not display in searches.
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?
Date
Host
Time
_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?
| datamodel Web Web search | fields Web*
| search datamodel Web Web | fields Web*
| datamodel Web Web fields | search Web*
Datamodel=Web | search Web | fields Web*
Which of the following statements describe the command below? (Choose all that apply.)
sourcetype=access_combined | transaction JSESSIONID
An additional field named maxspan is created.
An additional field named duration is created.
An additional field named eventcount is created.
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?
Tag=Priv
Tag=Priv*
Tag=priv*
Tag=privileged
Given the macro definition below, what should be entered into the Name and Arguments fields to correctly configure the macro?
The macro name is sessiontracker and the arguments are action, JESSIONID.
The macro name is sessiontracker(2) and the arguments are action, JESSIONID.
The macro name is sessiontracker and the arguments are $action$, $JESSIONID$.
The macro name is sessiontracker(2) and the Arguments are $action$, $JESSIONID$.
What is required for a macro to accept three arguments?
The macro's name ends with (3).
The macro's name starts with (3).
The macro's argument count setting is 3 or more.
Nothing, all macros can accept any number of arguments.
Which workflow action method can be used when the action type is set to link?
GET
PUT
Search
UPDATE
Which of the following statements about tags is true? (Choose all that apply.)
Tags are case-insensitive.
Tags are based on field/value pairs.
Tags categorize events based on a search.
Tags are designed to make data more understandable.
Which of the following statements about macros is true? (Choose all that apply.)
Arguments are defined at execution time.
Arguments are defined when the macro is created.
Argument values are used to resolve the search string at execution time.
Argument values are used to resolve the search string when the macro is created.
Information needed to create a GET workflow action includes which of the following? (Choose all that apply.)
A name for the workflow action.
A URI where the user will be directed at search time.
A label that will appear in the Event Action menu at search time.
A name for the URI where the user will be directed at search time.
Which of the following can be used with the eval command tostring function? (Choose all that apply.)
"hex"
"commas"
"decimal"
"duration"
Which of the following searches show a valid use of a macro?
Index=main source=mySource oldField=* |'makeMyField(oldField)'| table _time newField
Index=main source=mySource oldField=* | stats if('makeMyField(oldField)') | table _time newField
Index=main source=mySource oldField=* | eval newField='makeMyField(oldField)'| table _time newField
Index=main source=mySource oldField=* | "'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?
It doesn't matter whether eval or sort is used first.
Convert the numeric to a string with eval first, then sort.
Use sort first, then convert the numeric to a string with eval.
You cannot use the sort command and the eval command on the same field.
Which Knowledge Object does the Splunk Common Information Model (CIM) use to normalize data, in addition to field aliases, event types, and tags?
Macros
Lookups
Workflow actions
Field extractions
Which of the following statements describe data model acceleration? (Choose all that apply.)
Root events cannot be accelerated.
Accelerated data models cannot be edited.
Private data models cannot be accelerated.
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?
By using the stack command.
By turning on the Use Trellis Layout option.
By changing Stack Mode in the Format menu.
You cannot display a chart in stack mode, only a timechart.
If no value is specified with the fillnull command, what default value will be used?
0
N/A
"€"
NULL
What other syntax will produce exactly the same results as | chart count over vendor_action by user?
| chart count by vendor_action, user
| chart count over vendor_action, user
| chart count by vendor_action over user
| chart count over user by vendor_action
What are the two parts of a root event dataset?
Fields and variables.
Fields and attributes.
Constraints and fields.
Constraints and lookups.
When using timechart, how many fields can be listed after a by clause?
0, because timechart doesn't support using a by clause.
1, because _time is already implied as the x-axis.
2, because one field would represent the x-axis and the other would represent the y-axis.
There is no limit specific to timechart.
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?
Both will appear in the All Fields list, but only if the alias is specified in the search.
Both will appear in the Interesting Fields list, but only if they appear in at least 20 percent of events.
The original field only appears in All Fields list and the alias only appears in the Interesting Fields list.
The alias only appears in the All Fields list and the original field only appears in the Interesting Fields list.
Which of the following statements describes macros?
A macro is a reusable search string that must contain the full search.
A macro is a reusable search string that must have a fixed time range.
A macro is a reusable search string that may have a flexible time range.
A macro is a reusable search string that must contain only a portion of the search.
In what order are the following knowledge objects/configurations applied?
Field Aliases, Field Extractions, Lookups
Field Extractions, Field Aliases, Lookups
Field Extractions, Lookups, Field Aliases
Lookups, Field Aliases, Field Extractions
In which of the following scenarios is an event type more effective than a saved search?
When a search should always include the same time range.
When a search needs to be added to other users' dashboards.
When the search string needs to be used in future searches.
When formatting needs to be included with the search string.
When using the transaction command, what does the argument maxspan do?
Sets the maximum total time between events in a transaction.
Sets the maximum length of all the events within a transaction.
Sets the maximum total time between the earliest and latest events in a transaction.
Sets the maximum length that any single event can reach to be included in the transaction.
When creating a Search workflow action, which field is required?
Search string
Data model name
Permission setting
An eval statement
To identify all of the contributing events within a transaction that contain at least one REJECT event, which syntax is correct?
Index=main REJECT | transaction sessionid
Index=main | transaction sessionid | search REJECT
Index=main | transaction sessionid | where transaction=reject
Index=main | transaction sessionid | where transaction="REJECT*"
After manually editing a regular expression (regex), which of the following statements is true?
Changes made manually can be reverted in the Field Extractor (FX) UI.
It is no longer possible to edit the field extraction in the Field Extractor (FX) UI.
It is not possible to manually edit a regular expression (regex) that was created using the Field Extractor (FX) UI.
The Field Extractor (FX) UI keeps its own version of the field extraction in addition to the one that was manually edited.
Which of the following statements describes POST workflow actions?
Configuration of a POST workflow action includes choosing a sourcetype.
POST workflow actions can be configured to send email to the URI location.
By default, POST workflow actions are shown in both the event and field menus.
POST workflow actions can be configured to send POST arguments to the URI location.
Which of the following statements is true, especially in large environments?
Use the stats command when you need to group events by two or more fields.
The stats command is faster and more efficient than the transaction command.
The transaction command is faster and more efficient than the stats command.
Use the transaction command when you want to see the results of a calculation.
What does the following search do?
index=corndog type=mysterymeat action=eaten | stats count as corndog_count by user
Creates a table of the total count of users and split by corndogs.
Creates a table of the total count of mysterymeat corndogs split by user.
Creates a table with the count of all types of corndogs eaten split by user.
Creates a table that groups the total number of users by vegetarian corndogs.
Which of the following statements about event types is true? (Choose all that apply.)
Event types can be tagged.
Event types must include a time range.
Event types categorize events based on a search.
Event types can be a useful method for capturing and sharing knowledge.
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? (Choose all that apply.)
Fast mode is enabled.
The dashboard is private.
The extraction is private.
The person in the organization running the report does not have access to the index.
Which of the following statements describe the search string below?
| datamodel Application_State All_Application_State search
Events will be returned from dataset named Application_State.
Events will be returned from the data model named Application_State.
Events will be returned from the data model named All_Application_State.
No events will be returned because the pipe should occur after the datamodel command.
What is the correct syntax to search for a tag associated with a value on a specific field?
tag=<field>
tag=<field>(<tagname>)
tag=<field>::<tagname>
tag::<field>=<tagname>
In most large Splunk environments, what is the most efficient command that can be used to group events by fields?
Join
Stats
Streamstats
Transaction
Which workflow uses field values to perform a secondary search?
POST
Action
Search
Sub-search
Which of the following statements describes field aliases?
Field alias names replace the original field name.
Field aliases can be used in lookup file definitions.
Field aliases only normalize data across sources and sourcetypes.
Field alias names are not case sensitive when used as part of a search.
Which statement is true?
Pivot is used for creating datasets.
Data models are randomly structured datasets.
Pivot is used for creating reports and dashboards.
In most cases, each Splunk user will create their own data model.
Which of the following statements describes the use of the Field Extractor (FX)?
The Field Extractor automatically extracts all fields at search time.
The Field Extractor uses PERL to extract fields from the raw events.
Fields extracted using the Field Extractor persist as knowledge objects.
Fields extracted using the Field Extractor do not persist and must be defined for each search.
Which of the following searches would return a report of sales by product_name?
Chart sales by product_name
Chart sum(price) as sales by product_name
Stats sum(price) as sales over product_name
Timechart list(sales), values(product_name)
Which of the following data models are included in the Splunk Common Information Model (CIM) add-on? (Choose all that apply.)
Alerts
Email
Databases
User permissions
What is a limitation of searches generated by workflow actions?
Searches generated by workflow actions cannot use macros.
Searches generated by workflow actions must be less than 256 characters long.
Searches generated by workflow actions must run in the same app as the workflow action.
Searches generated by workflow actions run with the same permissions as the user running them.
Which of the following searches would create a graph similar to the one below?
Index=_internal sourcetype=SavedSplunker | fields sourcetype, status | transaction status maxspan=1d | stats count by status
Index=_internal sourcetype=SavedSplunker | fields sourcetype, status | transaction status maxspan=1d | chart count OVER status by _time
Index=_internal sourcetype=SavedSplunker | fields sourcetype, status | transaction status maxspan=1d | timechart count by status
None of these searches would generate a similar graph.
What does the transaction command do?
Groups a set of transactions based on time.
Creates a single event from a group of events.
Separates two events based on one or more values.
Returns the number of credit card transactions found in the event logs.
What is the relationship between data models and pivots?
Data models provide the datasets for pivots.
Pivots and data models have no relationship.
Pivots and data models are the same thing.
Pivots provide the datasets for data models.
Which of the following statements describes Search workflow actions?
By default, Search workflow actions will run as a real-time search.
Search workflow actions can be configured as scheduled searches.
The user can define the time range of the search when created the workflow action.
Search workflow actions cannot be configured with a search string that includes the transaction command.
Which of the following commands support the same set of functions?
Stats, eval, table
Search, where, eval
Stats, chart, timechart
Transaction, chart, timechart
The eval command allows you to do which of the following? (Choose all that apply.)
Format values
Convert values
Perform calculations
Use conditional statements
When using the timechart command, how can a user group the events into buckets based on time?
Using the span argument.
Using the duration argument.
Using the interval argument.
Adjusting the fieldformat options.
Which of the following statements about data models and pivot are true?
They are both knowledge objects.
Data models are created out of datasets called pivots.
Pivot requires users to input SPL searches on data models.
Pivot allows the creation of data visualizations that present different aspects of a data model.
Data model fields can be added using the Auto-Extracted method.
Which of the following statements describe Auto-Extracted fields? (Choose all that apply.)
Auto-Extracted fields can be hidden in Pivot.
Auto-Extracted fields can have their data type changed.
Auto-Extracted fields can be given a friendly name for use in Pivot.
Auto-Extracted fields can be added if they already exist in the dataset with constraints.
Which type of visualization shows relationships between discrete values in three dimensions?
Pie chart
Line chart
Bubble chart
Scatter chart
Which of the following is a function of the Splunk Common Information Model (CIM)?
Normalizing data across a Splunk deployment.
Providing templates for reports and dashboards.
Algorithmically shifting events to other indexes.
Reingesting previously indexed data with new field names.
What information must be included when using the datamodel command?
Status field
Multiple indexes
Data model field name.
Data model dataset name.
Which of the following workflow actions can be executed from search results? (Choose all that apply.)
GET
POST
LOOKUP
Search
Which of the following eval command functions is valid?
Int()
Count()
Print()
Tostring()
A calculated field may be based on which of the following?
Lookup tables
Extracted fields
Regular expressions
Fields generated within a search string
A data model can consist of what three types of datasets?
Pivot, searches, and events.
Pivot, events, and transactions.
Searches, transactions, and pivot.
Events, searches, and transactions.
When is a GET workflow action needed?
To send field values to an external resource.
To retrieve information from an external resource.
To use field values to perform a secondary search.
To define how events flow from forwarders to indexes.
Which of the following statements describe GET workflow actions?
GET workflow actions must be configured with POST arguments.
Configuration of GET workflow actions includes choosing a sourcetype.
Label names for GET workflow actions must include a field name surrounded by dollar signs.
GET workflow actions can be configured to open the URI link in the current window or in a new window.
Which are valid ways to create an event type? (Choose all that apply.)
By using the searchtypes command in the search bar.
By editing the event_type stanza in the props.conf file.
By going to the Save as menu and clicking Event Types > New.
By selecting an event in search results and clicking Event Actions > Build Event Type.
Which command can include both an over and a by clause to divide results into sub-groupings?
Chart
Stats
Xyseries
Transaction
When should you use the transaction command instead of the stats command?
When you need to group on multiple values.
When duration is irrelevant in search results.
When you have over 1000 events in a transaction.
When you need to group based on start and end constraints.
Which of the following statements describes POST workflow actions?
POST workflow actions are always encrypted.
POST workflow actions cannot use field values in their URI.
POST workflow actions cannot be created on custom sourcetypes.
POST workflow actions can open a web page in either the same window or a new window.
What does the Splunk Common Information Model (CIM) add-on include? (Choose all that apply.)
Custom visualizations
Pre-configured data models
Fields and event category tags
Automatic data model acceleration
Which of the following statements about tags is true?
Tags are case insensitive.
Tags are created at index time.
Tags can make your data more understandable.
Tags are searched by using the syntax tag::<fieldname>
Which of the following file formats can be extracted using a delimiter field extraction?
CSV
PDF
XML
JSON
A user wants to create a new field alias for a field that appears in two sourcetypes. How many field aliases need to be created?
One.
Two.
It depends on whether the original fields have the same name.
It depends on whether the two sourcetypes are associated with the same index.
In the following eval statement, what is the value of description if the status is 503?
index=main | eval description=case(status==200, "OK", status==404, "Not found", status==500, "Internal Server Error")
The description field would contain no value.
The description field would contain the value 0.
The description field would contain the value "Internal Server Error".
This statement would produce an error in Splunk because it is incomplete.
In which Settings section are macros defined?
Fields
Tokens
Advanced Search
Searches, Reports, Alerts
Which of the following statements describes calculated fields?
Calculated fields are only used on fields added by lookups.
Calculated fields are a shortcut for repetitive and complex eval commands.
Calculated fields are a shortcut for repetitive and complex calc commands.
Calculated fields automatically calculate the simple moving average for indexed fields.
Which of the following are required to create a POST workflow action?
Label, URI, search string.
XML attributes, URI, name.
Label, URI, post arguments.
URI, search string, time range picker.
Which of the following is one of the pre-configured data models included in the Splunk Common Information Model (CIM) add-on?
Access
Accounting
Authorization
Authentication
Which of the following statements describe the search below? (Choose all that apply.)
index=main | transaction clientip host maxspan=30s maxpause=5s
Events in the transaction occurred within 5 seconds.
It groups events that share the same clientip and host.
The first and last events are no more than 5 seconds apart.
The first and last events are no more than 30 seconds apart
A Power User can share and promote knowledge objects
True
False
The gauge command
Allows you to set colored ranges for a single-value visualization
Creates a single-value visualization
Creates a radial gauge visualization
This is what Splunk uses to categorize the data that is being indexed
Host
Sourcetype
Index
Source
When using split series on chart, serie must be displayed using stacked option
True
False
Which of the following search modes automatically returns all extracted fields in the fields sidebar?
Fast
Smart
Verbose
Which command is used to create choropleth maps?
Geostats
Cluster
Geom
When using a field value variable with a Workflow Action, which punctuation mark will escape the data?
*
!
^
#
When a search returns ______, you can view the results as a list
A list of events
Transactions
Statistical values
It is mandatory for the lookup file to have this for an automatic lookup to work
Source type
At least five columns
Timestamp
Input field
{"name":"1002", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"Test your knowledge of Splunk with this engaging quiz designed for enthusiasts and professionals alike! Dive into various aspects of Splunk commands, functions, and best practices.Challenge yourself with multiple choice and checkbox questions, including:The use of macros and calculated fieldsUnderstanding of data models and field extractionFunctionality of various Splunk commands","img":"https:/images/course3.png"}
More Quizzes
Big Data 1
94251
AWS Data Quiz
1059
Power BI
327
Big Data Analytics Quiz 1
10511
Big Data Analytics
10527
Data and Analytics_Introductory course
1059
Assessment on Hadoop Fundamentals and MapReduce
1050
Datawarhousing-ETL Concepts
10512
HADOOP
8479
Analytics: deep dive session
6317
Data Literacy Post Test 17 March 2023
10511
Master Data Management
1050