Free DP-420 Exam Braindumps
Designing and Implementing Cloud-Native Applications Using Microsoft Azure Cosmos DB Questions 8–12 (page: 30)

Updated On: 16-Nov-2026

You have an Azure Cosmos DB account named account1.
You need to access account1 from an on-premises environment by using a Site-to-Site VPN.
What should you use?

  1. a private endpoint
  2. a dedicated gateway
  3. Azure Synapse Link

Answer(s): A

Explanation:

By using Azure Private Link, you can connect to an Azure Cosmos DB account through a private endpoint. The private endpoint is a set of private IP addresses in a subnet within your virtual network. You can then limit access to an Azure Cosmos DB account over private IP addresses.
Private Link allows users to access an Azure Cosmos DB account from within the virtual network or from any peered virtual network. Resources mapped to Private Link are also accessible on-premises over private peering through VPN or Azure ExpressRoute.


Reference:

https://learn.microsoft.com/en-us/azure/cosmos-db/how-to-configure-private-endpoints



HOTSPOT (Drag and Drop is not supported)
You have an Azure-hosted solution named App1 that contains the following components:
● An Azure Cosmos DB for NoSQL account that has two containers named Orders and Reporting
● An Azure Functions app that contains the following functions:
● Function1: Uses an Azure Cosmos DB trigger that reads the change feed from Orders and writes aggregated sales data to Reporting
● Function2: Reads the change feed from Orders to populate a search index
Both functions use the change feed in latest version mode.
In App 1, order cancelations trigger a hard delete of the order item from the Orders container. During peak periods, the same item can be updated multiple times within a short interval.
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
Note: Each correct selection is worth one point.
Hot Area:

  1. See Explanation section for answer.

Answer(s): A

Explanation:




Latest version mode does not capture hard deletes. Therefore, Function1 cannot detect cancellations through the change feed and reflect them in Reporting.
Both functions can independently consume the same change feed simultaneously. For independent Cosmos DB triggers, use separate lease containers or distinct lease prefixes within a shared lease container. Latest version mode returns the most recent version available when the feed is read. Multiple updates between reads can therefore result in intermediate versions being omitted.


Reference:

https://learn.microsoft.com/en-us/azure/cosmos-db/change-feed-modes?tabs=latest-version https://learn.microsoft.com/en-us/azure/cosmos-db/how-to-create-multiple-cosmos-db-triggers



You have an Azure Cosmos DB for NoSQL database named DB1 that uses the Core SQL API and hosts a container named Container1. Container1 stores core product data that is updated once a week.
You need to populate two additional containers in DB1 each time the data in Container1 is updated. The solution must meet the following requirements:
● Ensure that each target container is fully updated with the Container1 data.
● Ensure that the update process runs once a week.
● Maximize the performance of the update process.
● Minimize implementation effort.
What should you include in the recommendation?

  1. Use Azure Data Factory to orchestrate data refresh pipelines.
  2. Configure a change feed processor to read the updates from Container1.
  3. Use the bulk executor library to copy the data from Container1.
  4. Use Azure Databricks to query and write the data to the target containers.

Answer(s): A

Explanation:

Azure Data Factory provides a low-code pipeline with a weekly schedule trigger and Copy activities to refresh both target containers. Configure full-source reads and upsert writes to populate new products and update existing products. Its Cosmos DB connector integrates bulk execution for high-performance writes, and the two copies can run in parallel when sufficient throughput is available.


Reference:

https://learn.microsoft.com/en-us/azure/data-factory/connector-azure-cosmos-db?tabs=data-factory



You have a database named db1 in an Azure Cosmos DB for NoSQL account named account1.
You need to write JSON data to db1 by using Azure Stream Analytics. The solution must minimize costs.
Which should you do before you can use db1 as an output of Stream Analytics?

  1. In account1, add a private endpoint
  2. In db1, create containers that have a custom indexing policy and analytical store disabled
  3. In db1, create containers that have an automatic indexing policy and analytical store enabled
  4. In account1, enable a dedicated gateway

Answer(s): B



DRAG DROP (Drag and Drop is not supported)
You have an Azure Synapse Analytics workspace named workspace1 that contains a serverless SQL pool.
You have an Azure Table Storage account that stores operational data.
You need to replace the Table storage account with Azure Cosmos DB for NoSQL. The solution must meet the following requirements:
-Support queries from the serverless SQL pool.
-Only pay for analytical compute when running queries.
-Ensure that analytical processes do NOT affect operational processes.
Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
Select and Place:

  1. See Explanation section for answer.

Answer(s): A

Explanation:




Step 1: Create an Azure Cosmos DB core (SQL) API account
Step 2: Enable Azure Synapse Link
Synapse Link creates a tight seamless integration between Azure Cosmos DB and Azure Synapse Analytics.
Serverless SQL pool allows you to query and analyze data in your Azure Cosmos DB containers that are enabled with Azure Synapse Link. You can analyze data in near real-time without impacting the performance of your transactional workloads.
Step 3: Create a database and a container that has Analytical store enabled
Create an analytical store enabled container


Reference:

https://docs.microsoft.com/en-us/azure/cosmos-db/configure-synapse-link



Viewing page 30 of 61
Viewing questions 146 - 150 out of 296 questions


Post your Comments and Discuss Microsoft DP-420 exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!