2025年最新の有効なDP-420日本語リアル試験問題(更新された)100%問題集と練習試験合格させます
[更新されたのは2025年]Microsoft DP-420日本語問題準備には無料サンプルのPDF
質問 # 18
注: この質問は、同じシナリオを示す一連の質問の一部です。このシリーズの各質問には、指定された目標を達成できる可能性のある独自の解決策が含まれています。一部の質問セットには複数の正しい解決策が含まれる場合がありますが、他の質問セットには正しい解決策がない場合があります。
このセクションの質問に回答すると、その質問に戻ることはできません。そのため、これらの質問はレビュー画面には表示されません。
Azure Cosmos DB Core (SQL) API アカウントに、container1 という名前のコンテナーがあります。
Container1 の内容を Azure Stream Analytics ジョブの参照データとして利用できるようにする必要があります。
解決策: Azure Cosmos DB Core (SQL) API を入力として使用し、Azure Blob Storage を出力として使用する Azure Data Factory パイプラインを作成します。
これは目標を達成していますか?
- A. いいえ
- B. はい
正解:A
解説:
Instead create an Azure function that uses Azure Cosmos DB Core (SQL) API change feed as a trigger and Azure event hub as the output.
The Azure Cosmos DB change feed is a mechanism to get a continuous and incremental feed of records from an Azure Cosmos container as those records are being created or modified. Change feed support works by listening to container for any changes. It then outputs the sorted list of documents that were changed in the order in which they were modified.
The following diagram represents the data flow and components involved in the solution:
Reference: https://docs.microsoft.com/en-us/azure/cosmos-db/sql/changefeed-ecommerce-solution
質問 # 19
Azure Cosmos 06 for NoSQL アカウントをクエリするアプリケーションがあります。
次の 2 つのクエリが頻繁に実行されることがわかります。
読み取りと書き込みによって消費される要求ユニット (RU) を最小限に抑える必要があります。何を作成する必要がありますか?
- A. (名前 DESC、タイムスタンプ ASC) の複合インデックス
- B. (名前 ASC タイムスタンプ ASC) の複合インデックスと (名前、タイムスタンプ ディスク) の複合インデックス
- C. (名前 ASC、タイムスタンプ DESC) の複合インデックス
- D. (名前 ASC、タイムスタンプ ASC) の複合インデックス
正解:D
質問 # 20
Container1 という名前の Azure Cosmos DB コンテナーがあります。
アイテムを contains に挿入する必要があります。ソリューションでは、アイテムが 2 時間後に自動的に削除されるようにする必要があります。
項目定義はどのように完了すればよいですか?回答するには、回答領域で適切なオプションを選択してください。
注: 正しく選択するたびに 1 ポイントの価値があります。
正解:
解説:
Explanation:
質問 # 21
Azure Cosmos DB Core (SQL) API アカウントには、IoT データを保存する telemetry という名前のデータベースがあります。
データベースには、readings と devices という名前の 2 つのコンテナーが含まれています。
読み物の文書は次のような構造になっています。
ID
デバイスID
タイムスタンプ
所有者
メジャー (配列)
- タイプ
- 価値
- メトリックID
デバイス内のドキュメントは次の構造になっています。
ID
デバイスID
所有者
- 所有者
- 電子メールアドレス
- 名前
ブランド
モデル
次の各ステートメントについて、そのステートメントが true の場合は [はい] を選択します。それ以外の場合は、「いいえ」を選択します。
注: 正しく選択するたびに 1 ポイントの価値があります。
正解:
解説:
質問 # 22
既定の整合性レベルが強である account1 という名前のマルチリージョン Azure Cosmos DB アカウントがあります。
セッションの整合性レベルを要求するように構成された App1 という名前のアプリがあります。
App1 の読み取りおよび書き込み操作はどのように処理されますか?回答するには、回答領域で適切なオプションを選択してください。
注: 正しく選択するたびに 1 ポイントの価値があります。
正解:
解説:
Explanation:
Box 1 = Write and replicate data to every region synchronously
This is because the write concern is mapped to the default consistency level configured on your Azure Cosmos DB account2, which is strong in this case. Strong consistency ensures that every write operation is synchronously committed to every region associated with your Azure Cosmos DB account1. The request level consistency level of session only applies to the read operations of App11.
Box 2: That has the lowest estimated latency to the client
This is because the read operations of App1 will use the session consistency level that is specified in the request options. Session consistency is a client-centric consistency model that guarantees monotonic reads, monotonic writes, and read-your-own-writes within a session. A session is scoped to a client connection or a stored procedure execution. Session consistency allows clients to read from any region that has the lowest latency to the client.
質問 # 23
account1 という名前の Azure Cosmos DB for NoSQL アカウントに db1 という名前のデータベースがあります。 db1 データベースの手動スループットは 4,000 リクエスト ユニット/秒 (RU/秒) です。
Azure CLI を使用して、db1 を手動スループットから自動スケール スループットに移行する必要があります。このソリューションは、最小 4,000 RU/秒、最大 40,000 RU/秒を提供する必要があります。
CLI ステートメントをどのように完了する必要がありますか?回答するには、回答領域で適切なオプションを選択してください。
注: 正しく選択するたびに 1 ポイントの価値があります。
正解:
解説:
Explanation:
Migrate
40000
According to the Azure CLI reference1, you need to use the az cosmosdb sql database throughput migrate command to migrate the throughput of the SQL database between autoscale and manually provisioned. You also need to use the --throughput-type parameter to specify the type of throughput to migrate to, and the --max-throughput parameter to specify the maximum throughput resource can scale to (RU/s).
To complete the CLI statements, you should replace the missing values with:
* --throughput-type autoscale
* --max-throughput 40000
The final command should look like this:
az cosmosdb sql database throughput migrate \
--account-name account1 \
--name db1 \
--resource-group rg1 \
--throughput-type autoscale \
--max-throughput 40000
質問 # 24
以下は注文時の書類のサンプルです。
注文コンテナは、顧客をパーティション キーとして使用します。
アイテムタイプごとに月ごとに注文された合計アイテムのレポートを提供する必要があります。ソリューションは次の要件を満たす必要があります。
レポートができるだけ早く実行できるようにしてください。
要求ユニット (RU) の消費を最小限に抑えます。
あなたは何をするべきか?
- A. 新しい集計コンテナをクエリするようにレポートを構成します。毎日実行される SQL クエリを使用して集計を作成します。
- B. 専用ゲートウェイを介して SQL クエリを使用して注文をクエリするようにレポートを構成します。
- C. 新しい集計コンテナをクエリするようにレポートを構成します。変更フィードを使用して集計を設定します。
- D. SQL クエリを使用して注文をクエリするようにレポートを構成します。
正解:C
解説:
You can facilitate aggregate data by using Change Feed and Azure Functions, and then use it for reporting.
Reference: https://docs.microsoft.com/en-us/azure/cosmos-db/change-feed
質問 # 25
Azure Cosmos DB for NoSQL アカウントがあります。アカウントは、変更フィードが有効になっているコンテナーをホストしています。Azure Cosmos DB SDK を使用してアプリを構築しています。アプリは、プル モデルを使用して変更フィードから項目を読み取ります。複数のスレッドが変更フィードを並行して読み取ることができるようにする必要があります。何を含める必要がありますか?
- A. ページサイズの値
- B. FeedRange値
- C. changeFeedStartFew 値
- D. ストリームベースのイテレータ
正解:B
質問 # 26
プロビジョニングされたスループット容量モードを使用する storage1 という名前の Azure Cosmos DB Core (SQL) API アカウントがあります。
storage1 アカウントには、次の表に示すデータベースが含まれています。
データベースには、次の表に示すコンテナが含まれています。
次の各ステートメントについて、そのステートメントが true の場合は [はい] を選択します。それ以外の場合は、「いいえ」を選択します。
注: 正しく選択するたびに 1 ポイントの価値があります。
正解:
解説:
Explanation:
Box 1: No
Four containers with 1000 RU/s each.
Box 2: No
Max 8000 RU/s for db2. 8 containers, so 1000 RU/s for each container.
Box 3: Yes
Max 8000 RU/s for db2. 8 containers, so 1000 RU/s for each container. Can very well add an additional container.
Reference:
https://docs.microsoft.com/en-us/azure/cosmos-db/plan-manage-costs
https://azure.microsoft.com/en-us/pricing/details/cosmos-db/
質問 # 27
Azure Cosmos DB Core (SQL) API アカウントに、container1 という名前のコンテナーがあります。 container1 コンテナーには 120 GB のデータがあります。
以下は、container1 内のドキュメントのサンプルです。
orderId プロパティはパーティション キーとして使用されます。
次の各ステートメントについて、そのステートメントが true の場合は [はい] を選択します。それ以外の場合は、「いいえ」を選択します。
注: 正しく選択するたびに 1 ポイントの価値があります。
正解:
解説:
Explanation:
Box 1: Yes
Records with different OrderIDs will match.
Box 2: Yes
Records with different OrderIDs will match.
Box 3: No
Only records with one specific OrderId will match
質問 # 28
同じ 3 つのクエリを頻繁に受信する Azure Cosmos DB for NoSQL アカウントがあります。
クエリによって消費される RU を最小限に抑えるためにインデックス作成を構成する必要があります。
各クエリにはどのタイプのインデックスを使用する必要がありますか?回答するには、回答領域で適切なオプションを選択してください。
注: 正しく選択するたびに 1 ポイントの価値があります。
正解:
解説:
Explanation:
Box 1 = Range Azure Cosmos DB supports three types of indexes: range, spatial and composite. For the query you provided, which is an equality query on a single property, the best type of index to use is range. Range index is based on an ordered tree-like structure and it is used for equality queries, range queries and checking for the presence of a property1. Range index also supports any string or number2.
Box 2 = Composite
Azure Cosmos DB supports three types of indexes: range, spatial and composite. For the query you provided, which is an order by query on two properties, the best type of index to use is composite. Composite index is used for optimizing order by queries on multiple properties1. Composite index allows you to specify a list of property paths and sort orders that are used for ordering items2.
Box 3 = spatial
Azure Cosmos DB supports three types of indexes: range, spatial and composite. For the query you provided, which is a spatial query on a point property, the best type of index to use is spatial. Spatial index is used for querying items based on their location or proximity to a given point1. Spatial index supports point, polygon and linestring data types2.
質問 # 29
Azure Cosmos DB Core (SQL) API アカウントをデータ ソースとして使用するアプリケーションを開発しています。
次の表に示すように、最も順位の高い上位 5 つの果物を表示するレポートを作成する必要があります。
集約されたデータを含むコレクションはすでに存在します。以下はサンプルドキュメントです。
{
"名前": "リンゴ",
"タイプ": ["フルーツ"、"エキゾチック"]、
「注文」: 10000
}
レポートのデータを取得するために使用できる 2 つのクエリはどれですか?それぞれの正解は完全な解決策を示します。
注: 正しく選択するたびに 1 ポイントの価値があります。
- A.

- B.

- C.

- D.

正解:A、D
解説:
ARRAY_CONTAINS returns a Boolean indicating whether the array contains the specified value. You can check for a partial or full match of an object by using a boolean expression within the command.
Reference: https://docs.microsoft.com/en-us/azure/cosmos-db/sql/sql-query-array-contains
質問 # 30
あなたは、アプリケーションの更新によって引き起こされる現在の問題のトラブルシューティングを行っています。
アプリケーションの機能に影響を与えることなく、アプリケーションの更新の問題に対処できるアクションはどれですか?
- A. カスタム インデックス作成ポリシーを製品コンテナに追加します。
- B. account1 のデフォルトの整合性レベルを限界のある古い状態に設定します。
- C. コンプロダクト コンテナーの有効期間を有効にします。
- D. account1 のデフォルトの整合性レベルを「strong」に設定します。
正解:B
解説:
Bounded staleness is frequently chosen by globally distributed applications that expect low write latencies but require total global order guarantee. Bounded staleness is great for applications featuring group collaboration and sharing, stock ticker, publish-subscribe/queueing etc.
Scenario: Application updates in con-product frequently cause HTTP status code 429 "Too many requests". You discover that the 429 status code relates to excessive request unit (RU) consumption during the updates.
Reference:
https://docs.microsoft.com/en-us/azure/cosmos-db/consistency-levels
質問 # 31
西ヨーロッパに単一の書き込みリージョンを持つ Azure Cosmos DB Core (SQL) アカウントがあります。
dbという名前のデータベース
次の各ステートメントについて、そのステートメントが true の場合は [はい] を選択します。それ以外の場合は、「いいえ」を選択します。
注: 正しく選択するたびに 1 ポイントの価値があります。
正解:
解説:
Explanation:
Box 1: Yes
The Automatic failover option allows Azure Cosmos DB to failover to the region with the highest failover priority with no user action should a region become unavailable.
Box 2: No
West Europe is used for failover. Only North Europe is writable.
To Configure multi-region set UseMultipleWriteLocations to true.
Box 3: Yes
Provisioned throughput with single write region costs $0.008/hour per 100 RU/s and provisioned throughput with multiple writable regions costs $0.016/per hour per 100 RU/s.
Reference:
https://docs.microsoft.com/en-us/azure/cosmos-db/sql/how-to-multi-master
https://docs.microsoft.com/en-us/azure/cosmos-db/optimize-cost-regions
質問 # 32
西ヨーロッパに単一の書き込みリージョンを持つ Azure Cosmos DB Core (SQL) アカウントがあります。
次の各文について、正しい場合は「はい」を選択してください。そうでない場合は「いいえ」を選択してください。
注意: 正しい選択ごとに 1 ポイントが付与されます。
正解:
解説:
Reference:
https://docs.microsoft.com/en-us/azure/cosmos-db/sql/how-to-multi-master
https://docs.microsoft.com/en-us/azure/cosmos-db/optimize-cost-regions
質問 # 33
......
DP-420日本語豪華セット学習ガイドにはオンライン試験エンジン:https://jp.fast2test.com/DP-420J-premium-file.html