正真正銘のDP-420日本語問題集で無料PDF問題で合格させる
結果を保証するには最新2024年07月無料で提供するDP-420日本語
質問 # 36
コンテナーという名前の Azure Cosmos DB コンテナーがあります。プロビジョニングされたスループットと 2 つの物理パーティションがあります。コンテナ 1 について次のメトリクスを監視します。
* 正規化された RU 消費量
* HTTP ステータス コード 429 を持つリクエストの割合
リソース使用率を最大化するようにcontainer1が構成されていることを確認する必要があります。
各指標の最適な値は何ですか?回答するには、回答領域で適切なオプションを選択してください。
注: 正しく選択するたびに 1 ポイントの価値があります。
正解:
解説:
Explanation:
質問 # 37
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/
質問 # 38
Azure Cosmos 06 for NoSQL アカウントをクエリするアプリケーションがあります。
次の 2 つのクエリが頻繁に実行されることがわかります。
読み取りと書き込みによって消費される要求ユニット (RU) を最小限に抑える必要があります。何を作成する必要がありますか?
- A. (名前 ASC、タイムスタンプ DESC) の複合インデックス
- B. (名前 ASC、タイムスタンプ ASC) の複合インデックス
- C. (名前 DESC、タイムスタンプ ASC) の複合インデックス
- D. (名前 ASC タイムスタンプ ASC) の複合インデックスと (名前、タイムスタンプ ディスク) の複合インデックス
正解:B
質問 # 39
DB1 という名前の Azure Cosmos DB for NoSQL データベースを含む Azure サブスクリプションがあります。 DB1 にプロビジョニングされた共有スループットは 10,000 DTU/秒です。 DB1 には、次の表に示すコンテナーが含まれています。
コンテナーのスループットを変更する必要があります。ソリューションは次の要件を満たす必要があります。
* Container1 の最大スループットは 4,000 DTU/秒である必要があります。
* Contained のスループットはコンテナ間で共有する必要があります。
* 管理上の労力は最小限に抑える必要があります。
あなたは何をするべきか?回答するには、回答領域で適切なオプションを選択してください。注: 正しく選択するたびに 1 ポイントの価値があります。
正解:
解説:
Explanation:
質問 # 40
Azure Cosmos DB for NoSQL に db1 という名前のデータベースがあります。
dbl を使用するアプリケーションを設計しています。
db1 では、coll1 に格納される coll1 という名前の新しいコンテナーを作成しています。
以下は、coll1 に格納されるドキュメントのサンプルです。
アプリケーションには次のような特徴があります。
* 新しい注文はさまざまな顧客によって頻繁に作成されます。
※お客様は過去の注文履歴を閲覧されることが多いです。
アプリケーションをサポートするには、coll1 のパーティション キー値を選択する必要があります。ソリューションではコストを最小限に抑える必要があります。
パーティションキーを何に設定すればよいでしょうか?
- A. 注文 ID
- B. 顧客 ID
- C. 注文日
- D. ID
正解:C
解説:
Based on the characteristics of the application and the provided document structure, the most suitable partition key value for coll1 in the given scenario would be the customerId, Option B.
The application frequently creates new orders by different customers and customers often view their past order history. Using customerId as the partition key would ensure that all orders associated with a particular customer are stored in the same partition. This enables efficient querying of past order history for a specific customer and reduces cross-partition queries, resulting in lower costs and improved performance.
a partition key is a JSON property (or path) within your documents that is used by Azure Cosmos DB to distribute data among multiple partitions3. A partition key should have a high cardinality, which means it should have many distinct values, such as hundreds or thousands1. A partition key should also align with the most common query patterns of your application, so that you can efficiently retrieve data by using the partition key value1.
Based on these criteria, one possible partition key that you could use for coll1 is B. customerId.
This partition key has the following advantages:
* It has a high cardinality, as each customer will have a unique ID3.
* It aligns with the query patterns of the application, as customers will often view their past order history3.
* It minimizes costs, as it reduces the number of cross-partition queries and optimizes the storage and throughput utilization1.
This partition key also has some limitations, such as:
* It may not be optimal for scenarios where orders need to be queried independently from customers or aggregated by date or other criteria3.
* It may result in hot partitions or throttling if some customers create orders more frequently than others or have more data than others1.
* It may not support transactions across multiple customers, as transactions are scoped to a single logical partition2.
Depending on your specific use case and requirements, you may need to adjust this partition key or choose a different one. For example, you could use a synthetic partition key that concatenates multiple properties of an item2, or you could use a partition key with a random or pre-calculated suffix to distribute the workload more evenly2.
質問 # 41
次の表に示す Azure Cosmos DB for NoSQL コンテナーがあります。
次の表に示す項目があります。
各アイテムの有効期限はいつですか?回答するには、回答領域で適切なオプションを選択してください。
注: 正しく選択するたびに 1 ポイントの価値があります。
正解:
解説:
Explanation:
質問 # 42
Azure Cosmos DB Core (SQL) API アカウントを持っている。
すべてのログ情報を Log Analytics ワークスペースに送信するように診断設定を構成します。
アカウント内のリソースのプロビジョニングされた 1 秒あたりの要求ユニット (RU/秒) がいつ変更されたかを特定する必要があります。
次のクエリを作成します。
AzureDiagnostics
|ここで、カテゴリ == "ControlPlaneRequests"
クエリには何を含めるべきですか?
- A. |ここで、OperationName は「SqlContainersThroughputUpdate」で始まります
- B. |ここで、OperationName は「MongoCollectionsThroughputUpdate」で始まります。
- C. |ここで、OperationName は「AccountUpdateStart」で始まります
- D. |ここで、OperationName は「SqlContainersDelete」で始まります
正解:C
解説:
The following are the operation names in diagnostic logs for different operations:
RegionAddStart, RegionAddComplete
RegionRemoveStart, RegionRemoveComplete
AccountDeleteStart, AccountDeleteComplete
RegionFailoverStart, RegionFailoverComplete
AccountCreateStart, AccountCreateComplete
*AccountUpdateStart*, AccountUpdateComplete
VirtualNetworkDeleteStart, VirtualNetworkDeleteComplete
DiagnosticLogUpdateStart, DiagnosticLogUpdateComplete
Reference: https://docs.microsoft.com/en-us/azure/cosmos-db/audit-control-plane-logs
質問 # 43
Azure Cosmos DB に db1 という名前のデータベースがあります。 f を通じて公開されているサードパーティ アプリケーションがあります。 アプリケーションからアプリケーションにデータを移行する必要があります。何を使用すればよいですか?
- A. Azure データ ファクトリ
- B. Azure 移行
- C. データベース移行アシスタント
正解:A
解説:
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.
質問 # 44
Container1 という名前のコンテナーを含む Azure Cosmos DB for NoSQL アカウントがあります。
アイテム ID とパーティション キーのポイント読み取りを実行するキーと値のストアとして、container1 を使用する予定です。
コンテナーのインデックス作成ポリシーを定義する必要があります。ソリューションは次の要件を満たす必要があります。
*container1 に DefauitTimeToLive を設定する機能を提供します。
*実装時間を最小限に抑えます。
*コストを最小限に抑えます。
インデックス作成ポリシーの JSON 定義はどのように完了すればよいですか?回答するには、回答領域で適切なオプションを選択してください。
注: 正しく選択するたびに 1 ポイントの価値があります。
正解:
解説:
Explanation:
質問 # 45
Azure Cosmos DB Core (SQL) API アカウントに、container1 という名前のコンテナーがあります。
ロールベースのアクセス制御 (RBAC) を使用して、User1 という名前のユーザーに、container1 に項目を挿入する権限を付与する必要があります。ソリューションでは、最小特権の原則を使用する必要があります。
User1 にはどのロールを割り当てる必要がありますか?
- A. Cosmos DB 組み込みデータ コントリビューターのみ
- B. DocumentDB アカウント コントリビューターおよび Cosmos DB 組み込みデータ コントリビューター
- C. DocumentDB アカウントの投稿者のみ
- D. CosmosDB オペレーターのみ
正解:D
解説:
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
質問 # 46
NoSQL コンテナー用の Azure Cosmos DB をプロビジョニングします。スループットを自動スケールに設定し、1 秒あたりの最大リクエスト ユニット (RU/秒) を 20,000 に設定します。
実際の RU/秒の使用量がゼロの場合、何 RU/秒の料金が請求されますか?
- A. 2,000
- B. 0
- C. 4,000
- D. 10,000
- E. 1
正解:A
質問 # 47
Azure Cosmos DB for NoSQL アカウントにコンテナーがあります。 1 秒あたり 30,000 要求ユニット (RU/秒) の手動スループットを持つデータベース。消費電流の詳細を次の表に示します。
PartitionKeyRangeID による正規化された RU 消費量 (%)

ドロップダウン メニューを使用して、図に示されている情報に基づいて各質問に答える回答の選択肢を選択します。注: 正しく選択するたびに 1 ポイントの価値があります。
正解:
解説:
Explanation:
質問 # 48
項目がコンテナーに挿入される前に実行されるトリガーを Azure Cosmos DB Core (SQL) API に実装する必要があります。
トリガーを確実に実行するには、どの 2 つのアクションを実行する必要がありますか?それぞれの正解は、解決策の一部を示しています。
注: 正しく選択するたびに 1 ポイントの価値があります。
- A. 作成リクエストごとに、RequestOptions で一貫性レベルをセッションに設定します。
- B. JavaScript 関数トリガーの名前に pre を追加します。
- C. トリガーをプレトリガーとして登録します。
- D. 作成リクエストごとに、RequestOptions にアクセス条件を設定します。
- E. 作成リクエストごとに、RequestOptions にトリガー名を設定します。
正解:C、E
解説:
C: When triggers are registered, you can specify the operations that it can run with.
F: When executing, pre-triggers are passed in the RequestOptions object by specifying PreTriggerInclude and then passing the name of the trigger in a List object.
Reference: https://docs.microsoft.com/en-us/azure/cosmos-db/sql/how-to-use-stored-procedures-triggers-udfs
質問 # 49
中小企業 (SMB) のディレクトリ用のデータ ストアを作成する必要があります。データ ストアは次の要件を満たす必要があります。
※店舗企業とそれに雇用されるユーザー。各企業のユーザー数は 1,000 人未満になります。
※一部のユーザーは2KBを超えるデータを持っています。
* 各ユーザーを 1 つの会社にのみ関連付けます。
* 会社ごとに閲覧する機能を提供します。
* 企業ごとにユーザーを参照する機能を提供します。
* 会社またはユーザー プロファイルが選択されるたびに、会社とすべての関連ユーザーの詳細ページが表示されます。
* データの読み取りに最適化されています。
データの読み取り用にデータ ストアを最適化するには、どの設計を実装する必要がありますか?
- A. ディレクトリ コンテナに、会社ごとにドキュメントとユーザーごとにドキュメントを作成します。会社 ID をパーティション キーとして使用します。
- B. ユーザー コンテナで、ユーザーごとにドキュメントを作成します。各ユーザードキュメントに会社を埋め込みます。ユーザー ID をパーティション キーとして使用します。
- C. 会社コンテナで、会社ごとにドキュメントを作成します。ユーザーを会社のドキュメントに埋め込みます。会社 ID をパーティション キーとして使用します。
- D. ユーザー ID をパーティション キーとして使用するユーザー コンテナと、会社 ID をパーティション キーとして使用する会社コンテナを作成します。各ユーザー文書に企業 ID を追加します。
正解:C
解説:
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 optimize the data store for reading data, 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 design that you could implement is B. In a company container, create a document for each company. Embed the users into company documents. Use the company ID as the partition key.
This design has the following advantages:
* It stores companies and users as self-contained documents that can be easily retrieved by company ID1.
* It avoids storing redundant data or creating additional containers for users1.
* It allows you to browse by company and browse the users by company with simple queries1.
* It shows a details page for the company and all the related users by fetching a single document1.
* It leverages the benefits of embedding data, such as reducing the number of requests, improving query performance, and simplifying data consistency2.
This design also has some limitations, such as:
* It may not be suitable for some users who 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 users need to be associated with more than one company or queried independently from companies2.
* It may not be scalable for companies that have more than 1,000 users, as it could result in hot partitions or throttling2.
Depending on your specific use case and requirements, you may need to adjust this design 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.
質問 # 50
Azure Cosmos DB for NoSQL アカウントを持っている。
リージョン フェールオーバー ポリシーに対する最近の変更を一覧表示する Azure Monitor クエリを作成する必要があります。
どの Azure Monitor テーブルにクエリを実行する必要がありますか?
- A. CDBControlPlaneRequests
- B. CDBQueryRunTimeStatistics
- C. CDBDataPlaneRequests
- D. CDBPartitionKeyStatistics
正解:A
質問 # 51
Databaset という名前の Azure Cosmos DB データベースがあり、container1 という名前のコンテナーが含まれています。 Container1 コンテナーは製品データを保管し、次のインデックス作成ポリシーを持っています。
どのパスにインデックスが付けられますか?
- A. /製品/カテゴリ
- B. /製品/[ ]/カテゴリ
- C. /製品/ブランド
- D. /product/brand/tailspin
正解:C
解説:
The indexing policy has an includedPaths array that contains only one path: /product/brand/? . This means that only the properties under /product/brand will be indexed. The ? symbol indicates that only scalar values will be indexed, not arrays or objects1.
The excludedPaths array contains a single path: /* . This means that all other properties will be excluded from indexing. The * symbol indicates a wildcard that matches any property name1.
Therefore, the paths /product/category , /product/[ ]/category , and /product/brand/tailspin will not be indexed.
質問 # 52
account1 という名前の Azure Cosmos DB アカウントがあります。
アカウントの 2 次キーを使用して account1 に接続するアプリがいくつかあります。
次に、サービス プリンシパルを使用して認証するようにアプリを構成します。
account1 では、Azure AD ID を使用したアプリの接続のみが許可されるようにする必要があります。
どのアカウントのプロパティを変更する必要がありますか?
- A. LocalAuth を無効にする
- B. userAssignedldentatxe
- C. allowedOrxgins
- D. disableKeyBasedMetadataWriteAccess 、
正解:A
解説:
The disableLocalAuth property is a boolean flag that indicates whether local authentication methods such as primary/secondary keys are disabled for the Azure Cosmos DB account. Setting this property to true improves security by ensuring that Azure Cosmos DB accounts exclusively require Azure Active Directory identities for authentication1.
質問 # 53
App2 を実装するときに使用する接続モードを特定する必要があります。ソリューションは計画された変更をサポートし、ビジネス要件を満たさなければなりません。
どの接続モードを特定する必要がありますか?
- A. ゲートウェイ モード (HTTPS を使用)
- B. HTTPS 経由のダイレクト モード
- C. TCP 経由のダイレクト モード
正解:C
解説:
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
Topic 1, Litware, inc
Case Study
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next section of the exam. After you begin a new section, you cannot return to this section.
To start the case study
To display the first question in this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions. Clicking these buttons displays information such as business requirements, existing environment, and problem statements. If the case study has an All Information tab, note that the information displayed is identical to the information displayed on the subsequent tabs. When you are ready to answer a question, click the Question button to return to the question.
Overview
Litware, Inc. is a United States-based grocery retailer. Litware has a main office and a primary datacenter in Seattle. The company has 50 retail stores across the United States and an emerging online presence. Each store connects directly to the internet.
Existing environment. Cloud and Data Service Environments.
Litware has an Azure subscription that contains the resources shown in the following table.
Each container in productdb is configured for manual throughput.
The con-product container stores the company's product catalog data. Each document in con-product includes a con-productvendor value. Most queries targeting the data in con-product are in the following format.
SELECT * FROM con-product p WHERE p.con-productVendor - 'name'
Most queries targeting the data in the con-productVendor container are in the following format SELECT * FROM con-productVendor pv ORDER BY pv.creditRating, pv.yearFounded Existing environment. Current Problems.
Litware identifies the following issues:
Updates to product categories in the con-productVendor container do not propagate automatically to documents in the con-product container.
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.
Requirements. Planned Changes
Litware plans to implement a new Azure Cosmos DB Core (SQL) API account named account2 that will contain a database named iotdb. The iotdb database will contain two containers named con-iot1 and con-iot2.
Litware plans to make the following changes:
Store the telemetry data in account2.
Configure account1 to support multiple read-write regions.
Implement referential integrity for the con-product container.
Use Azure Functions to send notifications about product updates to different recipients.
Develop an app named App1 that will run from all locations and query the data in account1.
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.
Requirements. Business Requirements
Litware identifies the following business requirements:
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.
Ensure that Azure Cosmos DB costs for IoT-related processing are predictable.
Minimize the number of firewall changes in the retail stores.
Requirements. Product Catalog Requirements
Litware identifies the following requirements for the product catalog:
Implement a custom conflict resolution policy for the product catalog data.
Minimize the frequency of errors during updates of the con-product container.
Once multi-region writes are configured, maximize the performance of App1 queries against the data in account1.
Trigger the execution of two Azure functions following every update to any document in the con-product container.
質問 # 54
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.
質問 # 55
......
DP-420日本語ブレーン問題集PDF、Microsoft DP-420日本語試験問題詰合せ:https://www.jpntest.com/shiken/DP-420J-mondaishu