最近更新された2023年12月テストエンジン練習テストはSPLK-1002日本語試験問題解答!
Splunk Core Certified Power User Exam (SPLK-1002日本語版)認定サンプル問題と練習試験合格させます
質問 # 120
二次検索を実行するワークフロー アクション タイプはどれですか?
- A. ドリルダウン
- B. ポスト
- C. 取得
- D. 検索
正解:D
解説:
The correct answer is D. Search.
A workflow action is a knowledge object that enables a variety of interactions between fields in events and other web resources. Workflow actions can create HTML links, generate HTTP POST requests, or launch secondary searches based on field values1.
There are three types of workflow actions that can be set up using Splunk Web: GET, POST, and Search2.
GET workflow actions create typical HTML links to do things like perform Google searches on specific values or run domain name queries against external WHOIS databases2.
POST workflow actions generate an HTTP POST request to a specified URI. This action type enables you to do things like creating entries in external issue management systems using a set of relevant field values2.
Search workflow actions launch secondary searches that use specific field values from an event, such as a search that looks for the occurrence of specific combinations of ipaddress and http_status field values in your index over a specific time range2.
Therefore, the workflow action type that performs a secondary search is Search.
Reference:
Splexicon:Workflowaction
About workflow actions in Splunk Web
質問 # 121
evalコマンドを使用すると、次のうちどれを実行できますか? (該当するものをすべて選択してください。)
- A. 条件文を使用する
- B. フォーマット値
- C. 計算を実行します
- D. 値を変換する
正解:A、B、C、D
質問 # 122
少なくとも1つのREJECTイベントを含むトランザクション内のすべての寄与イベントを識別するには、どの構文が正しいですか?
- A. インデックス=メイン|トランザクションセッションID |ここで、transaction = reject ''
- B. インデックス=メイン|トランザクションセッションID |そのtransaction = reject
- C. インデックス-メイン|トランスセッションIDを拒否します
- D. インデックス-メイン|トランザクションセッションID |検索拒否
正解:D
質問 # 123
以下のマクロ定義を考えると、マクロを正しく構成するには、名前と引数のフィールドに何を入力する必要がありますか?
- A. マクロ名はsessiontrackerで、引数はaction、JESSIONIDです。
- B. マクロ名はsessiontracker(2)で、引数は$ action $、$ JESSIONID $です。
- C. マクロ名はsessiontrackerで、引数は$ action $、$ JESSIONID $です。
- D. マクロ名はsessiontracker(2)で、引数はaction、JESSIONIDです。
正解:D
解説:
Reference:
The macro definition below shows a macro that tracks user sessions based on two arguments: action and JSESSIONID.
sessiontracker(2)
The macro definition does the following:
It specifies the name of the macro as sessiontracker. This is the name that will be used to execute the macro in a search string.
It specifies the number of arguments for the macro as 2. This indicates that the macro takes two arguments when it is executed.
It specifies the code for the macro as index=main sourcetype=access_combined_wcookie action=$action$ JSESSIONID=$JSESSIONID$ | stats count by JSESSIONID. This is the search string that will be run when the macro is executed. The search string can contain any part of a search, such as search terms, commands, arguments, etc. The search string can also include variables for the arguments using dollar signs around them. In this case, action and JSESSIONID are variables for the arguments that will be replaced by their values when the macro is executed.
Therefore, to correctly configure the macro, you should enter sessiontracker as the name and action, JSESSIONID as the arguments. Alternatively, you can use sessiontracker(2) as the name and leave the arguments blank.
質問 # 124
scatsコマンドの代わりにtransactionコマンドを使用する必要があるのはいつですか。
- A. 開始と終了の制約に基づいてグループ化する必要がある場合。
- B. 複数の値でグループ化する必要がある場合。
- C. 検索結果で期間が関係ない場合。 。
- D. トランザクションに1000を超えるイベントがある場合。
正解:A
解説:
Explanation
The transaction command is used to group events into transactions based on some common characteristics, such as fields, time, or both. The transaction command can also specify start and end constraints for the transactions, such as a field value that indicates the beginning or the end of a transaction. The stats command is used to calculate summary statistics on the events, such as count, sum, average, etc. The stats command cannot group events based on start and end constraints, but only on fields or time buckets. Therefore, the transaction command should be used instead of the stats command when you need to group events based on start and end constraints.
質問 # 125
マクロ定義の引数を表すためにどの構文が使用されますか?
- A. $引数$
- B. %引数%
- C. '引数'
- D. 「引数」
正解:A
解説:
The correct answer is D.
A search macro is a way to reuse a piece of SPL code in different searches. A search macro can take arguments, which are variables that can be replaced by different values when the macro is called. A search macro can also contain another search macro within it, which is called a nested macro1.
To represent an argument in a macro definition, you need to use the dollar sign ($) character to enclose the argument name. For example, if you want to create a search macro that takes one argument named "object", you can use the following syntax:
[my_macro(object)] search sourcetype= object
This will create a search macro named my_macro that takes one argument named object. When you call the macro in a search, you need to provide a value for the object argument, such as:
my_macro(web)
This will replace the object argument with the value web and run the following SPL code:
search sourcetype=web
The other options are not correct because they use quotation marks (' or ") or percentage signs (%) to represent arguments, which are not valid syntax for macro arguments. These characters will be interpreted as literal values instead of variables.
Reference:
Use search macros in searches
質問 # 126
このコマンドを使用して、検索でルックアップフィールドを使用し、フィールドサイドバーにルックアップフィールドを表示します。
- A. inputlookup
- B. ルックアップ
正解:B
質問 # 127
履歴検索に指定された時間範囲は、____________を定義します。------ansで疑わしい
- A. 静的結果の時間範囲
- B. タイムラインにデータストリームとして表示されるデータの量
- C. その時間範囲に一致するインデックスからフェッチされたデータの量
正解:C
質問 # 128
SPL を使用せずにデータ モデルを使用してレポートとダッシュボード パネルを生成するツールはどれですか?
- A. 視覚化タブ
- B. データセット
- C. スプランク CIM
- D. ピボット
正解:D
解説:
The correct answer is B. Pivot1.
In Splunk, Pivot is a tool that uses data models to generate reports and dashboard panels without the need for users to write or understand Splunk's Search Processing Language (SPL)1. Data models enable users of Pivot to create compelling reports and dashboards1. When a Pivot user designs a pivot report, they select the data model that represents the category of event data that they want to work with1. Then they select a dataset within that data model that represents the specific dataset on which they want to report1. This makes Pivot a powerful tool for users who need to create visualizations but do not have a deep understanding of SPL1.
質問 # 129
次のナレッジオブジェクトのうち、eval式の出力を表すものはどれですか?
- A. フィールド抽出
- B. 計算されたルックアップ
- C. 評価フィールド
- D. 計算フィールド
正解:D
質問 # 130
Splunk の計算フィールドに関する次の記述のうち、正しいものはどれですか?
- A. 計算フィールドは、保存されたレポートでのみ使用できます。
- B. 計算フィールドを連結して、より複雑なフィールドを作成することはできません。
- C. 計算フィールドはダッシュボードでのみ使用できます。
- D. 計算フィールドを連結して、より複雑なフィールドを作成できます。
正解:D
解説:
Explanation
The correct answer is B. Calculated fields can be chained together to create more complex fields.
Calculated fields are fields that are added to events at search time by using eval expressions. They can be used to perform calculations with the values of two or more fields already present in those events. Calculated fields 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.
Calculated fields can also be chained together to create more complex fields. This means that you can use a calculated field as an input for another calculated field. For example, if you have a calculated field named total that sums up the values of two fields named price and tax, you can use the total field to create another calculated field named discount that applies a percentage discount to the total field. To do this, you need to define the discount field with an eval expression that references the total field, such as:
discount = total * 0.9
This will create a new field named discount that is equal to 90% of the total field value for each event2.
References:
About calculated fields
Chaining calculated fields
質問 # 131
イベントタイプを作成する有効な方法はどれですか? (該当するものをすべて選択)
- A. props.confファイルのevent_typeスタンザを編集します。
- B. 検索結果でイベントを選択し、[イベントアクション]> [イベントタイプのビルド]をクリックします。
- C. [設定]メニューに移動し、[イベントタイプ]> [新規]をクリックします。
- D. 検索バーのsearchtypesコマンドを使用します。
正解:B、C
質問 # 132
データ内に値が " "、または空だが null ではないフィールドがある場合、値を追加するのは次のうちどれですか?
- A. | eval notNULL = "" | nullfill value=0 notNULL
- B. | eval notNULL = if(isnull (notNULL), "0"
- C. | eval notNULL = "" fillnull value=0 notNULL
- D. | eval notNULL = if(isnull (notNULL), "0" notNULL)
正解:C
解説:
The correct answer is D. | eval notNULL = "" fillnull value=0 notNULL
Option A is incorrect because it is missing a comma between the "0" and the notNULL in the if function. The correct syntax for the if function is if (condition, true_value, false_value).
Option B is incorrect because it is missing the false_value argument in the if function. The correct syntax for the if function is if (condition, true_value, false_value).
Option C is incorrect because it uses the nullfill command, which only replaces null values, not empty strings. The nullfill command is equivalent to fillnull value=null.
Option D is correct because it uses the eval command to assign an empty string to the notNULL field, and then uses the fillnull command to replace the empty string with a zero. The fillnull command can replace any value with a specified replacement, not just null values.
質問 # 133
正しい説明はどれですか?
- A. ピボットはデータセットの作成に使用されます。
- B. ピボットは、レポートとダッシュボードの作成に使用されます。
- C. ほとんどの場合、各Splunkユーザーは独自のデータモデルを作成します。
- D. データモデルはランダムに構造化されたデータセットです。
正解:B
解説:
Reference: https://docs.splunk.com/Documentation/Splunk/8.0.3/Pivot/IntroductiontoPivot Pivot is used for creating reports and dashboards. Pivot is a tool that allows you to create reports and dashboards from your data models without writing any SPL commands. Pivot can help you visualize and analyze your data using various options, such as filters, rows, columns, cells, charts, tables, maps, etc. Pivot can also help you accelerate your reports and dashboards by using summary data from your accelerated data models.
Pivot is not used for creating datasets or data models. Datasets are collections of events that represent your data in a structured and hierarchical way. Data models are predefined datasets for various domains, such as network traffic, web activity, authentication, etc. Datasets and data models can be created by using commands such as datamodel or pivot.
質問 # 134
特定のフィールドの値に関連付けられたタグを検索するための正しい構文は何ですか?
- A. タグ:: <ファイル> = <タグ名>
- B. タグ<filed(tagname。)
- C. タグ-<フィールド?
- D. Tag = <filed> :: <tagname>
正解:A
解説:
Reference:
https://docs.splunk.com/Documentation/Splunk/8.0.3/Knowledge/TagandaliasfieldvaluesinSplunkWeb
質問 # 135
少なくとも1つのREJECTイベントを含むトランザクション内のすべての寄与イベントを識別するには、どの構文が正しいですか?
- A. インデックス=メイン|トランザクションセッションID |ここで、transaction = reject ''
- B. インデックス=メイン|トランザクションセッションID |そのtransaction = reject
- C. インデックス-メイン|トランスセッションIDを拒否します
- D. インデックス-メイン|トランザクションセッションID |検索拒否
正解:D
解説:
Explanation
The transaction command is used to group events that share a common value for one or more fields into transactions2. The transaction command assigns a transaction ID to each group of events and creates new fields such as duration, eventcount and eventlist for each transaction2. To identify all of the contributing events within a transaction that contains at least one REJECT event, you can use the following syntax: index=main | transaction sessionid | search REJECT2. This search will first group the events by sessionid, then filter out the transactions that do not contain REJECT in any of their events2. Therefore, option B is correct, while options A, C and D are incorrect because they do not follow the correct syntax for using the transaction command or the search command.
質問 # 136
次の検索のうち、マクロの有効な使用法を示しているのはどれですか? (該当するものをすべて選択)
- A. index = main source = mySource oldField = * | "'newField(' makeMyField(oldField) ')'" | table _time newField
- B. index = main source = mySource oldField = * | eval newField = 'makeMyField(oldField)' | table _time newField
- C. index = main source = mySource oldField = * |統計if( 'makeMyField(oldField)')| table _time newField
- D. index = main source = mySource oldField = * | 'makeMyField(oldField)' | table _time newField
正解:B、D
解説:
Reference:
To use a macro in a search, you must enclose the macro name and any arguments in single quotation marks1. For example, 'my_macro(arg1,arg2)' is a valid way to use a macro with two arguments. You can use macros anywhere in your search string where you would normally use a search command or expression1. Therefore, options A and C are valid searches that use macros, while options B and D are invalid because they do not enclose the macros in single quotation marks.
質問 # 137
検索コマンドに関する次の説明のうち、正しいものはどれですか。
- A. 最初のパイプの前の検索文字列とまったく同じように動作します。
- B. 検索パイプラインの最初でのみ使用できます。
- C. フィールド値を大文字と小文字を区別して処理します。
- D. ワイルドカードの使用は許可されていません。
正解:A
解説:
Reference: https://docs.splunk.com/Documentation/SplunkCloud/8.0.2003/Search/Usethesearchcommand The search command is used to filter or refine your search results based on a search string that matches the events2. The search command behaves exactly like search strings before the first pipe, which means that you can use the same syntax and operators as you would use in the initial part of your search2. Therefore, option D is correct, while options A, B and C are incorrect because they are not true statements about the search command.
質問 # 138
次のコマンドのどれが最大バイトを表示しますか?
- A. sourcetype = access_ * |バイト単位の最大合計
- B. sourcetype = access_ * | stats max(bytes)
- C. sourcetype = access_ * |平均(バイト)
- D. sourcetype = access_ * | max(バイト)
正解:B
質問 # 139
履歴検索に指定された時間範囲は、____________を定義します。------ansで疑わしい
- A. 静的結果の時間範囲
- B. タイムラインにデータストリームとして表示されるデータの量
- C. その時間範囲に一致するインデックスからフェッチされたデータの量
正解:C
解説:
The time range specified for a historical search defines the amount of data fetched from the index matching that time range2. A historical search is a search that runs over a fixed period of time in the past2. When you run a historical search, Splunk searches the index for events that match your search string and fall within the specified time range2. Therefore, option B is correct, while options A and C are incorrect because they are not what the time range defines for a historical search.
質問 # 140
......
認定問題集でSplunk Core Certified Power User SPLK-1002日本語ガイドで100%有効な:https://jp.fast2test.com/SPLK-1002J-premium-file.html