wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Splunk P-User Part 2

Total questions: 63

Worksheet time: 33mins

Name
Class
Date
1.

What is a limitation of searches generated by workflow actions?

a)

Searches generated by workflow actions cannot use macros.

b)

Searches generated by workflow actions must be less than 256 characters long.

c)

Searches generated by workflow actions must run in the same app as the workflow action.

d)

Searches generated by workflow actions run with the same permissions as the user running them.

2.

Which of the following searches would create a graph similar to the one below?
Show Graph Image

a)

index=_internal sourcetype=SavedSplunker | fields sourcetype, status | transaction status maxspan=1d | stats count by status

b)

index=_internal sourcetype=SavedSplunker | fields sourcetype, status | transaction status maxspan=1d | chart count OVER status by _time

c)

index=_internal sourcetype=SavedSplunker | fields sourcetype, status | transaction status maxspan=1d | timechart count by status

d)

None of these searches would generate a similar graph.

3.

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.

4.

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.

5.

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.

6.

Which of the following commands support the same set of functions?

a)

stats, eval, table

b)

search, where, eval

c)

stats, chart, timechart

d)

transaction, chart, timechart

7.

The eval command allows you to do which of the following? (Choose all that apply.)

You Must Select All Correct Answers Below
a)

Format values

b)

Convert values

c)

Perform calculations

d)

Use conditional statements

8.

When using the timechart command, how can a user group the events into buckets based on time?

a)

Using the span argument.

b)

Using the duration argument.

c)

Using the interval argument.

d)

Adjusting the fieldformat options.

9.

Which of the following statements about data models and pivot are true? (Choose 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.

10.

cData model fields can be added using the Auto-Extracted method.
Which of the following statements describe Auto-Extracted fields? (Choose all that apply.)

You Must Select All Correct Answers Below
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.

11.

Which type of visualization shows relationships between discrete values in three dimensions?

a)

Pie chart

b)

Line chart

c)

Bubble chart

d)

Scatter chart

12.

Which of the following is a function of the Splunk Common Information Model (CIM)?

a)

Normalizing data across a Splunk deployment.

b)

Providing templates for reports and dashboards.

c)

Algorithmically shifting events to other indexes.

d)

Reingesting previously indexed data with new field names.

13.

What information must be included when using the datamodel command?

a)

status field

b)

Multiple indexes

c)

Data model field name.

d)

Data model dataset name.

14.

Which of the following workflow actions can be executed from search results? (Choose all that apply.)

You Must Select All Correct Answers Below
a)

GET

b)

POST

c)

LOOKUP

d)

Search

15.

Which of the following eval command functions is valid?

a)

int()

b)

count()

c)

print()

d)

tostring()

16.

A calculated field may be based on which of the following?

a)

Lookup tables

b)

Extracted fields

c)

Regular expressions

d)

Fields generated within a search string

17.

A data model can consist of what three types of datasets?

a)

Pivot, searches, and events.

b)

Pivot, events, and transactions.

c)

Searches, transactions, and pivot.

d)

Events, searches, and transactions.

18.

When is a GET workflow action needed?

a)

To send field values to an external resource.

b)

To retrieve information from an external resource.

c)

To use field values to perform a secondary search.

d)

To define how events flow from forwarders to indexes.

19.

Which of the following statements describe GET workflow actions?

a)

GET workflow actions must be configured with POST arguments.

b)

Configuration of GET workflow actions includes choosing a sourcetype.

c)

Label names for GET workflow actions must include a field name surrounded by dollar signs.

d)

GET workflow actions can be configured to open the URI link in the current window or in a new window.

20.

Which are valid ways to create an event type? (Choose 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.

21.

Which command can include both an over and a by clause to divide results into sub-groupings?

a)

chart

b)

stats

c)

xyseries

d)

transaction

22.

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.

23.

What does the Splunk Common Information Model (CIM) add-on include? (Choose all that apply.)

You Must Select All Correct Answers Below
a)

Custom visualizations

b)

Pre-configured data models

c)

Fields and event category tags

d)

Automatic data model acceleration

24.

Which of the following statements about tags is true?

a)

Tags are case insensitive.

b)

Tags are created at index time.

c)

Tags can make your data more understandable.

d)

Tags are searched by using the syntax tag::<fieldname>

25.

Which of the following file formats can be extracted using a delimiter field extraction?

a)

CSV

b)

PDF

c)

XML

d)

JSON

26.

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?

a)

One

b)

Two.

c)

It depends on whether the original fields have the same name.

d)

It depends on whether the two sourcetypes are associated with the same index.

27.

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")

a)

The description field would contain no value.

b)

The description field would contain the value 0.

c)

The description field would contain the value "Internal Server Error".

d)

This statement would produce an error in Splunk because it is incomplete.

28.

In which Settings section are macros defined?

a)

Fields

b)

Tokens

c)

Advanced Search

d)

Searches, Reports, Alerts

29.

Which of the following statements describes calculated fields?

a)

Calculated fields are only used on fields added by lookups.

b)

Calculated fields are a shortcut for repetitive and complex eval commands.

c)

Calculated fields are a shortcut for repetitive and complex calc commands.

d)

Calculated fields automatically calculate the simple moving average for indexed fields.

30.

Which of the following are required to create a POST workflow action?

a)

Label, URI, search string.

b)

XML attributes, URI, name.

c)

Label, URI, post arguments.

d)

URI, search string, time range picker.

31.

Which of the following is one of the pre-configured data models included in the Splunk Common Information Model (CIM) add-on?

a)

Access

b)

Accounting

c)

Authorization

d)

Authentication

32.

Which of the following statements describe the search below? (Choose all that apply.) index=main | transaction clientip host maxspan=30s maxpause=5s

You Must Select All Correct Answers Below
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

33.

Consider the following search:
index=web sourcetype=access_combined
The log shows several events that share the same JSESSIONID value (SD421K26502F783). View the events as a group.
From the following list, which search groups events by JSESSIONID?

a)

index-web sourcetype=access_combined | transaction JSESSIONID | search SD42IK26502F783

b)

index-web sourcetype=access_combined | highlight JSESSIONID | search SD421K26502F783

c)

index=web sourcetype=access_combined SD42IK26502F783 | table JSESSIONID

d)

index=web sourcetype=access_combined JSESSIONID <SD421K26502F783>

34.

When defining a macro, what are the required elements?

a)

Name and a validation error message.

b)

Definition and arguments.

c)

Name and arguments.

d)

Name and definition.

35.

Where are the descriptions of the data models that come with the Splunk Common Information Model (CIM) Add-on documented?

a)

Pivot users manual.

b)

Search and reporting user manual.

c)

CIM Add-on manual.

d)

Data model command reference guide.

36.

What is the correct syntax to find events associated with a tag?

a)

tag:<field>=<value>

b)

tags=<value>

c)

tags:<field>=<value>

d)

tag=<value>

37.

Which of the following is true about the Splunk Common Information Model (CIM)?

a)

The CIM contains 28 pre-configured datasets.

b)

The data models included in the CIM are configured with data model acceleration turned on.

c)

The data models included in the CIM are configured with data model acceleration turned off.

d)

The CIM is an app that needs to run on the indexer.

38.

Consider the following search run over a time range of last 7 days:

index=web sourcetype=access_combined | timechart avg(bytes) by product_name

Which option is used to change the default time span so that results are grouped into 12 hour intervals?

a)

timespan=12

b)

span=12h

c)

timespan=12h

d)

span=12

39.

When would transaction be used instead of stats?

a)

To have a faster and more efficient search.

b)

To see results of a calculation.

c)

To group events based on start/end values.

d)

To group events based on a single field value.

40.

Given the following eval statement:

... | eval field1 = if(isnotnull(fieid1),field1,0), field2 = if(isnull
Which of the following is the equivalent using fillnull?

a)

There is no equivalent expression using fillnull

b)

... | fillnull values=(0,"NO-VALUE") fields=(field1,field2)

c)

... | fillnull field1|' fillnull value="NO-VALUE" field2

d)

... | fillnull value=0 field1 | fillnull field2

41.

The Splunk Common Information Model (CIM) is a collection of what type of knowledge object?

a)

Saved searches

b)

Lookups

c)

KV Store

d)

Data models

42.

How is a Search Workflow Action configured to run at the same time range as the original search?

a)

Select the "Use the same time range as the search that created the field listing" checkbox.

b)

Set the earliest time to match the original search.

c)

Select the same time range from the time-range picker.

d)

Select the "Overwrite time range with the original search" checkbox.

43.

A calculated field is a shortcut for performing repetitive, long, or complex transformations using which of the following commands?

a)

transaction

b)

eval

c)

lookup

d)

stats

44.

When using the transaction command, how are evicted transactions identified?

a)

_txn field is set to 1, or true.

b)

open_txn field is set to l, or true.

c)

max_txn field is set to 0, or false.

d)

closed_txn field is set to 0, or false.

45.

How are arguments defined within the macro search string?

a)

“arg”

b)

%arg%

c)

$arg$

d)

arg'

46.

Which of the following objects can a calculated field use as a source?

a)

An alias of a field.

b)

A field added by an automatic lookup.

c)

The tag field.

d)

The eventtype field.

47.

How are event types different from saved reports?

a)

Event types can be shared with Splunk users and added to dashboards.

b)

Event types include formatting of the search results.

c)

Event types do not include a time range.

d)

Event types cannot be used to organize data into categories.

48.

When creating a data model, which root dataset requires at least one constraint?

a)

Root event dataset

b)

Root transaction dataset

c)

Root search dataset

d)

Root child dataset

49.

Which search retrieves events with the event type web_errors?

a)

tag=web_errors

b)

eventtype=web_errors

c)

eventtype(web_errors)

d)

eventtype "web_errors"

50.

When used with the timechart command, which value of the limit argument returns all values?

a)

limit=none

b)

limit=all

c)

limit=0

d)

limit=*

51.

Which of the following statements best describes a macro?

a)

A macro is a method of categorizing events based on a search.

b)

A macro is a knowledge object that enables you to schedule searches for specific events.

c)

A macro is a portion of a search that can be reused in multiple places.

d)

A macro is a way to associate an additional (new) name with an existing field name.

52.

The macro weekly_sales(2) contains the search string:

index=games | eval ProductSales = $Price$ * $AmountSold$

Which of the following will return results?

a)

'weekly_sales($3.99$, 10)'

b)

'weekly_sales($3.99$, $10$)'

c)

'weekly_sales(3.99, 10)'

d)

'weekly_sales(3)'

53.

What happens when a user edits the regular expression (regex) field extraction generated in the Field Extractor (FX)?

a)

There is a limit to the number of fields that can be extracted.

b)

The user is unable to return to the automatic field extraction workflow.

c)

The user is unable to preview the extractions.

d)

The extraction is added at index time.

54.

What does the fillnull command replace null values with, if the value argument is not specified?

a)

NULL

b)

0

c)

NaN

d)

N/A

55.

What is the correct syntax for the transaction command?

a)

| transaction(clientip,5m,1m)

b)

| transaction clientip maxspan=5 pause=1

c)

| transaction clientip maxspan=5m maxpause=1m

d)

| transaction(clientip, 5, 1)

56.

What is the Splunk Common Information Model (CIM)?

a)

The CIM is a prerequisite that any data source must meet to be successfully onboarded into Splunk.

b)

The CIM defines an ecosystem of apps that can be fully supported by Splunk.

c)

The CIM provides a methodology to normalize data from different sources and source types.

d)

The CIM is a data exchange initiative between software vendors.

57.

For the following search, which field populates the x-axis?

index=security sourcetype=linux_secure | timechart count by action

a)

_time

b)

sourcetype

c)

action

d)

time

58.

Which knowledge object is used to normalize field names to comply with the Splunk Common Information Model (CIM)?

a)

Event types

b)

Tags

c)

Field alias

d)

Search workflow action

59.

Which of the following transforming commands can be used with transactions?

a)

chart, timechart, stats, eventstats

b)

chart, timechart, stats, diff

c)

chart, timechart, stats, pivot

d)

chart, timechart, datamodel, pivot

60.

What is the correct format for naming a macro with multiple arguments?

a)

monthly_sales[3]

b)

monthly_sales(3)

c)

monthly_sales(argument 1, argument 2, argument 3)

d)

monthly_sales[argument 1, argument 2, argument 3]

61.

What are search macros?

a)

A method to normalize fields.

b)

Lookup definitions in lookup tables.

c)

Categories of search results.

d)

Reusable pieces of search processing language.

62.

How is a macro referenced in a search?

a)

By using the macroname command.

b)

By enclosing the macro name in single-quote characters (').

c)

By using the macro command.

d)

By enclosing the macro name in backtick characters (').

63.

Which of the following statements describes POST workflow actions?

a)

POST workflow actions can open a web page in either the same window or a new window.

b)

POST workflow actions are always encrypted.

c)

POST workflow actions cannot use field values in their URI.

d)

POST workflow actions cannot be created on custom sourcetypes.