Microsoft DP-420 Übungsprüfungen
Zuletzt aktualisiert am 24.04.2025- Prüfungscode: DP-420
- Prüfungsname: Designing and Implementing Cloud-Native Applications Using Microsoft Azure Cosmos DB
- Zertifizierungsanbieter: Microsoft
- Zuletzt aktualisiert am: 24.04.2025
HOTSPOT
You have a container named contained in an Azure Cosmos DB for NoSQL account.
The following is a sample of a document in container1.
For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE: Each correct selection is worth one point.
You are designing an Azure Cosmos DB Core (SQL) API solution to store data from IoT devices. Writes from the devices will be occur every second.
The following is a sample of the data.
You need to select a partition key that meets the following requirements for writes:
– Minimizes the partition skew
– Avoids capacity limits
– Avoids hot partitions
What should you do?
- A . Use timestamp as the partition key.
- B . Create a new synthetic key that contains deviceId and sensor1Value.
- C . Create a new synthetic key that contains deviceId and deviceManufacturer.
- D . Create a new synthetic key that contains deviceId and a random number.
HOTSPOT
You have an Azure Cosmos DB Core (SQL) account that has a single write region in West Europe. You run the following Azure CLI script.
For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE: Each correct selection is worth one point.
You have a container m an Azure Cosmos DB for NoSQL account.
Data update volumes are unpredictable.
You need to process the change teed of the container by using a web app that has multiple instances. The change feed will be processed by using the change feed processor from the Azure Cosmos DB
SDK. The multiple instances must share the workload.
Which three actions should you perform? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.
- A . Configure the same processor name for all the instances.
- B . Configure a different processor name for each instance.
- C . Configure a different lease container configuration for each instance.
- D . Configure the same instance name for all the instances. 13
- E . Configure a different instance name for each instance.
- F . Configure the same lease container configuration for all the instances.
HOTSPOT
You need to select the capacity mode and scale configuration for account2 to support the planned changes and meet the business requirements.
What should you select? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result1 these questions will not appear in the review screen.
You have a database in an Azure Cosmos DB for NoSQL account that is configured for multi-region writes.
You need to use the Azure Cosmos OB SDK to implement the conflict resolution policy for a container.
The solution must ensure that any conflicts are sent to the conflicts feed.
Solution: You set ConflictResolutionMode to Laswriterwins and you use the default settings for the policy.
Does this meet the goal?
- A . Yes
- B . No
You plan to create an operational system that will store data in an Azure Cosmos OB ‚or NoSQL account.
You need to configure the account to meet the following requirements:
• Support Spar* queries.
• Support the analysis of data from the last six months.
• Only pay for analytical compute when running queries.
Which three actions should you perform? Each correct answer presents part of the solution. NOTE Each correct selection is worth one point.
- A . Create an Azure Synapse linked service.
- B . Create a container and set the time to live to six months.
- C . Create a container and set the analytical property to six months.
- D . Create an Azure Synapse pipeline.
- E . Create an Azure Databanks notebook.
- F . Enable Azure Synapse Link for the account
HOTSPOT
You plan to use a multi-region Azure Cosmos DB for NoSQL account to store data for a new application suite.
The suite contains the applications shown in the following table.
Each application should use the weakest consistency level possible.
Which consistency level should you configure for each application? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.
HOTSPOT
You have an Azure subscription that contains a resource group named RG1. RG1 contains an Azure Cosmos DB for NoSQL account named account1.
You plan to audit changes to the control plane of account1.
You need to ensure that audit events include the details of the security principal that performs each control plane change.
How should you complete the az command? To answer select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.
The settings for a container in an Azure Cosmos DB Core (SQL) API account are configured as shown in the following exhibit.
Which statement describes the configuration of the container?
- A . All items will be deleted after one year.
- B . Items stored in the collection will be retained always, regardless of the items time to live value.
- C . Items stored in the collection will expire only if the item has a time to live value.
- D . All items will be deleted after one hour.