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)
Which of the following searches would return a report of sales by product_name?
* A. chart sales by product_name
* B. chart sum(price) as sales by product_name
* C. stats sum(price) as sales over product_name
* D. timechart list(sales), values(product_name)
B. chart sum(price) as sales by product_name
Which of the following eval command functions is valid?
* A. int()
* B. count()
* C. print()
* D. tostring()
D. tostring()
When should transaction be used?
* A. Only in a large distributed Splunk environment.
* B. When calculating results from one or more fields.
* C. When event grouping is based on start/end values.
* D. When grouping events results in over 1000 events in each group.
C. When event grouping is based on start/end values.
(p.135 part 2)
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.
B. To retrieve information from an external resource
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.)
* A. Fast mode is enabled.
* B. The dashboard is private.
* C. The extraction is private.
* D. The person in the organization running the report does not have access to the index.
C. The extraction is private.
D. The person in the organization running the report does not have access to the index.
Which of the following statements about event types is true? (Choose all that apply.)
* A. Event types can be tagged.
* B. Event types must include a time range.
* C. Event types categorize events based on a search.
* D. Event types can be a useful method for capturing and sharing knowledge.
A. Event types can be tagged.
C. Event types categorize events based on a search.
D. Event types can be a useful method for capturing and sharing knowledge.
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?
* A. It doesn’t matter whether eval or sort is used first.
* B. Convert the numeric to a string with eval first, then sort.
* C. Use sort first, then convert the numeric to a string with eval.
* D. You cannot use the sort command and the eval command on the same field.
C. Use sort first, then convert the numeric to a string with eval.
(p.107, part2)
Which of the following statements about tags is true? (Choose all that apply.)
* A. Tags are case-insensitive.
* B. Tags are based on field/value pairs.
* C. Tags categorize events based on a search.
* D. Tags are designed to make data more understandable.
B. Tags are based on field/value pairs.
D. Tags are designed to make data more understandable
Which workflow action method can be used when the action type is set to link?
A. GET
B. PUT
C. Search
D. UPDATE
A. GET
(Kan vara POST också, s.223 F2)
Which of the following knowledge objects represents the output of an eval expression?
* A. Eval fields
* B. Calculated fields
* C. Field extractions
* D. Calculated lookups
B. Calculated fields
Which Knowledge Object does the Splunk Common Information Model (CIM) use to normalize data, in addition to field aliases, event types, and tags?
* A. Macros
* B. Lookups
* C. Workflow actions
* D. Field extractions
B. Lookups
might be D. Field extractions aswell if this is a multi-answer question
Which of the following statements describe the command below? (Choose all that apply.) sourcetype=access_combined | transaction JSESSIONID
* A. An additional field named maxspan is created.
* B. An additional field named duration is created.
* C. An additional field named eventcount is created.
* D. Events with the same JSESSIONID will be grouped together into a single event.
B. An additional field named duration is created.
C. An additional field named eventcount is created.
D. Events with the same JSESSIONID will be grouped together into a single event.
(F2 s.126+129)
Which of the following statements describe calculated fields? (Choose all that apply.)
* A. Calculated fields can be used in the search bar.
* B. Calculated fields can be based on an extracted field.
* C. Calculated fields can only be applied to host and sourcetype.
* D. Calculated fields are shortcuts for performing calculations using the eval command.
A. Calculated fields can be used in the search bar.
B. Calculated fields can be based on an extracted field.
D. Calculated fields are shortcuts for performing calculations using the eval command.
???
A. Calculated fields can be used in the search bar.
D. Calculated fields are shortcuts for performing calculations using the eval command.
(p.188 part 2)
Information needed to create a GET workflow action includes which of the following? (Choose all that apply.)
* A. A name for the workflow action.
* B. A URI where the user will be directed at search time.
* C. A label that will appear in the Event Action menu at search time.
* D. A name for the URI where the user will be directed at search time.
A. A name for the workflow action.
B. A URI where the user will be directed at search time.
C. A label that will appear in the Event Action menu at search time.
???
A. A name for the workflow action.
C. A label that will appear in the Event Action menu at search time.
(F2 s.219-220)
Which of the following statements describe the search string below?
| datamodel Application_State All_Application_State search
* A. Events will be returned from dataset named Application_State.
* B. Events will be returned from the data model named Application_State.
* C. Events will be returned from the data model named All_Application_State.
* D. No events will be returned because the pipe should occur after the datamodel command.
B. Events will be returned from the data model named Application_State.
kolla tavlan!!!!!!!!
What does the following search do?
index=corndog type= mysterymeat action=eaten | stats count as corndog_count by user
* A. Creates a table of the total count of users and split by corndogs.
* B. Creates a table of the total count of mysterymeat corndogs split by user.
* C. Creates a table with the count of all types of corndogs eaten split by user.
* D. Creates a table that groups the total number of users by vegetarian corndogs.
B. Creates a table of the total count of mysterymeat corndogs split by user.