更新された2024年12月公式問題DP-420日本語認定にはDP-420日本語問題集PDF [Q46-Q66]

Share

更新された2024年12月公式問題DP-420日本語認定にはDP-420日本語問題集PDF

2024年最新のに更新された最新DP-420日本語問題集を掴み取れ!

質問 # 46
Azure Cosmos DB for NoSQL アカウントに、マルチリージョン書き込み用に構成されたデータベースがあります。
コンテナーの競合解決ポリシーを実装するには、Azure Cosmos DB SDK を使用する必要があります。ソリューションでは、競合がすべて競合フィードに送信されるようにする必要があります。
解決策: ConfilictResolutionMode を Custom に設定しました。 ResolutionProcedures をカスタム ストアド プロシージャに設定します。 isTomstone パラメーターを使用して競合を解決するようにカスタム ストアド プロシージャを構成します。
これは目標を達成していますか?

  • A. いいえ
  • B. はい

正解:A

解説:
The solution is incorrect because there is no "isTom" parameter in the Azure Cosmos DB SDK. The correct parameter is "isTombstone".


質問 # 47
disablekeyBasedletadatwriteAccess プロパティが有効になっている account という名前の Azure Cosmos DB for NoSQL アカウントがあります。
App1 という名前のアプリを開発しています。このアプリは、DevUser1 という名前の use1 が account1 にコンテナーを作成するために使用します。 DevUser1 は、Azure AD テナントに特権のないユーザー アカウントを持っています。
DevUser1 が App1 を使用して account1 にコンテナーを作成できることを確認する必要があります。
あなたは何をするべきか?回答するには、回答領域で適切なオプションを選択してください。
注意 正しい選択はそれぞれ 1 ポイントの価値があります。

正解:

解説:

Explanation:


質問 # 48
Azure Cosmos DB Core (SQL) API アカウントにコンテナーがあります。コンテナーには、IoT デバイスからのテレメトリ データが保存されます。コンテナーはパーティション キーとして telemetryId を使用し、1 秒あたり 1,000 要求ユニット (RU/秒) のスループットを備えています。約 5,000 台の IoT デバイスが、同じ telemetryId 値を使用して 5 分ごとにデータを送信します。
データの分析を実行し、単一の IoT デバイスのテレメトリ データを頻繁に読み取って傾向分析を実行するアプリケーションがあります。
以下は、コンテナ内のドキュメントのサンプルです。

分析アプリケーションによって消費される要求ユニット (RU) の量を減らす必要があります。
あなたは何をするべきか?

  • A. deviceId のパーティション キーを持つ新しいコンテナにデータを移動します。
  • B. コンテナーの OfferThroughput 値を増やします。
  • C. 日付のパーティション キーを使用する新しいコンテナにデータを移動します。
  • D. コンテナーの OfferThroughput 値を減らします。

正解:A

解説:
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.
Reference: https://docs.microsoft.com/en-us/azure/architecture/solution-ideas/articles/iot-using-cosmos-db


質問 # 49
con-iot1 のパーティション キーを選択する必要があります。ソリューションは IoT テレメトリ要件を満たしている必要があります。
何を選択すればよいでしょうか?

  • A. デバイス ID
  • B. タイムスタンプ
  • C. 湿度
  • D. 温度

正解:A

解説:
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


質問 # 50
コンテナーという名前のコンテナーがあります。 Azure Cosmos DB for NoSQL アカウント内。
User1 という名前のユーザーに、ロールベースのアクセスを使用して項目を container1 に挿入できるようにする必要があります。このソリューションでは、最小特権の原則を使用する必要があります。
User1 にはどのロールを割り当てる必要がありますか?

  • A. Cosmos DB オペレーターのみ
  • B. DocumentDB アカウント 投稿のみ
  • C. DocumentDB アカウント寄稿者および Cosmos DB 組み込みデータ寄稿者
  • D. Cosmos DB 組み込みデータ コントリビューターのみ

正解:D

解説:
The Cosmos DB Built-in Data Contributor role provides the necessary permissions to insert items into a container in an Azure Cosmos DB for NoSQL account. This role grants the minimum required privileges for the described task, adhering to the principle of least privilege.


質問 # 51
注: この質問は、同じシナリオを示す一連の質問の一部です。このシリーズの各質問には、指定された目標を達成できる可能性のある独自の解決策が含まれています。一部の質問セットには複数の正しい解決策がある場合もありますが、他の質問セットには正しい解決策がない場合があります。
このセクションの質問に回答すると、その質問に戻ることはできません。そのため、これらの質問はレビュー画面には表示されません。
Azure Cosmos DB for NoSQL アカウントに conlainer1 という名前のコンテナーがあります。
Container1 の内容を Azure Stream Analytics ジョブの参照データとして利用できるようにする必要があります。
解決策: データを別の Azure Cosmos DB for NoSQL コンテナーにコピーする Azure 関数を作成します。
これは目標を達成していますか?

  • A. いいえ
  • B. はい

正解:A


質問 # 52
西ヨーロッパに単一の書き込みリージョンを持つ 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


質問 # 53
Azure Cosmos DB Core (SQL) API アカウントにデータベースがあります。
あなたは、5,000 の中小企業の従業員データを保存するコンテナーを作成することを計画しています。各事業の従業員数は最大 25 名となります。各従業員項目には emailAddress 値があります。
同じ会社内の各従業員の emailAddress 値が一意であることを確認する必要があります。
パーティションキーとユニークキーは何を設定すればよいでしょうか?回答するには、回答領域で適切なオプションを選択してください。
注: 正しく選択するたびに 1 ポイントの価値があります。

正解:

解説:

Explanation:

Box 1: CompanyID
After you create a container with a unique key policy, the creation of a new or an update of an existing item resulting in a duplicate within a logical partition is prevented, as specified by the unique key constraint. The partition key combined with the unique key guarantees the uniqueness of an item within the scope of the container.
For example, consider an Azure Cosmos container with Email address as the unique key constraint and CompanyID as the partition key. When you configure the user's email address with a unique key, each item has a unique email address within a given CompanyID. Two items can't be created with duplicate email addresses and with the same partition key value.
Box 2: emailAddress
Reference: https://docs.microsoft.com/en-us/azure/cosmos-db/unique-keys


質問 # 54
注: この質問は、同じシナリオを示す一連の質問の一部です。このシリーズの各質問には、指定された目標を達成できる可能性のある独自の解決策が含まれています。一部の質問セットには複数の正しい解決策が含まれる場合がありますが、他の質問セットには正しい解決策がない場合があります。
このセクションの質問に回答すると、その質問に戻ることはできません。そのため、これらの質問はレビュー画面には表示されません。
自動スケール スループットを使用する、アカウント 1 という名前の Azure Cosmos DB Core (SQL) API アカウントがあります。
account1 のコンテナーの 1 秒あたりの正規化された要求ユニットが特定の値を超えた場合は、Azure 関数を実行する必要があります。
解決策: Azure CosmosDB トリガーを持つように関数を構成します。
これは目標を達成していますか?

  • A. いいえ
  • B. はい

正解:A

解説:
Instead configure an Azure Monitor alert to trigger the function.
You can set up alerts from the Azure Cosmos DB pane or the Azure Monitor service in the Azure portal.
Reference: https://docs.microsoft.com/en-us/azure/cosmos-db/create-alerts


質問 # 55
Azure Cosmos DB for NoSQL アカウントには、注文に関するデータを保存するコンテナーがあります。以下は注文書のサンプルです。

ドキュメントは最大 2 KB です。
毎日 100 万件の注文を受ける予定です。
顧客は過去の注文履歴を頻繁に閲覧します。
orderDate をパーティション キーとして使用するかどうかを評価しています。
orderDate をパーティション キーとして使用する 2 つの効果は何ですか?それぞれの正解は完全な解決策を示します。
注: 正しく選択するたびに 1 ポイントの価値があります。

  • A. クエリはパーティション間で実行されます。
  • B. パーティションごとの最大ストレージを超えます。
  • C. パーティション キー値の最大数を超えます。
  • D. ホット パーティションが常に存在します。

正解:A、D


質問 # 56
Azure Cosmos DB SQL API Core (SQL) アカウントに開発に使用されるデータベースがあります。
データベースはバッチ処理で 1 日に 1 回変更されます。
最後のバッチプロセスが失敗した場合にデータベースを復元できることを確認する必要があります。ソリューションではコストを最小限に抑える必要があります。
バックアップ設定はどのように行うべきですか?回答するには、回答領域で適切なオプションを選択してください。
注: 正しく選択するたびに 1 ポイントの価値があります。

正解:

解説:

Explanation:


質問 # 57
disableKeyBasedMetadataWriteAccess プロパティが有効になっている account1 という名前の Azure Cosmos DB Core (SQL) API アカウントがあります。
DevUser1 という名前のユーザーが account1 にコンテナーを作成するために使用する App1 という名前のアプリを開発しています。 DevUser1 は、Azure Active Directory (Azure AD) テナントに特権のないユーザー アカウントを持っています。
DevUser1 が App1 を使用して account1 にコンテナーを作成できることを確認する必要があります。
あなたは何をするべきか?回答するには、回答領域で適切なオプションを選択してください。
注: 正しく選択するたびに 1 ポイントの価値があります。

正解:

解説:

Explanation:

Box 1: Resource tokens
Resource tokens provide access to the application resources within a database. Resource tokens:
Provide access to specific containers, partition keys, documents, attachments, stored procedures, triggers, and UDFs.
Box 2: Azure Resource Manager API
You can use Azure Resource Manager to help deploy and manage your Azure Cosmos DB accounts, databases, and containers.
Reference:
https://docs.microsoft.com/en-us/azure/cosmos-db/secure-access-to-data
https://docs.microsoft.com/en-us/rest/api/resources/


質問 # 58
Azure Cosmos DB SQL API Core (SQL) アカウントに開発に使用されるデータベースがあります。
データベースはバッチ処理で 1 日に 1 回変更されます。
最後のバッチプロセスが失敗した場合にデータベースを復元できることを確認する必要があります。ソリューションではコストを最小限に抑える必要があります。
バックアップ設定はどのように行うべきですか?回答するには、回答領域で適切なオプションを選択してください。
注: 正しく選択するたびに 1 ポイントの価値があります。

正解:

解説:

Explanation:


質問 # 59
Azure Cosmos OB for NoSQL アカウントにデータを保存するグローバル e コマース アプリケーションがあります。アカウントはマルチリージョン書き込みに対応するように設計されています。
新しいコンテナーのカスタム競合解決ポリシーのストアド プロシージャを作成する必要があります。削除によって競合が発生した場合は、常に削除を優先する必要があります。
ストアド プロシージャ関数でどのパラメータを確認する必要がありますか?

  • A. 受信 1 項目
  • B. conflictingItems
  • C. 墓石です
  • D. 既存

正解:C


質問 # 60
Azure Cosmos DB Core (SQL) API アカウントのコンテナーの設定は、次のように構成されます。

コンテナの構成を説明するステートメントはどれですか?

  • A. コレクションに保存されているアイテムは、アイテムに有効期限値がある場合にのみ期限切れになります。
  • B. 1 年後にすべてのアイテムが削除されます。
  • C. コレクションに保存されているアイテムは、アイテムの存続時間の値に関係なく、常に保持されます。
  • D. すべてのアイテムは 1 時間後に削除されます。

正解:A

解説:
When DefaultTimeToLive is -1 then your Time to Live setting is On (No default) Time to Live on a container, if present and the value is set to "-1", it is equal to infinity, and items don't expire by default.
Time to Live on an item:
This Property is applicable only if DefaultTimeToLive is present and it is not set to null for the parent container.
If present, it overrides the DefaultTimeToLive value of the parent container.
Reference: https://docs.microsoft.com/en-us/azure/cosmos-db/sql/time-to-live


質問 # 61
コンテナー 1 という名前のコンテナーを含む Azure Cosmos DB データベースがあります。コンテナー 1 コンテナーは最大 20,000 RU/秒で構成されており、現在 240 GB のデータが含まれています。
現在の使用状況に基づいて、container1 のコストを見積もる必要があります。
何 RU/秒が請求されますか?

  • A. 0
  • B. 1
  • C. 4.000
  • D. 20,000

正解:C


質問 # 62
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


質問 # 63
家族に関するデータを保存するコンテナがあります。以下はサンプルドキュメントです。

次の各ステートメントについて、そのステートメントが true の場合は [はい] を選択します。それ以外の場合は、「いいえ」を選択します。
注: 正しく選択するたびに 1 ポイントの価値があります。

正解:

解説:

Explanation:
Children who do no have parents defined will appear on the list = NO
Children who do not have parents defined will not appear on the list. This is because the document schema defines the children property as an array of objects that contain the firstName and gender properties of each child, as well as a parents property that references the id values of the parents. If a child does not have parents defined, it means that the parents property is either missing or empty for that child. Therefore, such a child will not be included in the list of children who have parents defined.
Children who have more than one pet will appear on the list multiple times. = Yes Children who have more than one pet will appear on the list multiple times. This is because the document schema defines the pets property as an array of objects that contain the givenName and type properties of each pet, as well as a children property that references the id values of the children who own the pet. If a child has more than one pet, it means that the child's id value will appear in the children property of multiple pet objects. Therefore, such a child will be included in the list of children who have pets multiple times.
Children who do no have pets defined will appear on the list = No
Children who do not have pets defined will not appear on the list. This is because the document schema defines the pets property as an array of objects that contain the givenName and type properties of each pet, as well as a children property that references the id values of the children who own the pet. If a child does not have pets defined, it means that the child's id value does not appear in the children property of any pet object.
Therefore, such a child will not be included in the list of children who have pets defined.


質問 # 64
既定の整合性レベルが強である 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.


質問 # 65
Azure Cosmos DB for NoSQL アカウントに接続するアプリケーションを開発しています。アカウントには 1 つの Readme リージョンと 1 つの Agonal Read リージョンがあります。リージョンは自動フェイルオーバー用に構成されています。
アカウントには次の接続文字列があります。 (行番号は参考のためにのみ記載されています。)

次の各ステートメントについて、そのステートメントが true の場合は [はい] を選択します。それ以外の場合は、「いいえ」を選択します。
注: 正しく選択するたびに 1 ポイントの価値があります。

正解:

解説:

Explanation:
If the primary write region fails, applications that write to the database must use a different connection string to continue to use the service. = NOYou do not need to use a different connection string to continue to use the service if the primary write region fails. This is because Azure Cosmos DB supports automatic failover, which means that it will automatically switch the primary write region to another region in case of a regional outage2
. The application does not need to change the connection string or specify the failover priority3. The connection string contains a list of all the regions associated with your account, and Azure Cosmos DB will route the requests to the appropriate region based on the availability and latency1.
The primary Read-Only SQL Connection String and the Secondary Read-Only SQL Connection String will connect to different regions from an application running in the East US Azure region = YesThe primary read-only SQL connection string and the secondary read-only SQL connection string will connect to different regions from an application running in the East US Azure region. This is because the primary read-only SQL connection string contains the endpoint for the East US region, which is the same as the primary write region.
The secondary read-only SQL connection string contains the endpoint for the West US region, which is the additional read region. Therefore, if an application running in the East US Azure region uses these connection strings, it will connect to different regions depending on which one it chooses.
Applications can choose from which region by setting the PreferredLocations property within their connection properties = Yes Applications can choose from which region by setting the PreferredLocations property within their connection properties. This property allows you to specify a list of regions that you prefer to read from based on their proximity to your application2. Azure Cosmos DB will route the requests to the appropriate region based on the availability and latency1. You can also set the ApplicationRegion property to the region where your application is deployed, and Azure Cosmos DB will automatically populate the PreferredLocations property based on the geo-proximity from that location1.


質問 # 66
......

最新のDP-420日本語試験問題集でMicrosoft試験にはトレーニング:https://www.jpntest.com/shiken/DP-420J-mondaishu

弊社を連絡する

我々は12時間以内ですべてのお問い合わせを答えます。

オンラインサポート時間:( UTC+9 ) 9:00-24:00
月曜日から土曜日まで

サポート:現在連絡