examtopics Flashcards
Which delimiters can the Field Extractor (FX) detect? (Choose all that apply.)
* A. Tabs
* B. Pipes
* C. Spaces
* D. Commas
A. Tabs
B. Pipes
C. Spaces
D. Commas
Fun2 p176
What does the Splunk Common Information Model (CIM) add-on include? (Choose all that apply.)
* A. Custom visualizations
* B. Pre-configured data models
* C. Fields and event category tags
* D. Automatic data model acceleration
B. Pre-configured data models
C. Fields and event category tags
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.
C. The data models included in the CIM are configured with data model acceleration turned off.
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.
B. Calculated fields are a shortcut for repetitive and complex eval commands.
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.
A. The description field would contain no value
(F2 s.112)
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.
B. Two.
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>
C. Tags can make your data more understandable
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>
- A. index-web sourcetype=access_combined | transaction JSESSIONID | search SD42IK26502F783
Data models are composed of one or more of which of the following datasets? (Choose all that apply.)
* A. Events datasets
* B. Search datasets
* C. Transaction datasets
* D. Any child of event, transaction, and search datasets
A. Events datasets
B. Search datasets
C. Transaction datasets
NOT D. MAX CONFIRMED NOT D, I REPEAT, NOT D
(Max verkar vara väldigt säker på det här)
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>
D. tag=<value>
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.
D. Name and definition
Which of the following statements describe the search below? (Choose all that apply.) index=main | 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. Events in the transaction occurred within 5 seconds.
B. It groups events that share the same clientip and host.
D. The first and last events are no more than 30 seconds apart
???
B. It groups events that share the same clientip and host.
D. The first and last events are no more than 30 seconds apart
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.
D. Data model dataset name
Data model fields can be added using the Auto-Extracted method.
Which of the following statements describe Auto-Extracted fields? (Choose 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.
All
Which type of visualization shows relationships between discrete values in three dimensions?
* A. Pie chart
* B. Line chart
* C. Bubble chart
* D. Scatter chart
C. Bubble chart
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.
C. CIM Add-on manual.
Which of the following searches show a valid use of a macro? (Choose 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
??? A, B, C tycker Zeff är korrekt
Which of the following statements about macros is true? (Choose 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. Arguments are defined when the macro is created.
C. Argument values are used to resolve the search string at execution time.
Which group of users would most likely use pivots?
* A. Users
* B. Architects
* C. Administrators
* D. Knowledge Managers
A. Users.
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. Create or replace an existing field.
When multiple event types with different color values are assigned to the same event, what determines the color displayed for the event?
* A. Rank
* B. Weight
* C. Priority
* D. Precedence
C.Priority
In which of the following scenarios is an event type more effective than a saved search?
* A. When a search should always include the same time range.
* B. When a search needs to be added to other users’ dashboards.
* C. When the search string needs to be used in future searches.
* D. When formatting needs to be included with the search string.
C. When the search string needs to be used in future searches.
(F2 s.207)
When using timechart, how many fields can be listed after a by clause?
* A. 0, because timechart doesn’t support using a by clause.
* B. 1, because _time is already implied as the x-axis.
* C. 2, 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. 1, because _time is already implied as the x-axis.
(F2 s.67)
When using | timechart by host, which field is represented in the x-axis?
* A. date
* B. host
* C. time
* D. _time
D. _time
(P.57, part2)