今すぐSPLK-1002問題を使おうSPLK-1002問題集PDF
問題集練習試験問題学習ガイドはSPLK-1002試験合格させます
SPLK-1002試験は時限試験であり、候補者は50分の複数選択の質問を完了するために57分かかります。この試験では、コマンドの検索と報告、フィールド抽出と変換、検索、ダッシュボードとアラートの作成など、さまざまなトピックをカバーしています。試験は100〜1000のスケールで採点され、認定を取得するには700以上の合格スコアが必要です。
Splunk Core Certified Powerユーザー試験としても知られるSplunk SPLK-1002は、Splunk Coreの知識とスキルを検証したい専門家向けに設計された認定試験です。この試験は、候補者の検索、フィールドの使用、アラートの作成、ルックアップの使用、Splunkの基本的な統計レポートとダッシュボードの作成に関する包括的な評価です。この試験は、Splunk Coreにおける候補者の専門知識を実証する業界に認識された認定であり、雇用市場で際立っているのを支援しています。
質問 # 68
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 that groups the total number of users by vegetarian corndogs.
- C. Creates a table of the total count of mysterymeat corndogs split by user.
- D. Creates a table with the count of all types of corndogs eaten split by user.
正解:D
質問 # 69
Why would the following search produce multiple transactions instead of one?
- A. The transaction command has a limit of 1000 events per transaction.
- B. The stats list () function is used.
- C. The maxspan option is not included.
- D. The transaction and commands cannot be used together.
正解:C
解説:
The correct answer isA. The maxspan option is not included1.
In Splunk, thetransactioncommand is used to group events that share common characteristics into a single
transaction1.By default, thetransactioncommand groups all matching events into a single transaction1.
However, you can use themaxspanoption to limit the time span of the transactions1.If the time span between
the first and last event in a transaction exceeds themaxspanvalue, thetransactioncommand will start a new
transaction1.
Therefore, if themaxspanoption is not included in the search, thetransactioncommand might produce multiple
transactions instead of one if the time span between the first and last event in a transaction exceeds the
defaultmaxspanvalue1.
Here is an example of how you can use themaxspanoption in a search:
index=main sourcetype=access_combined | transaction someuniqefield maxspan=1h
In this search, thetransactioncommand groups events that share the samesomeuniqefieldvalue into a single
transaction, but only if the time span between the first and last event in the transaction does not exceed 1
hour1.If the time span exceeds 1 hour, thetransactioncommand will start a new transaction1.
質問 # 70
What are search macros?
- A. Reusable pieces of search processing language.
- B. A method to normalize fields.
- C. Categories of search results.
- D. Lookup definitions in lookup tables.
正解:A
解説:
The correct answer isB. Reusable pieces of search processing language.
The explanation is as follows:
Search macros are knowledge objects that allow you to insert chunks of SPL into other searches12.
Search macros can be any part of a search, such as an eval statement or a search term, and do not need to
be a complete command12.
You can also specify whether the macro field takes any arguments and define validation expressions for
them12.
Search macros can help you make your SPL searches shorter and easier to understand3.
To use a search macro in a search string, you need to put a backtick character () before and after the
macro name[^1^][1]. For example,mymacro`.
質問 # 71
When should the regular expression mode of Field Extractor (FX) be used? (select all that apply)
- A. For data with multiple, different characters separating fields.
- B. For data cleanly separated by a space, a comma, or a pipe character.
- C. For unstructured data.
- D. For data in a CSV (comma-separated value) file.
正解:A、C
解説:
The regular expression mode of Field Extractor (FX) should be used for data with multiple, different characters separating fields or for unstructured data. The regular expression mode allows you to select a sample event and highlight the fields that you want to extract, and the field extractor generates a regular expression that matches similar events and extracts the fields from them.ReferencesSee Build field extractions with the field extractor - Splunk Documentation and Field Extractor: Select Method step - Splunk Documentation.
質問 # 72
A calculated field is a shortcut for performing repetitive, long, or complex transformations using which of the
following commands?
- A. eval
- B. transaction
- C. lookup
- D. stats
正解:A
解説:
The correct answer is D. eval.
A calculated field is a field that is added to events at search time by using an eval expression. A calculated
field can use the values of two or more fields that are already present in the events to perform calculations. A
calculated field can be defined with Splunk Web or in the props.conf file.They can be used in searches,
reports, dashboards, and data models like any other extracted field1.
A calculated field is a shortcut for performing repetitive, long, or complex transformations using the eval
command. The eval command is used to create or modify fields by using expressions.The eval command can
perform mathematical, string, date and time, comparison, logical, and other operations on fields or values2.
For example, if you want to create a new field named total that is the sum of two fields named price and tax,
you can use the eval command as follows:
| eval total=price+tax
However, if you want to use this new field in multiple searches, reports, or dashboards, you can create a
calculated field instead of writing the eval command every time. To create a calculated field with Splunk Web,
you need to go to Settings > Fields > Calculated Fields and enter the name of the new field (total), the name of
the sourcetype (sales), and the eval expression (price+tax). This will create a calculated field named total that
will be added to all events with the sourcetype sales at search time.You can then use the total field like any
other extracted field without writing the eval expression1.
The other options are not correct because they are not related to calculated fields. These options are:
A: transaction: This command is used to group events that share some common values into a single
record, called a transaction.A transaction can span multiple events and multiple sources, and can be
useful for correlating events that are related but not contiguous3.
B: lookup: This command is used to enrich events with additional fields from an external source, such as
a CSV file or a database. A lookup can add fields to events based on the values of existing fields, such
as host, source, sourcetype, or any other extracted field.
C: stats: This command is used to calculate summary statistics on the fields in the search results, such as
count, sum, average, etc. It can be used to group and aggregate data by one or more fields.
References:
About calculated fields
eval command overview
transaction command overview
[lookup command overview]
[stats command overview]
質問 # 73
A field alias has been created based on an original field. A search without any transforming commands is then executed in Smart Mode. Which field name appears in the results?
- A. Both will appear in the Interesting Fields list, but only if they appear in at least 20 percent of events.
- B. The original field only appears in All Fields list and the alias only appears in the Interesting Fields list.
- C. The alias only appears in the All Fields list and the original field only appears in the Interesting Fields list.
- D. Both will appear in the All Fields list, but only if the alias is specified in the search.
正解:A
解説:
A field alias is a way to assign an alternative name to an existing field without changing the original field name or value2. You can use field aliases to make your field names more consistent or descriptive across different sources or sourcetypes2. When you run a search without any transforming commands in Smart Mode, Splunk automatically identifies and displays interesting fields in your results2. Interesting fields are fields that appear in at least 20 percent of events or have high variability among values2. If you have created a field alias based on an original field, both the original field name and the alias name will appear in the Interesting Fields list if they meet these criteria2. However, only one of them will appear in each event depending on which one you have specified in your search string2. Therefore, option B is correct, while options A, C and D are incorrect.
質問 # 74
Which of the following can be used with the eval command tostring function (select all that apply)
- A. ''duration''
- B. ''Decimal''
- C. ''hex''
- D. ''commas''
正解:A、C、D
解説:
https://docs.splunk.com/Documentation/Splunk/8.1.0/SearchReference/ConversionFunctions#tostring.28X.2CY.
The tostring function in the eval command converts a numeric value to a string value. It can take an optional second argument that specifies the format of the string value. Some of the possible formats are:
* hex: converts the numeric value to a hexadecimal string.
* commas: adds commas to separate thousands in the numeric value.
* duration: converts the numeric value to a human-readable duration string, such as "2h 3m 4s".
Therefore, the formats A, B, and D can be used with the tostring function.
質問 # 75
These kinds of charts represent a series in a single bar with multiple sections
- A. Omit nulls
- B. Multi-Series
- C. Stacked
- D. Split-Series
正解:C
解説:
Explanation
Stacked charts represent a series in a single bar with multiple sections. A chart is a graphical representation of data that shows trends, patterns, or comparisons. A chart can have different types, such as column, bar, line, area, pie, etc. A chart can also have different modes, such as split-series, multi-series, stacked, etc. A stacked chart is a type of chart that shows multiple series in a single bar or area with different sections for each series
質問 # 76
Which of the following knowledge objects can reference field aliases?
- A. Calculated fields, lookups, event types, and extracted fields.
- B. Calculated fields and event types only.
- C. Calculated fields and tags only.
- D. Calculated fields, lookups, event types, and tags.
正解:D
解説:
Field aliases in Splunk are alternate names assigned to fields. These can be particularly useful for normalizing data from different sources or simply for making field names more intuitive. Once an alias is created for a field, it can be used across various Splunk knowledge objects, enhancing their flexibility and utility.
A: Calculated fields, lookups, event types, and tags: This is the correct answer. Field aliases can indeed be referenced in calculated fields, lookups, event types, and tags within Splunk. When you create an alias for a field, that alias can then be used in these knowledge objects just like any standard field name.
* Calculated fields: These are expressions that can create new field values based on existing data. You can use an alias in a calculated field expression to refer to the original field.
* Lookups: These are used to enrich your event data by referencing external data sources. If you've created an alias for a field that matches a field in your lookup table, you can use that alias in your lookup configurations.
* Event types: These are classifications for events that meet certain search criteria. You can use field aliases in the search criteria for defining an event type.
* Tags: These allow you to assign meaningful labels to data, making it easier to search and report on. You can use field aliases in the search criteria that you tag.
質問 # 77
Which of the following statements describes Search workflow actions?
- A. Search workflow actions can be configured as scheduled searches,
- B. The user can define the time range of the search when created the workflow action.
- C. By default. Search workflow actions will run as a real-time search.
- D. Search workflow actions cannot be configured with a search string that includes the transaction command
正解:B
解説:
Search workflow actions are custom actions that run a search when you click on a field value in your search results. Search workflow actions can be configured with various options, such as label name, search string, time range, app context, etc. One of the options is to define the time range of the search when creating the workflow action. You can choose from predefined time ranges, such as Last 24 hours, Last 7 days, etc., or specify a custom time range using relative or absolute time modifiers. Search workflow actions do not run as real-time searches by default, but rather use the same time range as the original search unless specified otherwise. Search workflow actions cannot be configured as scheduled searches, as they are only triggered by user interaction. Search workflow actions can be configured with any valid search string that includes any search command, such as transaction.
質問 # 78
When using a field value variable with a Workflow Action, which punctuation mark will escape the data
- A. !
- B. *
- C. ^
- D. #
正解:A
解説:
When using a field value variable with a Workflow Action, the exclamation mark (!) will escape the data. A Workflow Action is a custom action that performs a task when you click on a field value in your search results. A Workflow Action can be configured with various options, such as label name, base URL, URI parameters, post arguments, app context, etc. A field value variable is a placeholder for the field value that will be used to replace the variable in the URL or post argument of the Workflow Action. A field value variable is written as fieldname, where field_name is the name of the field whose value will be used. However, if the field value contains special characters that need to be escaped, such as spaces, commas, etc., you can use the exclamation mark (!) before and after the field value variable to escape the data. For example, if you have a field value variable host, you can write it as !$host! to escape any special characters in the host field value.
Therefore, option B is the correct answer.
質問 # 79
Which of the following statements describe the search below? (select all that apply) Index=main I transaction clientip host maxspan=30s maxpause=5s
- A. It groups events that share the same clientip and host.
- B. The first and last events are no more than 5 seconds apart.
- C. The first and last events are no more than 30 seconds apart.
- D. Events in the transaction occurred within 5 seconds.
正解:A、C、D
解説:
Explanation
The search below groups events by two or more fields (clientip and host), creates transactions with start and end constraints (maxspan=30s and maxpause=5s), and calculates the duration of each transaction.
index=main | transaction clientip host maxspan=30s maxpause=5s
The search does the following:
It filters the events by the index main, which is a default index in Splunk that contains all data that is not sent to other indexes.
It uses the transaction command to group events into transactions based on two fields: clientip and host.
The transaction command creates new events from groups of events that share the same clientip and host values.
It specifies the start and end constraints for the transactions using the maxspan and maxpause arguments. The maxspan argument sets the maximum time span between the first and last events in a transaction. The maxpause argument sets the maximum time span between any two consecutive events in a transaction. In this case, the maxspan is 30 seconds and the maxpause is 5 seconds, meaning that any transaction that has a longer time span or pause will be split into multiple transactions.
It creates some additional fields for each transaction, such as duration, eventcount, startime, etc. The duration field shows the time span between the first and last events in a transaction.
質問 # 80
Select this in the fields sidebar to automatically pipe you search results to the rare command
- A. events with this field
- B. top values by time
- C. top values
- D. rare values
正解:D
質問 # 81
The timechart command is an example of which of the following command types?
- A. Statistical
- B. Generating
- C. Transforming
- D. Orchestrating
正解:C
解説:
The correct answer is B. Transforming.
The explanation is as follows:
* The timechart command is a Splunk command that creates a time series chart with corresponding table of statistics12.
* A timechart is a statistical aggregation applied to a field to produce a chart, with time used as the X-axis1. You can specify a split-by field, where each distinct value of the split-by field becomes a series in the chart1.
* Transforming commands are commands that change the format of the search results into a data structure that can be easily visualized3. Transforming commands often use stats functions to aggregate and summarize data3.
* Therefore, the timechart command is an example of a transforming command, as it transforms the search
* results into a chart and a table using stats functions123.
質問 # 82
When using multiple expressions in a single eval command, which delimiter is used?
- A. , (comma)
- B. : (colon)
- C. / (forward slash)
- D. I (pipe)
正解:A
解説:
When using multiple expressions in a single eval command in Splunk, the delimiter used is a comma (,). This allows for the execution of multiple operations within a single eval statement, separating each operation clearly.
References:
* Splunk Docs: Eval command
* Splunk Answers: Multiple expressions in eval
質問 # 83
What do events in a transaction have in common?
- A. All events in a transaction must be related by one or more fields.
- B. All events in a transaction must have the same timestamp.
- C. All events in a transaction must have the exact same set of fields.
- D. All events in a transaction must have the same sourcetype.
正解:D
解説:
Explanation/Reference: https://docs.splunk.com/Documentation/Splunk/8.0.3/Knowledge/Abouttransactions
質問 # 84
Which statement is true?
- A. Pivot is used for creating reports and dashboards.
- B. In most cases, each Splunk user will create their own data model.
- C. Data model are randomly structured datasets.
- D. Pivot is used for creating datasets.
正解:A
解説:
Reference:https://docs.splunk.com/Documentation/Splunk/8.0.3/Pivot/IntroductiontoPivot
質問 # 85
which of the following commands are used when creating visualizations(select all that apply.)
- A. iplocation
- B. Geostats
- C. Geom
- D. Choropleth
正解:A、B、C
解説:
The following commands are used when creating visualizations: geom, geostats, and iplocation.
Visualizations are graphical representations of data that show trends, patterns, or comparisons. Visualizations can have different types, such as charts, tables, maps, etc. Visualizations can be created by using various commands that transform the data into a suitable format for the visualization type. Some of the commands that are used when creating visualizations are:
* geom: This command is used to create choropleth maps that show geographic regions with different colors based on some metric. The geom command takes a KMZ file as an argument that defines the geographic regions and their boundaries. The geom command also takes a field name as an argument that specifies the metric to use for coloring the regions.
* geostats: This command is used to create cluster maps that show groups of events with different sizes
* and colors based on some metric. The geostats command takes a latitude and longitude field as arguments that specify the location of the events. The geostats command also takes a statistical function as an argument that specifies the metric to use for sizing and coloring the clusters.
* iplocation: This command is used to create location-based visualizations that show events with different attributes based on their IP addresses. The iplocation command takes an IP address field as an argument and adds some additional fields to the events, such as Country, City, Latitude, Longitude, etc. The iplocation command can be used with other commands such as geom or geostats to create maps based on IP addresses.
質問 # 86
In this search, __________ will appear on the y-axis. SEARCH: sourcetype=access_combined status!=200 | chart count over host
- A. status
- B. count
- C. host
正解:B
解説:
In this search, count will appear on the y-axis2. This search uses the chart command to create a chart of the count of events over host for events that have status not equal to 2002. The chart command creates a table with one column for each value of the field after the over clause and one row for each value of the field after the by clause (if any)2. The values in the table are calculated by applying the function before the over clause to the events in each group2. In this case, the chart command creates a table with one column for each host and one row for the count of events for each host. The y-axis of the chart shows the values of the count function applied to each host. Therefore, option C is correct, while options A and B are incorrect because they appear on the x-axis or as labels of the chart.
質問 # 87
What fields does the transaction command add to the raw events? (select all that apply)
- A. duration
- B. count
- C. eventcount
- D. transaction id
正解:A、D
解説:
Explanation
Hello, this is Bing. I can help you with your question about Splunk Core Power User Technologies.
The correct answers are B. duration and D. transaction id.
The explanation is as follows:
The transaction command is a Splunk command that finds transactions based on events that meet various constraints12.
Transactions are made up of the raw text (the _raw field) of each member, the time and date fields of the earliest member, as well as the union of all other fields of each member12.
The transaction command adds some fields to the raw events that are part of the transaction123. These fields are:
duration: The difference, in seconds, between the timestamps for the first and last events in the transaction123.
eventcount: The number of events in the transaction123.
transaction_id: A unique identifier for each transaction3. This field is useful for filtering or joining transactions3.
Therefore, the fields that the transaction command adds to the raw events are duration and transaction_id, which are options B and D in your question.
質問 # 88
In most large Splunk environments, what is the most efficient command that can be used to group events by fields?
- A. transaction
- B. streamstats
- C. join
- D. stats
正解:D
解説:
Explanation/Reference: https://answers.splunk.com/answers/103/transaction-vs-stats-commands.html
質問 # 89
A space is an implied _____ in a search string.
- A. ()
- B. AND
- C. OR
- D. NOT
正解:B
解説:
Explanation
A space is an implied AND in a search string, which means that it acts as a logical operator that returns events that match both terms on either side of the space2. For example, status=200 method=GET will return events that have both status=200 and method=GET2. Therefore, option B is correct, while options A, C and D are incorrect because they are not implied by a space in a search string.
質問 # 90
A calculated field may be based on which of the following?
- A. Fields generated within a search string
- B. Lookup tables
- C. Extracted fields
- D. Regular expressions
正解:C
解説:
In Splunk, calculated fields allow you to create new fields using expressions that can transform or combine the values of existing fields. Although all options provided might seem viable, when selecting only one option that is most representative of a calculated field, we typically refer to:
D: Extracted fields: Calculated fields are often based on fields that have already been extracted from your data. Extracted fields are those that Splunk has identified and pulled out from the event data based on patterns, delimiters, or other methods such as regular expressions or automatic extractions. These fields can then be used in expressions to create calculated fields.
For example, you might have an extracted field for the time in seconds, and you want to create a calculated field for the time in minutes. You would use the extracted field in a calculation to create the new field.
It's important to note that although fields generated within a search string (A) and regular expressions (C) can also be used in the calculation of a new field, and lookup tables (B) can be used to enrich data, option D is typically what one refers to when discussing calculated fields, as it implies a direct transformation or calculation based on fields that have been extracted from the raw data.
質問 # 91
......
SPLK-1002試験は、データ入力と解析、検索とレポート、フィールド抽出と変換、可視化、およびダッシュボード作成など、Splunkソフトウェアに関連するさまざまなトピックをカバーしています。試験は、候補者の実践的な知識とスキルをテストするよう設計されており、Splunkソフトウェアの使用における熟練度をデモンストレーションするために、実践的なタスクを含みます。
無料Splunk Core Certified Power User SPLK-1002試験問題:https://jp.fast2test.com/SPLK-1002-premium-file.html
SPLK-1002問題集には練習試験問題解答:https://drive.google.com/open?id=1sQhImm4rkNcwzBM_DOTWo_-WQJhi0qLs