PDF問題(2024年最新)実際のMicrosoft DP-420日本語試験問題
問題集返金保証付きのDP-420日本語問題集には90%オフされます
質問 # 28
Azure Cosmos DB for NoSQL アカウントのデータ モデルを設計しています。
1 秒あたりの要求ユニット (RU/秒) とストレージのパーティション制限は何ですか?回答するには、回答領域で適切なオプションを選択してください。
注: 正しく選択するたびに 1 ポイントの価値があります。
正解:
解説:
Explanation:
質問 # 29
あなたの会社は、Azure Cosmos DB SDK と結果整合性レベルを使用する App1 という名前のアプリケーションを開発しています。
App1 は、account という名前の Azure Cosmos DB for NoSQL アカウントに対してクエリを実行します。
次の要件を満たすために、App1 にどの整合性レベルを割り当てるかを特定する必要があります。
* クエリで現在使用されているリクエスト ユニットの数を増やすことなく、App1 によって生成されるクエリのスループットを最大化します。
* 最高の一貫性保証を提供します。
どの整合性レベルを特定する必要がありますか?
- A. 強い
- B. 一貫したプレフィックス
- C. セッション
- D. 境界のある古い状態
正解:A
質問 # 30
account1 に対してマルチリージョン書き込みを構成します。
App1 が account1 の新しい構成をサポートしていることを確認する必要があります。ソリューションは、ビジネス要件と製品カタログの要件を満たしている必要があります。
あなたは何をするべきか?
- A. App1 の接続ポリシーを変更します。
- B. con-product コンテナーと con-productVendor コンテナーに割り当てられる 1 秒あたりの要求ユニット数 (RU/秒) を増やします。
- C. accountl のデフォルトの整合性レベルを限界のある古い状態に設定します。
- D. プライベート エンドポイント接続を作成します。
正解:B
解説:
App1 queries the con-product and con-productVendor containers.
Note: Request unit is a performance currency abstracting the system resources such as CPU, IOPS, and memory that are required to perform the database operations supported by Azure Cosmos DB.
Scenario:
Develop an app named App1 that will run from all locations and query the data in account1.
Once multi-region writes are configured, maximize the performance of App1 queries against the data in account1.
Whenever there are multiple solutions for a requirement, select the solution that provides the best performance, as long as there are no additional costs associated.
Reference:
https://docs.microsoft.com/en-us/azure/cosmos-db/consistency-levels
質問 # 31
注: この質問は、同じシナリオを示す一連の質問の一部です。このシリーズの各質問には、指定された目標を達成できる可能性のある独自の解決策が含まれています。一部の質問セットには複数の正しい解決策が含まれる場合がありますが、他の質問セットには正しい解決策がない場合があります。
このセクションの質問に回答すると、その質問に戻ることはできません。そのため、これらの質問はレビュー画面には表示されません。
Azure Cosmos DB Core (SQL) API アカウントに、container1 という名前のコンテナーがあります。
Container1 の内容を Azure Stream Analytics ジョブの参照データとして利用できるようにする必要があります。
解決策: Azure Cosmos DB Core (SQL) API を入力として使用し、Azure Blob Storage を出力として使用する Azure Synapse パイプラインを作成します。
これは目標を達成していますか?
- A. はい
- B. いいえ
正解:B
解説:
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
質問 # 32
account1 という名前の Azure Cosmos DB for NoSQL アカウントがあり、このアカウントには 1 つの読み取り/書き込みリージョンと 1 つの追加の読み取りリージョンがあります。 Account1 は、強力なデフォルト整合性レベルを使用します。
account1 にリクエストを送信するときに最終整合性レベルを使用するアプリケーションがあります。
アプリケーションからの書き込みはどのように処理されるのでしょうか?
- A. レプリケーション中の書き込み順序は保証されません。
- B. 書き込みには強い整合性レベルが使用されます。
- C. Azure Cosmos DB はアプリケーションからの書き込みを拒否します。
- D. 書き込みでは最終整合性レベルが使用されます。
正解:B
解説:
This is because the write concern is mapped to the default consistency level configured on your Azure Cosmos DB account, 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 account. The eventual consistency level that the application uses only applies to the read operations. Eventual consistency offers higher availability and better performance, but it does not guarantee the order or latency of the reads.
質問 # 33
次の Azure Resource Manager (ARM) テンプレートを使用して、Azure リソースをプロビジョニングします。
次の各ステートメントについて、そのステートメントが true の場合は [はい] を選択します。それ以外の場合は、「いいえ」を選択します。
注: 正しく選択するたびに 1 ポイントの価値があります。
正解:
解説:
Explanation:
Box 1: No
An alert is triggered when the DB key is regenerated, not when it is used.
Note: The az cosmosdb keys regenerate command regenerates an access key for a Azure Cosmos DB database account.
Box 2: No
Only an SMS action will be taken.
Emailreceivers is empty so no email action is taken.
Box 3: Yes
Yes, an alert is triggered when the DB key is regenerated.
Reference: https://docs.microsoft.com/en-us/cli/azure/cosmosdb/keys
質問 # 34
同じ 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.
質問 # 35
con-iot1 のパーティション キーを選択する必要があります。ソリューションは IoT テレメトリ要件を満たしている必要があります。
何を選択すればよいでしょうか?
- A. タイムスタンプ
- B. デバイス ID
- C. 湿度
- D. 温度
正解:B
解説:
The partition key is what will determine how data is routed in the various partitions by Cosmos DB and needs to make sense in the context of your specific scenario. The IoT Device ID is generally the "natural" partition key for IoT applications.
Scenario: The iotdb database will contain two containers named con-iot1 and con-iot2.
Ensure that Azure Cosmos DB costs for IoT-related processing are predictable.
Reference:
https://docs.microsoft.com/en-us/azure/architecture/solution-ideas/articles/iot-using-cosmos-db
質問 # 36
Azure Cosmos DB Core (SQL) API アカウントに、container1 という名前のコンテナーがあります。
ロールベースのアクセス制御 (RBAC) を使用して、User1 という名前のユーザーに、container1 に項目を挿入する権限を付与する必要があります。ソリューションでは、最小特権の原則を使用する必要があります。
User1 にはどのロールを割り当てる必要がありますか?
- A. CosmosDB オペレーターのみ
- B. DocumentDB アカウント コントリビューターおよび Cosmos DB 組み込みデータ コントリビューター
- C. Cosmos DB 組み込みデータ コントリビューターのみ
- D. DocumentDB アカウントの投稿者のみ
正解:A
解説:
Cosmos DB Operator: Can provision Azure Cosmos accounts, databases, and containers. Cannot access any data or use Data Explorer.
Reference: https://docs.microsoft.com/en-us/azure/cosmos-db/role-based-access-control
質問 # 37
注: この質問は、同じシナリオを示す一連の質問の一部です。このシリーズの各質問には、指定された目標を達成できる可能性のある独自の解決策が含まれています。一部の質問セットには複数の正しい解決策が含まれる場合がありますが、他の質問セットには正しい解決策がない場合があります。
このセクションの質問に回答すると、その質問に戻ることはできません。そのため、これらの質問はレビュー画面には表示されません。
Azure Cosmos DB Core (SQL) API アカウントに、container1 という名前のコンテナーがあります。
Container1 の内容を Azure Stream Analytics ジョブの参照データとして利用できるようにする必要があります。
解決策: Azure Cosmos DB Core (SQL) API を入力として使用し、Azure Blob Storage を出力として使用する Azure Synapse パイプラインを作成します。
これは目標を達成していますか?
- A. はい
- B. いいえ
正解:B
解説:
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
質問 # 38
account1 という名前の Azure Cosmos DB for NoSQL アカウントに、container1 という名前のコンテナーがあります。
C# および Java の展示に示されているように、暗号化ポリシーを使用して、Always Encrypted を使用するようにコンテナー 1 を構成します。 (C# の暗号化ポリシーを表示するには、「C#」タブをクリックします。Java の暗号化ポリシーを表示するには、「Java」タブをクリックします。)

次の各ステートメントについて、そのステートメントが true の場合は [はい] を選択します。それ以外の場合は、「いいえ」を選択します。
注: 正しく選択するたびに 1 ポイントの価値があります。
正解:
解説:
Explanation:
According to the Azure Cosmos DB documentation1, Always Encrypted is a feature designed to protect sensitive data, such as credit card numbers or national identification numbers, stored in Azure Cosmos DB.
Always Encrypted allows clients to encrypt sensitive data inside client applications and never reveal the encryption keys to the database.
To use Always Encrypted, you need to define an encryption policy for each container that specifies which properties should be encrypted and which data encryption keys (DEK) should be used. The DEKs are stored in Azure Cosmos DB and are wrapped by customer-managed keys (CMK) that are stored in Azure Key Vault.
Based on the encryption policy shown in the exhibits, the creditcard property is encrypted with a DEK named dek1, and the SSN property is encrypted with a DEK named dek2. Both DEKs are wrapped by a CMK named cmk1.
To answer your statements:
* You can perform a query that filters on the creditcard property = No. This is because the creditcard property is encrypted and cannot be used for filtering or sorting operations1.
* You can perform a query that filters on the SSN property = No. This is also because the SSN property is encrypted and cannot be used for filtering or sorting operations1.
* An application can be allowed to read the creditcard property while being restricted from reading the SSN property = Yes. This is possible by using different CMKs to wrap different DEKs and applying access policies on the CMKs in Azure Key Vault. For example, if you use cmk2 to wrap dek2 instead of cmk1, you can grant an application access to cmk1 but not cmk2, which means it can read the creditcard property but not the SSN property2.
質問 # 39
NoSQL アカウント用の Azure Cosmos DB に注文データを保存する予定です。データには、注文とそれに関連する商品に関する情報が含まれています。
注文読み取り操作をサポートするモデルを開発する必要があります。ソリューションではリクエストの数を最小限に抑える必要があります。
- A. 注文用のコンテナと注文品目のコンテナを含む単一のデータベースを作成します。
- B. 1 つのコンテナを含む単一のデータベースを作成します。注文と注文品目をコンテナ内の別のドキュメントに保存します。
- C. 注文用データベースと注文品目用データベースを作成します。
- D. 1 つのコンテナを含む単一のデータベースを作成します。注文ごとに個別のドキュメントを作成し、注文アイテムを注文ドキュメントに埋め込みます。
正解:D
解説:
Azure Cosmos DB is a multi-model database that supports various data models, such as documents, key-value, graph, and column-family3. The core content-model of Cosmos DB's database engine is based on atom-record-sequence (ARS), which allows it to store and query different types of data in a flexible and efficient way3.
To develop a model that supports order read operations and minimizes the number of requests, you should consider the following factors:
* The size and shape of your data
* The frequency and complexity of your queries
* The latency and throughput requirements of your application
* The trade-offs between storage efficiency and query performance
Based on these factors, one possible model that you could implement is B. Create a single database that contains one container. Create a separate document for each order and embed the order items into the order documents.
This model has the following advantages:
* It stores orders and order items as self-contained documents that can be easily retrieved by order ID1.
* It avoids storing redundant data or creating additional containers for order items1.
* It allows you to view the order history of a customer with simple queries1.
* It leverages the benefits of embedding data, such as reducing the number of requests, improving query performance, and simplifying data consistency2.
This model also has some limitations, such as:
* It may not be suitable for some order items that have data that is greater than 2 KB, as it could exceed the maximum document size limit of 2 MB2.
* It may not be optimal for scenarios where order items need to be queried independently from orders or aggregated by other criteria2.
* It may not support transactions across multiple orders or customers, as transactions are scoped to a single logical partition2.
Depending on your specific use case and requirements, you may need to adjust this model or choose a different one. For example, you could use a hybrid data model that combines embedding and referencing data2
, or you could use a graph data model that expresses entities and relationships as vertices and edges.
質問 # 40
サーバーレス SQL プールを含む workspace1 という名前の Azure Synapse Analytics ワークスペースがあります。
運用データを保存する Azure Table Storage アカウントがある。
Table Storage アカウントを Azure Cosmos DB for NoSQL に置き換える必要があります。ソリューションは次の要件を満たす必要があります。
* サーバーレス SQL プールからのクエリをサポートします。
* クエリを実行するときの分析コンピューティングに対してのみ料金が発生します。
* 分析プロセスが確実に行われるようにする
注: 運用プロセスに影響します。
どの 3 つのアクションを順番に実行する必要がありますか?回答するには、アクションのリストから適切なアクションを回答領域に移動し、正しい順序で並べます。
正解:
解説:
Explanation:
質問 # 41
App2 を実装するときに使用する接続モードを特定する必要があります。ソリューションは計画された変更をサポートし、ビジネス要件を満たさなければなりません。
どの接続モードを特定する必要がありますか?
- A. TCP 経由のダイレクト モード
- B. ゲートウェイ モード (HTTPS を使用)
- C. HTTPS 経由のダイレクト モード
正解:A
解説:
Scenario: Develop an app named App2 that will run from the retail stores and query the data in account2.
App2 must be limited to a single DNS endpoint when accessing account2.
By using Azure Private Link, you can connect to an Azure Cosmos account via a private endpoint. The private endpoint is a set of private IP addresses in a subnet within your virtual network.
When you're using Private Link with an Azure Cosmos account through a direct mode connection, you can use only the TCP protocol. The HTTP protocol is not currently supported.
Reference:
https://docs.microsoft.com/en-us/azure/cosmos-db/how-to-configure-private-endpoints
質問 # 42
con-iot1 と con-iot2 を実装する予定です。
各コンテナーのデフォルトの存続期間設定を構成する必要があります。ソリューションは、LoT テレメトリ要件を満たしている必要があります。
何を設定すればよいでしょうか?回答するには、回答内の適切な選択肢を選択してください。 注: 正しい選択肢はそれぞれ 1 ポイントの価値があります。
正解:
解説:
Explanation:
Box 1 = On (no default)For con-iot1, you need to configure the default TTL setting to On (no default), which means that items in this container do not expire by default, but you can override the TTL value on a per-item basis. This meets the requirement of retaining all telemetry data unless overridden1.
Box 2 = On (3600 seconds)For con-iot2, you need to configure the default TTL setting to On (3600 seconds), which means that items in this container will expire 3600 seconds (one hour) after their last modified time. This meets the requirement of deleting all telemetry data older than one hour1.
質問 # 43
セッションの既定の整合性レベルを持つ account1 という名前の Azure Cosmos DB アカウントがあります。
App1 という名前のアプリがあります。
App1 の読み取り操作で、期限付きの失効性または一貫したプレフィックスの一貫性のいずれかを要求できることを確認する必要があります。
各整合性レベルで何を変更する必要がありますか?回答するには、回答領域で適切なオプションを選択してください。
注: 正しく選択するたびに 1 ポイントの価値があります。
正解:
解説:
Explanation:
Box 1 = The request level options
Azure Cosmos DB offers five well-defined consistency levels: strong, bounded staleness, session, consistent prefix and eventual. You can configure the default consistency level on your Azure Cosmos DB account at any time2. The default consistency level applies to all databases and containers under that account1. You can also override the default consistency level for a specific request by using the request options2.
Box 2 = The request level options
To modify the consistency level of a read operation in Azure Cosmos DB, you can use request-level options to override the account's default consistency setting. Therefore, to ensure that the read operations of App1 can request either consistent prefix or session consistency, you need to modify the request-level options for each operation. Reference: - https://docs.microsoft.com/en-us/azure/cosmos-db/consistency-levels
質問 # 44
次の Azure Resource Manager (ARM) テンプレートを使用して、Azure リソースをプロビジョニングします。
次の各ステートメントについて、そのステートメントが true の場合は [はい] を選択します。それ以外の場合は、「いいえ」を選択します。
注: 正しく選択するたびに 1 ポイントの価値があります。
正解:
解説:
Explanation:
Box 1: No
An alert is triggered when the DB key is regenerated, not when it is used.
Note: The az cosmosdb keys regenerate command regenerates an access key for a Azure Cosmos DB database account.
Box 2: No
Only an SMS action will be taken.
Emailreceivers is empty so no email action is taken.
Box 3: Yes
Yes, an alert is triggered when the DB key is regenerated.
Reference: https://docs.microsoft.com/en-us/cli/azure/cosmosdb/keys
質問 # 45
あなたは書籍出版社のリレーショナル データベースを管理しています。データベースには次のテーブルが含まれています。
最も一般的なクエリは、指定された authorId の書籍をリストします。
リレーショナル データベースを置き換える Azure Cosmos DB Core (SQL) API の非リレーショナル データ モデルを開発する必要があります。ソリューションでは、待ち時間と読み取り操作コストを最小限に抑える必要があります。
ソリューションには何を含めるべきでしょうか?
- A. 各著者のドキュメントと各ブックのドキュメントを含むコンテナを作成します。各 Book ドキュメントに authorId を埋め込みます。
- B. 著者用のコンテナと書籍用のコンテナを作成します。各 Author ドキュメントと Book ドキュメントに、Bookauthorlnk からのデータを埋め込みます。
- C. 著者用のコンテナと書籍用のコンテナを作成します。各著者ドキュメントに、著者による各書籍の予約を埋め込みます。各 Book ドキュメントには、各著者の著者が埋め込まれます。
- D. 同じコンテナ内に Author、Book、および Bookauthorlnk ドキュメントを作成します。
正解:C
解説:
Store multiple entity types in the same container.
質問 # 46
Azure Cosmos DB Core (SQL) API アカウントには、IoT データを保存する telemetry という名前のデータベースがあります。
データベースには、readings と devices という名前の 2 つのコンテナーが含まれています。
読み物の文書は次のような構造になっています。
ID
デバイスID
タイムスタンプ
所有者
メジャー (配列)
- タイプ
- 価値
- メトリックID
デバイス内のドキュメントは次の構造になっています。
ID
デバイスID
所有者
- 所有者
- 電子メールアドレス
- 名前
ブランド
モデル
次の各ステートメントについて、そのステートメントが true の場合は [はい] を選択します。それ以外の場合は、「いいえ」を選択します。
注: 正しく選択するたびに 1 ポイントの価値があります。
正解:
解説:
Explanation:
Box 1: Yes
Need to join readings and devices.
Box 2: No
Only readings is required. All required fields are in readings.
Box 3: No
Only devices is required. All required fields are in devices.
質問 # 47
Container1 という名前のコンテナーを含む Azure Cosmos DB for NoSQL アカウントがあります。
アイテム ID とパーティション キーのポイント読み取りを実行するキーと値のストアとして、container1 を使用する予定です。
コンテナーのインデックス作成ポリシーを定義する必要があります。ソリューションは次の要件を満たす必要があります。
*container1 に DefauitTimeToLive を設定する機能を提供します。
*実装時間を最小限に抑えます。
*コストを最小限に抑えます。
インデックス作成ポリシーの JSON 定義はどのように完了すればよいですか?回答するには、回答領域で適切なオプションを選択してください。
注: 正しく選択するたびに 1 ポイントの価値があります。
正解:
解説:
Explanation:
質問 # 48
accounts1 という名前の Azure Cosmos DB for NoSQL アカウントがあります。
account1 に統合キャッシュを実装する予定です。
アカウント 1 を対象とするリクエストの接続モードと一貫性レベルを構成する必要があります。ソリューションでは、統合キャッシュを使用しながら一貫性を最大化する必要があります。
何を設定する必要がありますか? 回答するには、回答領域で適切なオプションを選択してください。
注意: 正しい選択ごとに 1 ポイントが付与されます。
正解:
解説:
Explanation:
質問 # 49
......
更新された2024年11月合格させるDP-420日本語試験リアル練習テスト問題:https://www.jpntest.com/shiken/DP-420J-mondaishu