ExamGecko
Home Home / Splunk / SPLK-1001

Splunk SPLK-1001 Practice Test - Questions Answers

Question list
Search
Search

What is the correct syntax to count the number of events containing a vendor_action field?

A.
count stats vendor_action
A.
count stats vendor_action
Answers
B.
count stats (vendor_action)
B.
count stats (vendor_action)
Answers
C.
stats count (vendor_action)
C.
stats count (vendor_action)
Answers
D.
stats vendor_action (count)
D.
stats vendor_action (count)
Answers
Suggested answer: C

Explanation:

The stats command calculates statistics based on fields in the events. The count function counts the number of events that match the criteria. The syntax is stats count (field_name), where field_name is the name of the field that contains the value to be counted. In this case, vendor_action is the field name, so stats count (vendor_action) is the correct syntax.

Reference:Splunk Core User Certification Exam Study Guide, page 23.


By default, which of the following fields would be listed in the fields sidebar under interesting Fields?

A.
host
A.
host
Answers
B.
index
B.
index
Answers
C.
source
C.
source
Answers
D.
sourcetype
D.
sourcetype
Answers
Suggested answer: D

Explanation:

The fields sidebar in Splunk shows the default fields and the interesting fields for the events that match your search. The default fields are host, source, and sourcetype, which are extracted for every event at index time. The interesting fields are fields that appear in at least 20% of the events in your search results.You can also select additional fields to display in the fields sidebar1.

By default, the index field is not listed in the fields sidebar, because it is not a default field nor an interesting field. The index field is a metadata field that indicates which index the event belongs to. Metadata fields are not extracted from the event data, but are added by the indexer as part of the indexing process.Metadata fields are not shown in the fields sidebar, but you can use them in your search queries2.

Therefore, among the four options, only sourcetype would be listed in the fields sidebar under interesting fields by default.

Reference

Use fields to search

About default fields


When looking at a dashboard panel that is based on a report, which of the following is true?

A.
You can modify the search string in the panel, and you can change and configure the visualization.
A.
You can modify the search string in the panel, and you can change and configure the visualization.
Answers
B.
You can modify the search string in the panel, but you cannot change and configure the visualization.
B.
You can modify the search string in the panel, but you cannot change and configure the visualization.
Answers
C.
You cannot modify the search string in the panel, but you can change and configure the visualization.
C.
You cannot modify the search string in the panel, but you can change and configure the visualization.
Answers
D.
You cannot modify the search string in the panel, and you cannot change and configure the visualization.
D.
You cannot modify the search string in the panel, and you cannot change and configure the visualization.
Answers
Suggested answer: C

Explanation:

When looking at a dashboard panel that is based on a report, you cannot modify the search string in the panel, but you can change and configure the visualization. This is because the dashboard panel inherits the search string from the report, and any changes to the search string will affect the report as well. However, you can customize the visualization settings for the dashboard panel without affecting the report.

Reference:Splunk Core User Certification Exam Study Guide, page 37.


Which of the following is a best practice when writing a search string?

A.
Include all formatting commands before any search terms
A.
Include all formatting commands before any search terms
Answers
B.
Include at least one function as this is a search requirement
B.
Include at least one function as this is a search requirement
Answers
C.
Include the search terms at the beginning of the search string
C.
Include the search terms at the beginning of the search string
Answers
D.
Avoid using formatting clauses as they add too much overhead
D.
Avoid using formatting clauses as they add too much overhead
Answers
Suggested answer: C

Explanation:

A best practice when writing a search string is to include the search terms at the beginning of the search string. This helps Splunk narrow down the events that match your search criteria and improve the search performance. Formatting commands and functions can be added later in the search pipeline to manipulate and display the results.

Reference:Splunk Core User Certification Exam Study Guide, page 13.


What type of search can be saved as a report?

A.
Any search can be saved as a report
A.
Any search can be saved as a report
Answers
B.
Only searches that generate visualizations
B.
Only searches that generate visualizations
Answers
C.
Only searches containing a transforming command
C.
Only searches containing a transforming command
Answers
D.
Only searches that generate statistics or visualizations
D.
Only searches that generate statistics or visualizations
Answers
Suggested answer: D

Explanation:

Only searches that generate statistics or visualizations can be saved as a report. These are searches that contain a transforming command, such as stats, chart, timechart, top, rare, etc. Transforming commands create a data table from the events and enable various types of visualizations. Searches that do not contain a transforming command can only be saved as an alert or a dashboard panel.

Reference:Splunk Core User Certification Exam Study Guide, page 35.


What can be included in the All Fields option in the sidebar?

A.
Dashboards
A.
Dashboards
Answers
B.
Metadata only
B.
Metadata only
Answers
C.
Non-interesting fields
C.
Non-interesting fields
Answers
D.
Field descriptions
D.
Field descriptions
Answers
Suggested answer: C

What syntax is used to link key/value pairs in search strings?

A.
action+purchase
A.
action+purchase
Answers
B.
action=purchase
B.
action=purchase
Answers
C.
action | purchase
C.
action | purchase
Answers
D.
action equal purchase
D.
action equal purchase
Answers
Suggested answer: B

When viewing the results of a search, what is an Interesting Field?

A.
A field that appears in any event
A.
A field that appears in any event
Answers
B.
A field that appears in every event
B.
A field that appears in every event
Answers
C.
A field that appears in the top 10 events
C.
A field that appears in the top 10 events
Answers
D.
A field that appears in at least 20% of the events
D.
A field that appears in at least 20% of the events
Answers
Suggested answer: D

What syntax is used to link key/value pairs in search strings?

A.
Parentheses
A.
Parentheses
Answers
B.
@ or # symbols
B.
@ or # symbols
Answers
C.
Quotation marks
C.
Quotation marks
Answers
D.
Relational operators such as =, <, or >
D.
Relational operators such as =, <, or >
Answers
Suggested answer: D

When a Splunk search generates calculated data that appears in the Statistics tab. in what formats can the results be exported?

A.
CSV, JSON, PDF
A.
CSV, JSON, PDF
Answers
B.
CSV, XML JSON
B.
CSV, XML JSON
Answers
C.
Raw Events, XML, JSON
C.
Raw Events, XML, JSON
Answers
D.
Raw Events, CSV, XML, JSON
D.
Raw Events, CSV, XML, JSON
Answers
Suggested answer: D
Total 246 questions
Go to page: of 25