Microsoft DP-420 Übungsprüfungen
Zuletzt aktualisiert am 25.04.2025- Prüfungscode: DP-420
- Prüfungsname: Designing and Implementing Cloud-Native Applications Using Microsoft Azure Cosmos DB
- Zertifizierungsanbieter: Microsoft
- Zuletzt aktualisiert am: 25.04.2025
You have an Azure Cosmos DB for NoSQL account that has multiple write regions.
You need to receive an alert when requests that target the database exceed the available request units per second (RU/s).
Which Azure Monitor signal should you use?
- A . Region Removed
- B . Provisioned Throughput
- C . Metadata Requests
- D . Data Usage
HOTSPOT
You have a database named telemetry in an Azure Cosmos DB Core (SQL) API account that stores IoT data. The database contains two containers named readings and devices.
Documents in readings have the following structure.
id
deviceid
timestamp
ownerid
measures (array)
– type
– value
– metricid
Documents in devices have the following structure.
id
deviceid
owner
– ownerid
– emailaddress
– name
brand
model
For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE: Each correct selection is worth one point.
HOTSPOT
You have an Azure Cosmos DB for NoSQL container.
The container contains items that have the following properties.
You need to protect the data stored in the container by using Always Encrypted. For each property, you must use the strongest type of encryption and ensure that queries execute properly.
What is the strongest type of encryption that you can apply to each property? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.
You have an Azure Cosmos DB account named account1.
You have several apps that connect to account1 by using the account’s secondary key.
You then configure the apps to authenticate by using service principals.
You need to ensure that account1 will only allow apps to connect by using an Azure AD identity.
Which account property should you modify?
- A . disableKeyBasedMetadataWriteAccess ,
- B . disableLocalAuth
- C . userAssignedldentatxe
- D . allowedOrxgins
You plan to store order data in Azure Cosmos DB for NoSQL account. The data contains information about orders and their associated items.
You need to develop a model that supports order read operations. The solution must minimize the number or requests.
- A . Create a single database that contains one container. Store orders and order items in separate documents in the container.
- 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.
- C . Create a database for orders and a database for order items.
- D . Create a single database that contains a container for order and a container for order items.
You have a global ecommerce application that stores data in an Azure Cosmos OB for NoSQL account.
The account is contoured for multi-region writes.
You need to create a stored procedure for a custom conflict resolution policy for a new container. In the event of a conflict caused by a deletion the deletion must always take priority.
Which parameter should you check m the stored procedure function?
- A . conf1ictingItems
- B . is Tombstone
- C . existingitem
- D . incoming1tem
HOTSPOT
You configure a backup for an Azure Cosmos DB for NoSQL account as shown in the following exhibit.
Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the graphic. NOTE: Each correct selection is worth one point.
HOTSPOT
You have an Azure Cosmos DB for NoSQL account.
You plan 10 create a container named container1. The container1 container will store items that include two properties named nm and age
The most commonly executed queries will query container1 for a specific name.
The following is a sample of the query.
You need to define an opt-in Indexing policy for container1.
The solution must meet the following requirements:
• Minimize the number of request units consumed by the queries.
• Ensure that the _etag property is excluded from indexing.
How should you define the indexing poky? To answer, select the appropriate options in the answer area. NOTE: Each correct selection Is worth one point.
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 DB SDK to implement the conflict resolution policy for a container.
The solution must ensure that any conflict sent to the conflict feed.
Solution: You set ConfilictResolutionMode to Custom and you use the default settings for the policy.
Does this meet the goal?
- A . Yes
- B . No
Litware plans to make multi-region writes to Cosmos DB.
Which of the following should be configured to maximize App1’s query performance after enabling multi-region writes?
- A . Increase RU/s allocation for all containers
- B . Create additional read regions
- C . Increase the number of Azure Functions
- D . Set the default consistency level to bounded staleness