Topic 2: Questions Set 2
A field alias is created where field1—fieid2 and the Overwrite Field Values checkbox is selected. What happens if an event only contains values for fieid1?
A. field2 values are removed from the events.
B. field1 and field2 values are merged.
C. field2 values are unchanged.
D. field2 values are replaced with the value of the field1.
Explanation:
The correct answer is D. field2 values are replaced with the value of the field1.
A field alias is a way to associate an additional (new) name with an existing field name. A
field alias can be used to normalize fields from different sources that have different names
but represent the same data. Field aliases can also be used to rename fields for clarity or
convenience1.
When you create a field alias in Splunk Web, you can select the Overwrite Field Values
option to change the behavior of the field alias. This option affects how the Splunk software
handles situations where the original field has no value or does not exist, as well as
situations where the alias field already exists as a field in your events, alongside the
original field2.
If you select the Overwrite Field Values option, the following rules apply:
If the original field does not exist or has no value in an event, the alias field is
removed from that event.
If the original field and the alias field both exist in an event, the value of the alias
field is replaced with the value of the original field.
If you do not select the Overwrite Field Values option, the following rules apply:
If the original field does not exist or has no value in an event, the alias field is
unchanged in that event.
If the original field and the alias field both exist in an event, both fields are retained
with their respective values.
Therefore, if you create a field alias where field1—field2 and select the Overwrite Field
Values option, and an event only contains values for field1, then the value of field2 will be
replaced with the value of field1.
Which type of visualization shows relationships between discrete values in three dimensions?
A. Pie chart
B. Line chart
C. Bubble chart
D. Scatter chart
Which of the following is true about Pivot?
A. Users can save reports from Pivot.
B. Users cannot share visualizations created with Pivot.
C. Users must use SPL to find events in a Pivot.
D. Users cannot create visualizations with Pivot.
Explanation:
In Splunk, Pivot is a tool that allows you to report on a specific data set without using the
Splunk Search Processing Language (SPL™)1. You can use a drag-and-drop interface to
design and generate pivots that present different aspects of your data in the form of tables,
charts, and other visualizations12.
One of the features of Pivot is that it allows you to save your reports1. This can be useful
when you want to reuse a report or share it with others1. Therefore, it’s not true that users
cannot share visualizations created with Pivot or that they must use SPL to find events in a
Pivot12. It’s also not true that users cannot create visualizations with Pivot, as creating visualizations is one of the main functions of Pivot12.
By default search results are not returned in ________ order.
A. Chronological
B. Reverser chronological
C. ASCIE
D. Alphabetical
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.
When using transaction, what is the default maximum span between events?
A. Unlimited
B. 1h
C. 1m
D. 1d
Explanation:
When using the transaction command in Splunk, the default maximum span between
events is set to unlimited. This is indicated by the default value of maxspan=-1, which
corresponds to an “all time” time range.
What is the correct format for naming a macro with multiple arguments?
A. monthly_sales(argument 1, argument 2, argument 3)
B. monthly_sales(3)
C. monthly_sales[3]
D. monthly_sales[argument 1, argument 2, argument 3)
Explanation: The correct format for naming a macro with multiple arguments is monthly_sales3. The square brackets indicate that the macro has arguments, and the number indicates how many arguments it has. The arguments are separated by commas when calling the macro, such as monthly_sales[region,salesperson,date].
The Splunk Common Information Model (CIM) is a collection of what type of knowledge object?
A. KV Store
B. Lookups
C. Saved searches
D. Data models
Explanation: The Splunk Common Information Model (CIM) is a collection of data models that apply a common structure and naming convention to data from any source. A data model is a type of knowledge object that defines the structure and relationships of fields in a dataset. A data model can have one or more datasets, which are subsets of the data model that represent different aspects of the data. For example, the Network Traffic data model has datasets such as All Traffic, DNS, HTTP, etc. The CIM contains 28 pre-configured data models that cover various domains such as authentication, network traffic, web, email, etc. The CIM is implemented as an add-on that contains the JSON files for the data models, documentation, and tools that support the consistent, normalized treatment of data for maximum efficiency at search time.
What is the correct way to name a macro with two arguments?
A. us_sales2
B. us_sales(1,2)
C. us_sale,2
D. us_sales(2)
Which of the following search control will not re-rerun the search? (Select all that apply.)
A. zoom out
B. selecting a bar on the timeline
C. deselect
D. selecting a range of bars on the timelines
Explanation: The timeline is a graphical representation of your search results that shows the distribution of events over time2. You can use the timeline to zoom in or out of a specific time range or to select one or more bars on the timeline to filter your results by that time range2. However, these actions will not re-run the search, but rather refine the existing results based on the selected time range2. Therefore, options B, C and D are correct, while option A is incorrect because zooming out will re-run the search with a broader time range.
Page 8 out of 28 Pages |
Previous |