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 plan to create an Azure Cosmos DB container named account that will contain items in the following format.
You need to define a query that will return the ids of all accounts that have ever recorded a negative value for balance.
How should you complete the query? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.
HOTSPOT
You have an Azure Cosmos DB for NoSQL database named db1.
You run the following code:
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 a container named container1 in an Azure Cosmos DB Core (SQL) API account. The container1 container has 120 GB of data.
The following is a sample of a document in container1.
The orderId property is used as the partition key.
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 an Azure Cosmos DB for NoSQL account1 that is configured for automatic failover. The account1 account has a single read-write region in West US and a and a read region in East US.
You run the following PowerShell command.
What is the effect of running the command?
- A . A manual failover will occur.
- B . The account will be unavailable to writes during the change.
- C . The provisioned throughput for account1 will increase.
- D . The account will be configured for multi-region writes.
You need to identify which connectivity mode to use when implementing App2. The solution must support the planned changes and meet the business requirements.
Which connectivity mode should you identify?
- A . Direct mode over HTTPS
- B . Gateway mode (using HTTPS)
- C . Direct mode over TCP
You have a container in an Azure Cosmos DB for NoSQL account.
You need to create an alert based on a custom Log Analytics query.
Which signal type should you use?
- A . Metrics
- B . Log
- C . Activity Log
- D . Resource Health
You have a container in an Azure Cosmos DB Core (SQL) API account. The container stores telemetry data from IoT devices. The container uses telemetryId as the partition key and has a throughput of 1,000 request units per second (RU/s). Approximately 5,000 IoT devices submit data every five minutes by using the same telemetryId value.
You have an application that performs analytics on the data and frequently reads telemetry data for a single IoT device to perform trend analysis.
The following is a sample of a document in the container.
You need to reduce the amount of request units (RUs) consumed by the analytics application.
What should you do?
- A . Decrease the offerThroughput value for the container.
- B . Increase the offerThroughput value for the container.
- C . Move the data to a new container that has a partition key of deviceId.
- D . Move the data to a new container that uses a partition key of date.
HOTSPOT
You have an on-premises network.
You have an Azure subscription that contains an Azure Cosmos DB account named account1 and an Azure virtual network named VNet1. VNet1 contains two virtual machines named VM1 and VM2. VNet1 is connected to the on-premises network by using a Site-to-Site (S2S) VPN.
You need to meet the following requirements:
• Block access to the public endpoint of account1.
• Allow only VM1 to access account1.
What should you include in the solution? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.
HOTSPOT
You have an Azure Cosmos DB container named container! that has a provisioned throughput and two physical partitions.
You monitor the following metrics for container1
• Normalized RU consumption
• The percentage of requests that have an HTTP status code of 429
You need to confirm that container1 is configured to maximize resource utilization.
What are the optimal values for each metric? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.
You have an Azure Cosmos DB Core (SQL) API account that uses a custom conflict resolution policy.
The account has a registered merge procedure that throws a runtime exception.
The runtime exception prevents conflicts from being resolved.
You need to use an Azure function to resolve the conflicts.
What should you use?
- A . a function that pulls items from the conflicts feed and is triggered by a timer trigger
- B . a function that receives items pushed from the change feed and is triggered by an Azure Cosmos DB trigger
- C . a function that pulls items from the change feed and is triggered by a timer trigger
- D . a function that receives items pushed from the conflicts feed and is triggered by an Azure Cosmos DB trigger