splunk videos Flashcards

1
Q

_______ and _______ are the time modifiers that override the time range picker in a historical report.
A. earliest
B. latest
C. first
D. last

A

B. latest
A. earliest

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Using earliest=-30d@d latest=@d is how to return results from 30 days ago up until the time the search was executed.
A. TRUE
B. FALSE

A

B. False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What will the strftime function return when using the %H argument? Select all that apply.
A. convert the hour into your local time based on your time zone setting of your Splunk web sessions
B. time of raw event in UTC
C. hour of the event generated at index time

A

A. convert the hour into your local time based on your time zone setting of your Splunk web sessions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Choose the search that will sort events into one minute groups. Select all that apply.
A. | bin _time span=1m
B. | bin _time span=1mins
C. | bin span=1minutes _time

A

A. | bin _time span=1m
B. | bin _time span=1mins
C. | bin span=1minutes _time

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

When using the following search arguments, what will be returned? | timechart count span=1h
A. determine time range of events to scale
B. chart events in 1 hour chunks
C. events in the last 24 hours
D. chart only events over a 1 hour period

A

B. chart events in 1 hour chunks

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

date_time always reflects your local time zone and not the time/date from raw events.
A. True
B. False

A

B. False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

@timeUnit will always round up and go forward through time.
A. True
B. False

A

B. False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Which of the following are default time fields? Select all that apply.
A. date_hour
B. date_mday
C. date_year
D. date_day

A

A. date_hour
B. date_mday
C. date_year

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

True or False: Using an OVER and a BY clause with the chart command will create a multiseries data series.
A. TRUE
B. FALSE

A

A. True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Which of these functions lists ALL values of the field X?
A.list(X)
B.values(X)

A

A. list(X)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

True or False: Only one field can be created when using the eval command.
A. FALSE
B. TRUE

A

A. False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Which of these eval functions takes no arguments?
A. pow
B. min
C. random
D. max

A

C. random

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

When renaming fields with spaces or special characters, use the rename command and include the new field name in ___.
A. Parenthesis
B. Single quotes
C. None of the above
D. Double quotes

A

D. Double quotes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

True or False: You can use wildcards (*) with the rename command to rename multiple fields that match a pattern.
A. FALSE
B. TRUE

A

B. True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

When using the top command, add the BY clause to ___.
A. specify how many results to return
B. return a percentage of events
C. return results grouped by the field you specify in the BY clause
D. specify which search mode to return results by

A

C. return results grouped by the field you specify in the BY clause

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

By default, the sort command lists results in ___ order.
A. Ascending
B. Descending

A

A. Ascending

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

To round numerical values, use the ___ function of the eval command.

A

round

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

The ___(X,Y) eval function returns X to the power of Y.

A

pow

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

If you use the stats command with two functions and a BY clause, which function is the BY clause applied to?
A. both functions if they are both aggregate functions
B. the first function
C. both functions
D. the second function

A

C. Both functions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

To display the least common values of a field, use the ___ command.
A. stats
B. top
C. timechart with common=f option
D. rare

A

D. rare

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

Use ___=false with the chart command if you want to hide the OTHER column.

A

useother

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

The ___ command will always have _time as the X-axis.

A

timechart

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

When you use the stats command with a BY clause, what is returned?
A. a statistical output for each value of the named field
B. an error message because you did not include a statistical function
C. numerical statistics on each field if and only if all of the values of that field are numerical
D. one row

A

A. a statistical output for each value of the named field

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

The eval command calculates an expression and puts the resulting ____ into a new or existing field.
A. command
B. argument
C. value

A

C. value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Q

True or False: Temporary fields created by using eval can be referenced in the search pipeline following creation.
A. TRUE
B. FALSE

A

A. True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
26
Q

True or False: Specify a wildcard by using the * character with the where command.
A. TRUE
B. FALSE

A

B. False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
27
Q

Which of the following functions must be used with the in function? Select all that apply.
A. if
B. validate
C. case
D. sum

A

A. if
C. case

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
28
Q

Which are the Boolean operators that can be used by the eval command? Select all that apply.
A. NAND
B. AND
C. XOR
D. OR

A

B. AND
C. XOR
D. OR

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
29
Q

The where command only returns results that evaluate to TRUE.
A. FALSE
B. TRUE

A

B. True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
30
Q

True or False: eval cannot exist as an expression.
A. FALSE
B. TRUE

A

A. False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
31
Q

What is the order of Boolean Expression of Evaluation for where and eval commands?
A. Expressions with parenthesis, NOT, AND, OR
B. NOT, AND, OR, Expressions with parenthesis
C. AND, OR, NOT, Expressions with parenthesis
D. AND, NOT, Expressions with parenthesis, OR

A

A. Expressions with parenthesis, NOT, AND, OR

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
32
Q

The where command interprets unquoted or single-quoted strings as _____ and double-quoted strings as _____.
A. integers, field values
B. field, field values
C. field values, fields
D. field values, integers

A

B. field, field values

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
33
Q

True of False: When using the eval command, all field values are treated in a case-sensitive manner and must be double-quoted.
A.FALSE
B.TRUE

A

B. True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
34
Q

Which of the following functions can be used to filter null values?
A. usenull=f
B. usenull=t
C. isnotnull
D. isnull

A

C. isnotnull
D. isnull

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
35
Q

True or False: eventstats and streamstats support multiple stats functions, just like stats.
A. True
B. False

A

A. True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
36
Q

You would use the ___ function to convert a string to uppercase and the ___ function to convert a string to lowercase.
A. lowercase(), uppercase()
B. lower(), upper()
C. uppercase(), lowercase()
D. upper(), lower()

A

D. upper(), lower()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
37
Q

True or False: The foreach command can be used without a subsearch.
A. True
B. False

A

B. False

38
Q

Which of these expressions will accurately normalize values from the OperatingSys and CompSys fields into a new field called OS?
A.| eval replace(OperatingSys OR CompSys,OS”
B.| eval OS = case(OperatingSys=OperatingSys,”OS”,CompSys=CompSys,”OS”,true(),”OS”)
C.| eval OS = coalesce(OperatingSys,CompSys)

A

C.| eval OS = coalesce(OperatingSys,CompSys)

39
Q

___ is the process of organizing data to appear similar across all records, making the information easier to search.
A. Splunkification
B. Segmentation
C. Collating
D. Normalization

A

D. Normalization

40
Q

Which two commands when used together are equivalent to chart <fieldA> over <filedB> by <fieldC>? Select all that apply.
A. stats <fieldA> by <fieldB>,<fieldC> followed by xyseries <fieldB> <fieldC> <fieldA>
B. stats <fieldA> by <fieldB>,<fieldC> followed by additional commands and then xyseries <fieldB> <fieldC> <fieldA>
C. stats <fieldA> by <fieldB>,<fieldC> followed by additional commands and then untable <fieldB> <fieldC> <fieldA>
D. stats <fieldA> by <fieldB>,<fieldC> followed by untable <fieldB> <fieldC> <fieldA>

A

A. stats <fieldA> by <fieldB>,<fieldC> followed by xyseries <fieldB> <fieldC> <fieldA>
B. stats <fieldA> by <fieldB>,<fieldC> followed by additional commands and then xyseries <fieldB> <fieldC> <fieldA>

41
Q

Which statement(s) about appendpipe is/are false?
A. Only one appendpipe can exist in a search because the search head can only process two searches simultaneously
B. appendpipe transforms results and adds new lines to the bottom of the results set because appendpipe is always the last command to be executed
C. appendpipe transforms results and adds new lines to the bottom of the results set without overwriting original results
D. The subpipeline is executed only when Splunk reaches the appendpipe command

A

A. Only one appendpipe can exist in a search because the search head can only process two searches simultaneously
B. appendpipe transforms results and adds new lines to the bottom of the results set because appendpipe is always the last command to be executed

42
Q

Which command uses a template subsearch to replace the values of specific fields?
A. replace
B. eval
C. foreach
D. none; commands only use functions to replace field values, not templates or subsearches

A

C. foreach

43
Q

Which of these tostring expressions will format the PROFIT field in the USD currency format, $x,xxx?
A.| eval PROFIT = tostring(“$x,xxx”,PROFIT)
B.| eval PROFIT = tostring(PROFIT,”$”.”commas”)
C.| eval PROFIT = “$”.tostring(PROFIT,”commas”)
D.| eval PROFIT = tostring(PROFIT,”$x,xxx”)

A

C.| eval PROFIT = “$”.tostring(PROFIT,”commas”)

44
Q

True or False: If there is an appendpipe in a search, its subpipeline will always be executed last.
A. TRUE
B. FALSE

A

B. False

45
Q

Transactions contain the _____ field contents and the _____ of the earliest member.
A. _time, timestamp
B. _raw, timestamp
C. host, timestamp
D. source, timestamp

A

B. _raw, timestamp

46
Q

The ______ option controls the maximum total time between the earliest and latest events.
A. maxpause
B. maxspan
C. span
D. minpause

A

B. maxspan

47
Q

Which fields are added to raw events by the transaction command? Select all that apply.
A. _time
B. index
C. duration
D. eventcount

A

C.duration
D.eventcount

48
Q

True or False: The transaction command is resource intensive.
A. True
B. False

A

A. True

49
Q

The ___ command combines results from two or more datasets and returns a single result set.
A. join
B. union
C. append

A

B. union

50
Q

The append command attaches results of a subsearch to the _____ of current results.
A. end
B. start
C. append command does not attach to the current results.

A

A. end

51
Q

True or False: If a transaction fails to meet any conditions, it is evicted from the results.
A. True
B. False

A

A. True

52
Q

Which of the following statements about subsearches are true?
A. Multiple searches can be used.
B. They can be nested.
C. They can not be nested.
D. Great for filtering data.

A

A. Multiple searches can be used.
B. They can be nested.
D. Great for filtering data.

53
Q

When present in a search pipleine, a subsearch is executed _____ and it sends its _____ to the basic search.
A. first, results
B. first, search query
C. last, results
D. last, search query

A

A. first, results

54
Q

If field data is missing, using the _____ command can create misleading results.
A.appendcols
B.union
C.append
D.transaction

A

A.appendcols

55
Q

Which of the following options can be used with the transaction command?
A.endswith
B.startswith
C.maxpause
D.maxevents

A

A.endswith
B.startswith
C.maxpause
D.maxevents

56
Q

True or False: Splunk knowledge objects can only be used privately.
A. True
B. False

A

B. False

57
Q

Which workflow actions require you to specify if the behavior should open in a new window or current window? Select all that apply.
A. GET
B. POST
C. Search
D. PUT

A

A. GET
B. POST
C. Search

58
Q

If you have a tag label called “homeoffice” associated with the field/value pair system_ip=<your>, when you run a search using the tag=homeoffice constraint, what events will be returned?
A. events from _internal
B. events with the value of the system_ip field equal to your ip address
C. field lookup table</your>

A

B. events with the value of the system_ip field equal to your ip address

59
Q

Which function is used to send field values externally in Workflow Actions?
A. Search
B. POST
C. PUT
D. GET

A

B. POST

60
Q

Field aliases are applied after _________ and before ________ . Select all that apply.
A.lookups, field extractions
B.tags, field extractions
C.field extractions, tags
D.field extractions, lookups

A

C.field extractions, tags
D.field extractions, lookups

61
Q

Select all knowledge objects.
A. lookups
B. users
C. workflow actions
D. field aliases

A

A.lookups
C.workflow actions
D.field aliases

62
Q

When adding arguments to a macro, include the number of arguments in_____
A. Parentheses after the macro name
B. Using the pipe function
C. Dollar signs with the search definition
D. Parentheses before the macro name

A

A. Parentheses after the macro name

63
Q

To search for a tag associated with a value on a specific field, select the correct string.
A. tag::user=privileged
B. tag=user::privileged
C. tag=user=privileged
D. tag-user::privileged

A

A. tag::user=privileged

64
Q

Surround the macro name with the _____ when executing the macro in search.
A. Single quote character
B. Dollar sign
C. Double quote character
D. Backtick character

A

D. Backtick character

65
Q

To perform a secondary search, use a _______ workflow action
A. PUT
B. POST
C. GET
D. Search

A

D. Search

66
Q

Which statements best describe an Event Type. Select all that apply.
A. Allow users to interact with web resources
B. Can be used to normalize field names, tags and field extractions
C. tags, field extractions
D. Categorizes events based on search constraints

A

B. Can be used to normalize field names, tags and field extractions
D. Categorizes events based on search constraints

67
Q

Which of the following are ways you can create an event type. Select all that apply.
A. From event details, select Event Actions > Build Event Type
B. Settings > Event types > “New Event Type”
C. Run a search, then save as Event Type

A

A. From event details, select Event Actions > Build Event Type
B. Settings > Event types > “New Event Type”
C. Run a search, then save as Event Type

68
Q

Which statement best describes the function of a Workflow Action (Select all that apply)
A. Allows users to interact with web resources
B. Sends field values to an external source
C. Uses field values to perform a secondary search
D. Retrieves information from an external source

A

A. Allows users to interact with web resources
B. Sends field values to an external source
C. Uses field values to perform a secondary search
D. Retrieves information from an external source

69
Q

When using regex for field extraction, what’s the first thing you have to do in the Field Extractor?
A. Provide a Field Name
B. Set the Extractions Name and set permissions
C. Select a value to extract
D. Edit the regular expression

A

C. Select a value to extract

70
Q

True or False. Fields can be extracted only after indexing is complete.
A. FALSE
B. TRUE

A

A. False

71
Q

True or False: If you manually edit the regular expression in the Field Extractor Utility then you will not be able to go back to validate the results.
A. FALSE
B. TRUE

A

B. True

72
Q

Which of the following statements are true about a Regex “capture”?
A. Captures a matching pattern
B. Allows the Regex to be case insensitive
C. Defined with a matching parenthesis: ()
D. Can be referenced with a given name using: ?<name>

A

A. Captures a matching pattern
C. Defined with a matching parantheses: ()
D. Can be referenced with a given name using: ?<name>

73
Q

Which of the following character delimiters are supported for a delimited field extraction?
A. space
B. pipe
C. tab
D. comma

A

A. space
B. pipe
C. tab
D. comma

74
Q

Which of the following Regex operator can most severly impact performance, and may be considered “greedy”?
A. * (asterisk)
B. + (plus sign)
C. . (period)
D. \ (backslash)

A

A. * (asterisk)

75
Q

Use this field extraction method when fields are separated by spaces, commas, or characters.
A. delimited field extractions
B. regex field extractions
C. rename field extractions

A

A. delimited field extractions

76
Q

There are three ways to get to the Field Extractor (FX). Select all that apply.
A. Settings menu
B. Auto-Extract Fields Workflow
C. Fields sidebar
D. Event Actions menu

A

A. Settings menu
C. Fields sidebar
D. Event Actions menu

77
Q

Which of the following strings match this Regular Expression: c.t
A. c.t
B. c#t
C. c99t
D. cat

A

A. c.t
B. c#t
D. cat

78
Q

What functionality is provided to allow collaboration with other Splunk users to create, modify or test data models?
A. The data model “clone” functionality
B. Downloading and uploading data models
C. Splunk user integration, such as LDAP
D. Creating data models in the Search & Reporting app

A

B. Downloading and uploading data models

79
Q

Data models contain the following. Select all that apply.
A. event object hierarchy
B. constraints
C. inherited and extracted fields

A

A. event object hierarchy
B. constraints
C. inherited and extracted fields

80
Q

Which of the following accurately describes data models? Select all that apply.
A. Can be used by the Pivot interface to generate reports and dashboard panels
B. Must contain at least one of each dataset: Events, Searches, and Transactions
C. Can only be designed by users with the admin role
D. A knowledge object that applies information structure to raw data

A

A. Can be used by the Pivot interface to generate reports and dashboard panels
D. A knowledge object that applies information structure to raw data

81
Q

When creating a data model, which of the following is true? Select all that apply.
A. As the title is entered an ID is automatically generated.
B. Only the Search & Reporting and Monitoring Console apps can be selected.
C. The process fails if you are not logged in as an admin user.
D. Splunk highly recommends overriding the default ID to prevent confusion.

A

A. As the title is entered an ID is automatically generated.

82
Q

True of False: You can only split a pivot with a maximum of one row or column.
A. TRUE
B. FALSE

A

B. False

83
Q

To add a Root Event Dataset, what field is required to be manually added?
A. Dataset ID
B. Dataset Name
C. Duration maxpause maxspan

A

B. Dataset Name

84
Q

Which of the following do all event datasets contain? Select all that apply.
A. Fields
B. Children
C. Purchases
D. Constraints

A

A. Fields
D. Constraints

85
Q

By default, the sort command lists results in __________ order.
A. descending
B. ascending

A

B. ascending

86
Q

True or False: A constraint inherited by the children dataset from the parent dataset can be removed.
A. TRUE
B. FALSE

A

B. FALSE

87
Q

A data model can consist of the following three types of datasets. Select all that apply.
A. events
B. transactions
C. Pivot reports
D. searches

A

A. events
B. transactions
D. searches

88
Q

What do Pivots require to create visualizations in Splunk? Select all that apply.
A. lookups
B. spreadsheets
C. data models
D. web filters

A

A. lookups
C. data models

89
Q

Which of the following accurately describes pivots? Select all that apply.
A. Alternate method to access data without using search language
B. Quick way to design visualizations of data using Splunk Web
C. Requires the use of simplified search language
D. Requires use of datasets

A

A. Alternate method to access data without using search language
B. Quick way to design visualizations of data using Splunk Web
D. Requires use of datasets

90
Q

When adding fields to a dataset, which of the following creates a new field based on an expression that you define?
A. Eval Expression
B. Geo IP
C. Auto-Extracted
D. Lookup

A

A. Eval Expression

91
Q

What is required to configure persistent data model acceleration?
A. All 3 root dataset types: events, search, and transaction
B. A user accessing a data model dataset in Pivot
C. A user role with the accelerate_datamodel capability
D. A private data model

A

C. A user role with the accelerate_datamodel capability

92
Q

What occurs when setting a field flag to Hidden?
A. The field is not displayed to Pivot users when they select the dataset in Pivot.
B. The field doesn’t have to appear in every event.
C. Only events that contain the field are returned.
D. Constraints will ignore the use of this field.

A

A. The field is not displayed to Pivot users when they select the dataset in Pivot.