Microsoft DP-420 Practice Exams
Last updated on Apr 09,2025- Exam Code: DP-420
- Exam Name: Designing and Implementing Cloud-Native Applications Using Microsoft Azure Cosmos DB
- Certification Provider: Microsoft
- Latest update: Apr 09,2025
HOTSPOT
You have an Apache Spark pool in Azure Synapse Analytics that runs the following Python code in a notebook.
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 provision an Azure Cosmos DB for NoSQL container. You set the throughput to Autoscale, and the maximum request units per second {RU/s) to 20,000.
For how many RU/s will you be charged when the actual RU/s usage is zero?
- A . 0
- B . 200
- C . 2,000
- D . 4,000
- E . 10,000
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 result, these questions will not appear in the review screen.
You have a container named container1 in an Azure Cosmos DB Core (SQL) API account.
You need to make the contents of container1 available as reference data for an Azure Stream Analytics job.
Solution: You create an Azure Data Factory pipeline that uses Azure Cosmos DB Core (SQL) API as the
input and Azure Blob Storage as the output.
Does this meet the goal?
- A . Yes
- B . No
HOTSPOT
You provision Azure resources by using the following Azure Resource Manager (ARM) template.
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 configure multi-region writes for account1.
You need to ensure that App1 supports the new configuration for account1. The solution must meet the business requirements and the product catalog requirements.
What should you do?
- A . Set the default consistency level of accountl to bounded staleness.
- B . Create a private endpoint connection.
- C . Modify the connection policy of App1.
- D . Increase the number of request units per second (RU/s) allocated to the con-product and con-productVendor containers.
What HTTP status code does Litware frequently encounter that indicates excessive Request Unit (RU) consumption?
- A . 400
- B . 429
- C . 500
- D . 503
You need to configure an Apache Kafka instance to ingest data from an Azure Cosmos DB Core (SQL)
API account. The data from a container named telemetry must be added to a Kafka topic named iot.
The solution must store the data in a compact binary format.
Which three configuration items should you include in the solution? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.
- A . "connector.class": "com.azure.cosmos.kafka.connect.source.CosmosDBSourceConnector"
- B . "key.converter": "org.apache.kafka.connect.json.JsonConverter"
- C . "key.converter": "io.confluent.connect.avro.AvroConverter"
- D . "connect.cosmos.containers.topicmap": "iot#telemetry"
- E . "connect.cosmos.containers.topicmap": "iot"
- F . "connector.class": "com.azure.cosmos.kafka.connect.source.CosmosDBSinkConnector"
You have an Azure Cosmos DB Core (SQL) API account.
You configure the diagnostic settings to send all log information to a Log Analytics workspace.
You need to identify when the provisioned request units per second (RU/s) for resources within the account were modified.
You write the following query.
AzureDiagnostics
| where Category == "ControlPlaneRequests"
What should you include in the query?
- A . | where OperationName startswith "AccountUpdateStart"
- B . | where OperationName startswith "SqlContainersDelete"
- C . | where OperationName startswith "MongoCollectionsThroughputUpdate"
- D . | where OperationName startswith "SqlContainersThroughputUpdate"
HOTSPOT
You configure Azure Cognitive Search to index a container in an Azure Cosmos DB Core (SQL) API 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.
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. You Set ResolutionProcedures to a custom stored procedure. You configure the custom stored procedure to use the isTomstone parameter to resolve conflict.
Does this meet the goal?
- A . Yes
- B . No