[Q44-Q62] DP-420日本語認定で究極のガイド [2024年更新]

Share

DP-420日本語認定で究極のガイド [2024年更新]

DP-420日本語練習試験と学習ガイドは厳密検証された

質問 # 44
Azure Cosmos OB for NoSQL データベースに運用データがあります。
データベース ユーザーは、ビジネス分析チームがデータベースに対して大規模な Apache Spark ベースのクエリを実行すると、データベースのパフォーマンスが大幅に低下すると報告しています。
Spark ベースのクエリの実行がデータベース ユーザーに与える影響を軽減する必要があります。
何を実装する必要がありますか?

  • A. デフォルトの一貫性レベルの一貫したプレフィックス
  • B. Azure Synapse リンク
  • C. デフォルトの整合性レベル「Strong」
  • D. Spark コネクタ

正解:B


質問 # 45
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/


質問 # 46
Azure Cosmos DB に db1 という名前のデータベースがあります。 f を通じて公開されているサードパーティ アプリケーションがあります。 アプリケーションからアプリケーションにデータを移行する必要があります。何を使用すればよいですか?

  • A. データベース移行アシスタント
  • B. Azure 移行
  • C. Azure データ ファクトリ

正解:C

解説:
you can migrate data from various data sources to Azure Cosmos DB using different tools and methods. The choice of the migration tool depends on factors such as the data source, the Azure Cosmos DB API, the size of data, and the expected migration duration1. Some of the common migration tools are:
* Azure Cosmos DB Data Migration tool: This is an open source tool that can import data to Azure Cosmos DB from sources such as JSON files, MongoDB, SQL Server, CSV files, and Azure Cosmos DB collections. This tool supports the SQL API and the Table API of Azure Cosmos DB2.
* Azure Data Factory: This is a cloud-based data integration service that can copy data from various sources to Azure Cosmos DB using connectors. This tool supports the SQL API, MongoDB API, Cassandra API, Gremlin API, and Table API of Azure Cosmos DB3.
* Azure Cosmos DB live data migrator: This is a command-line tool that can migrate data from one Azure Cosmos DB container to another container within the same or different account. This tool supports live migration with minimal downtime and works with any Azure Cosmos DB API4.
For your scenario, if you want to migrate data from a third-party application that is exposed through an OData endpoint to a container in Azure Cosmos DB for NoSQL, you should use Azure Data Factory. Azure Data Factory has an OData connector that can read data from an OData source and write it to an Azure Cosmos DB sink using the SQL API5. You can create a copy activity in Azure Data Factory that specifies the OData source and the Azure Cosmos DB sink, and run it on demand or on a schedule.


質問 # 47
DB1 という名前の Azure Cosmos DB for NoSQL データベースを含む Azure サブスクリプションがあります。 DB1 にプロビジョニングされた共有スループットは 10,000 DTU/秒です。 DB1 には、次の表に示すコンテナーが含まれています。

コンテナーのスループットを変更する必要があります。ソリューションは次の要件を満たす必要があります。
* Container1 の最大スループットは 4,000 DTU/秒である必要があります。
* Contained のスループットはコンテナ間で共有する必要があります。
* 管理上の労力は最小限に抑える必要があります。
あなたは何をするべきか?回答するには、回答領域で適切なオプションを選択してください。注: 正しく選択するたびに 1 ポイントの価値があります。

正解:

解説:

Explanation:


質問 # 48
カスタム競合解決ポリシーを使用する Azure Cosmos DB Core (SQL) API アカウントがある。アカウントには、実行時例外をスローするマージ プロシージャが登録されています。
実行時例外により、競合の解決が妨げられます。
競合を解決するには、Azure 関数を使用する必要があります。
何を使えばいいのでしょうか?

  • A. 変更フィードからプッシュされた項目を受け取り、Azure Cosmos DB トリガーによってトリガーされる関数
  • B. 競合フィードからプッシュされたアイテムを受け取り、Azure Cosmos DB トリガーによってトリガーされる関数
  • C. 競合フィードからアイテムを取得し、タイマー トリガーによってトリガーされる関数
  • D. 変更フィードから項目を取得し、タイマー トリガーによってトリガーされる関数

正解:B

解説:
The Azure Cosmos DB Trigger uses the Azure Cosmos DB Change Feed to listen for inserts and updates across partitions. The change feed publishes inserts and updates, not deletions.
Reference: https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-cosmosdb


質問 # 49
コンテナーという名前の Azure Cosmos DB コンテナーがあります。プロビジョニングされたスループットと 2 つの物理パーティションがあります。コンテナ 1 について次のメトリクスを監視します。
* 正規化された RU 消費量
* HTTP ステータス コード 429 を持つリクエストの割合
リソース使用率を最大化するようにcontainer1が構成されていることを確認する必要があります。
各指標の最適な値は何ですか?回答するには、回答領域で適切なオプションを選択してください。
注: 正しく選択するたびに 1 ポイントの価値があります。

正解:

解説:

Explanation:


質問 # 50
account1 という名前の Azure Cosmos DB Core (SQL) API アカウントがあります。
account1 では、100GB のデータを含むコンテナーで次のクエリを実行します。
選択する *
フロムc
WHERE LOWER(c.categoryid) = "ホッケー"
クエリの実行中に次のメトリクスが表示されます。

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

正解:

解説:

Explanation:

Box 1: No
Each physical partition should have its own index, but since no index is used, the query is not cross-partition.
Box 2: No
Index utilization is 0% and Index Look up time is also zero.
Box 3: Yes
A partition key index will be created, and the query will perform across the partitions.
Reference: https://docs.microsoft.com/en-us/azure/cosmos-db/sql/how-to-query-container


質問 # 51
次の図に示すインデックス作成ポリシーがあります。

ドロップダウン メニューを使用して、図に示されている情報に基づいて各質問に答える回答の選択肢を選択します。
注: 正しく選択するたびに 1 ポイントの価値があります。

正解:

解説:

Explanation:

Box 1: ORDER BY c.name DESC, c.age DESC
Queries that have an ORDER BY clause with two or more properties require a composite index.
The following considerations are used when using composite indexes for queries with an ORDER BY clause with two or more properties:
If the composite index paths do not match the sequence of the properties in the ORDER BY clause, then the composite index can't support the query.
The order of composite index paths (ascending or descending) should also match the order in the ORDER BY clause.
The composite index also supports an ORDER BY clause with the opposite order on all paths.
Box 2: At the same time as the item creation
Azure Cosmos DB supports two indexing modes:
Consistent: The index is updated synchronously as you create, update or delete items. This means that the consistency of your read queries will be the consistency configured for the account.
None: Indexing is disabled on the container.
Reference: https://docs.microsoft.com/en-us/azure/cosmos-db/index-policy


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


質問 # 53
Azure Key Vault に格納されているカスタマー マネージド キーを使用する Azure Cosmos DB Core (SQL) API アカウントを作成する予定です。
Azure Cosmos DB がキーにアクセスできるようにするには、Key Vault でアクセス ポリシーを構成する必要があります。
アクセス ポリシーで有効にする必要がある 3 つのアクセス許可はどれですか?それぞれの正解は、解決策の一部を示しています。
注: 正しく選択するたびに 1 ポイントの価値があります。

  • A. 確認します
  • B. リスト
  • C. ラップキー
  • D. 更新
  • E. 署名
  • F. 取得
  • G. ラップ解除キー

正解:C、F、G

解説:
Reference: https://docs.microsoft.com/en-us/azure/cosmos-db/how-to-setup-cmk


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

正解:

解説:

Explanation:


質問 # 55
accounts1 という名前の Azure Cosmos DB for NoSQL アカウントがあります。
account1 に統合キャッシュを実装する予定です。
アカウント 1 を対象とするリクエストの接続モードと一貫性レベルを構成する必要があります。ソリューションでは、統合キャッシュを使用しながら一貫性を最大化する必要があります。
何を設定する必要がありますか? 回答するには、回答領域で適切なオプションを選択してください。
注意: 正しい選択ごとに 1 ポイントが付与されます。

正解:

解説:

Explanation:


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


質問 # 57
次の図に示すように、NoSQL アカウント用の Azure Cosmos DB のバックアップを構成します。

ドロップダウン メニューを使用して、図に示されている情報に基づいて各ステートメントを完成させる回答の選択肢を選択します。
注: 正しく選択するたびに 1 ポイントの価値があります。

正解:

解説:

Explanation:
Box 1 = The current backup policy provides protection for: 2 Hours Azure Cosmos DB automatically takes backups of your data at regular intervals. The backup interval and the retention period can be configured from the Azure portal. You can also choose between two backup modes: periodic backup mode and continuous backup mode. Periodic backup mode is the default mode for all existing accounts and it takes a full backup of your database every 4 hours by default. Continuous backup mode is a new mode that allows you to restore to any point of time within either 7 or 30 days1.
For your scenario, based on the exhibit, you have configured a backup for an Azure Cosmos DB for NoSQL account using the periodic backup mode with a backup interval of 1 hour and a retention period of 2 hours.
This means that Azure Cosmos DB will take a full backup of your database every hour and keep only the latest two backups. Therefore, the current backup policy provides protection for 2 hours.
Box 2: In case of emergency, you must (answer choice) to restore the backup = create a support ticket Azure Cosmos DB automatically takes backups of your data at regular intervals. You can configure the backup interval and the retention period from the Azure portal. You can also choose between two backup modes:
periodic backup mode and continuous backup mode. Periodic backup mode is the default mode for all existing accounts and it takes a full backup of your database every 4 hours by default. Continuous backup mode is a new mode that allows you to restore to any point of time within either 7 or 30 days1.
For your scenario, based on the exhibit, you have configured a backup for an Azure Cosmos DB for NoSQL account using the periodic backup mode with a backup interval of 1 hour and a retention period of 2 hours.
This means that Azure Cosmos DB will take a full backup of your database every hour and keep only the latest two backups. In case of emergency, you must create a support ticket to restore the backup. This is the answer to your question.
To restore data from a periodic backup, you need to create a support request with Azure Cosmos DB team and provide the following information:
* The name of your Azure Cosmos DB account
* The name of the database or container that you want to restore
* The date and time (in UTC) that you want to restore from
* The name of the target Azure Cosmos DB account where you want to restore the data
* The name of the target resource group where you want to restore the data The Azure Cosmos DB team will then initiate the restore process and notify you when it is completed2.


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

  • A. いいえ
  • B. はい

正解:B

解説:
Setting ConflictResolutionMode to Custom and configuring a custom stored procedure with the
"conflictingItems" parameter will allow you to implement a custom conflict resolution policy. This will ensure that any conflicts are sent to the conflict feed for resolution.


質問 # 59
2 つのコンテナーを含む db1 という名前の Azure Cosmos DB データベースを作成する予定です。コンテナーの 1 つはブログ投稿を含み、もう 1 つはユーザーを含みます。ブログ投稿コンテナ内の各アイテムには次のものが含まれます。
* 単一のブログ投稿
* ブログ投稿に関連付けられたすべてのコメント
* ブログ投稿を作成し、コメントを追加したユーザーの名前。
データの整合性の問題を引き起こすことなく、ユーザー コンテナ内のユーザー名を更新するソリューションを設計する必要があります。
ソリューションでは、管理と開発の労力を最小限に抑える必要があります。ソリューションには何を含めるべきでしょうか?
回答するには、回答領域で適切なオプションを選択してください。
注: 正しく選択するたびに 1 ポイントの価値があります。

正解:

解説:

Explanation:


質問 # 60
account1 という名前の Azure Cosmos DB Core (SQL) API アカウントがあります。
次の表に示す Azure 仮想ネットワークとサブネットがあります。

vnet1 ネットワークと vnet2 ネットワークは、仮想ネットワーク ピアを使用して接続されます。
account1 のファイアウォールと仮想ネットワークの設定は、図に示すように構成されています。

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

正解:

解説:

Explanation:

Box 1: Yes
VM1 is on vnet1.subnet1 which has the Endpoint Status enabled.
Box 2: No
Only virtual network and their subnets added to Azure Cosmos account have access. Their peered VNets cannot access the account until the subnets within peered virtual networks are added to the account.
Box 3: No
Only virtual network and their subnets added to Azure Cosmos account have access.
Reference: https://docs.microsoft.com/en-us/azure/cosmos-db/how-to-configure-vnet-service-endpoint


質問 # 61
Azure Cosmos DB for NoSQL アカウントにデータベースがあります。データベースには、container1 という名前のコンテナーが含まれています。インデックス作成モードcontainer1はnoneに設定されます。 Container1 からデータを抽出し、そのデータを検索可能にするように Azure Cognitive Search を構成します。 Cognitive Search インデックスに Azure Cosmos DB インデックスのデータがすべて欠落していることがわかります。問題を解決するにはどうすればよいですか?

  • A. / * パスを除外するようにコンテナ 1 のインデックス作成ポリシーを変更します。
  • B. コンテナ 1 のインデックス作成モードを一貫性のあるモードに変更します。
  • C. Cognitive Search のインデックス属性を検索可能に変更します。
  • D. コグニティブ検索のインデックス属性を取得可能に変更します。

正解:B


質問 # 62
......

究極のガイドはDP-420日本語最新時間限定!今すぐダウンロード!:https://www.jpntest.com/shiken/DP-420J-mondaishu

弊社を連絡する

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

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

サポート:現在連絡