New Year Sale 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: exams65

ExamsBrite Dumps

Designing and Implementing Cloud-Native Applications Using Microsoft Azure Cosmos DB Question and Answers

Designing and Implementing Cloud-Native Applications Using Microsoft Azure Cosmos DB

Last Update Jan 14, 2026
Total Questions : 144

We are offering FREE DP-420 Microsoft exam questions. All you do is to just go and sign up. Give your details, prepare DP-420 free exam questions and then go for complete pool of Designing and Implementing Cloud-Native Applications Using Microsoft Azure Cosmos DB test questions that will help you more.

DP-420 pdf

DP-420 PDF

$40.25  $114.99
DP-420 Engine

DP-420 Testing Engine

$47.25  $134.99
DP-420 PDF + Engine

DP-420 PDF + Testing Engine

$61.25  $174.99
Questions 1

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.

Options:

Discussion 0
Questions 2

You have an Azure subscription that contains an Azure Cosmos DB for NoSQL account named accounts

You configure account! to send resource logs to Log Analytics.

You need to identify any containers in account1 that were deleted during the past 24 hours.

How should you complete the query? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Options:

Discussion 0
Questions 3

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?

Options:

A.  

Yes

B.  

No

Discussion 0
Questions 4

You plan to create an Azure Cosmos DB Core (SQL) API account that will use customer-managed keys stored in Azure Key Vault.

You need to configure an access policy in Key Vault to allow Azure Cosmos DB access to the keys.

Which three permissions should you enable in the access policy? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

Options:

A.  

Wrap Key

B.  

Get

C.  

List

D.  

Update

E.  

Sign

F.  

Verify

G.  

Unwrap Key

Discussion 0
Questions 5

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 conflictingItems parameter to resolve conflict.

Does this meet the goal?

Options:

A.  

Yes

B.  

No

Discussion 0
Questions 6

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 an Azure Cosmos DB Core (SQL) API account named account 1 that uses autoscale throughput.

You need to run an Azure function when the normalized request units per second for a container in account1 exceeds a specific value.

Solution: You configure an Azure Monitor alert to trigger the function.

Does this meet the goal?

Options:

A.  

Yes

B.  

No

Discussion 0
Questions 7

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 function that uses Azure Cosmos DB Core (SQL) API change feed as a trigger and Azure event hub as the output.

Does this meet the goal?

Options:

A.  

Yes

B.  

No

Discussion 0
Questions 8

You have a database in an Azure Cosmos DB SQL API Core (SQL) account that is used for development.

The database is modified once per day in a batch process.

You need to ensure that you can restore the database if the last batch process fails. The solution must minimize costs.

How should you configure the backup settings? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Options:

Discussion 0
Questions 9

You have an Azure Cosmos DB for NoSQL container named Contacts that is configured as shown in the following exhibit.

Contacts contains the items shown in the following table.

To Contacts, you plan to insert the items shown in the following table.

For each of the following statements select Yes if the statement is true. Otherwise, select No.

NOTE: Each correct selection is worth one point.

Options:

Discussion 0
Questions 10

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.

Options:

Discussion 0
Questions 11

You have a container named container1 in an Azure Cosmos DB for NoSQL account named account1 that is set to the session default consistency level. The average size of an item in container1 is 20 KB.

You have an application named App1 that uses the Azure Cosmos DB SDK and performs a point read on the same set of items in container1 every minute.

You need to minimize the consumption of the request units (RUs) associated to the reads by App1. What should you do?

Options:

A.  

In account1, change the default consistency level to bounded staleness.

B.  

In App1, change the consistency level of read requests to consistent prefix.

C.  

In account1, provision a dedicated gateway and integrated cache

D.  

In App1, modify the connection policy settings.

Discussion 0
Questions 12

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.

Options:

Discussion 0
Questions 13

You have an Azure Cosmos DB Core (SQL) API account that is used by 10 web apps.

You need to analyze the data stored in the account by using Apache Spark to create machine learning models. The solution must NOT affect the performance of the web apps.

Which two actions should you perform? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

Options:

A.  

In an Apache Spark pool in Azure Synapse, create a table that uses cosmos.olap as the data source.

B.  

Create a private endpoint connection to the account.

C.  

In an Azure Synapse Analytics serverless SQL pool, create a view that uses OPENROWSET and the CosmosDB provider.

D.  

Enable Azure Synapse Link for the account and Analytical store on the container.

E.  

In an Apache Spark pool in Azure Synapse, create a table that uses cosmos.oltp as the data source.

Discussion 0
Questions 14

You have an Azure Cosmos DB Core (SQL) API account named storage1 that uses provisioned throughput capacity mode.

The storage1 account contains the databases shown in the following table.

The databases contain the containers shown in the following table.

For each of the following statements, select Yes if the statement is true. Otherwise, select No.

NOTE: Each correct selection is worth one point.

Options:

Discussion 0
Questions 15

You have an Azure subscription. The subscription contains an Azure Cosmos DB for NoSQL account named account! that hosts a container named Container 1. Container! has a provisioned throughput of 100 request units per second (RU/s) and uses a single physical partition.

Vou are evaluating the available throughput for Container1.

What is the maximum burst capacity that Container1 can accumulate?

Options:

A.  

300 RU/s

B.  

1,000 RU/s

C.  

30,000 RU/s

D.  

100.000 RU/s

Discussion 0
Questions 16

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 Spark 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.

Options:

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

Discussion 0
Questions 17

You have an Azure subscription that contains an Azure Cosmos DB for NoSQL account named account1.

Backups for account1 have the following configurations:

• Interval: 2 hours

• Retention period: 4 days

You need to estimate the charges associated with the retention of the backups. How many copies of the backups will incur additional charges?

Options:

A.  

8

B.  

12

C.  

46

D.  

48

Discussion 0
Questions 18

You have a container in an Azure Cosmos DB Core (SQL) API account.

You need to use the Azure Cosmos DB SDK to replace a document by using optimistic concurrency.

What should you include in the code? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Options:

Discussion 0
Questions 19

You have an Azure Cosmos DB Core (SQL) API account that is used by 10 web apps.

You need to analyze the data stored in the account by using Apache Spark to create machine learning models. The solution must NOT affect the performance of the web apps.

Which two actions should you perform? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

Options:

A.  

In an Apache Spark pool in Azure Synapse, create a table that uses cosmos.olap as the data source.

B.  

Create a private endpoint connection to the account.

C.  

In an Azure Synapse Analytics serverless SQL pool, create a view that uses OPENROWSET and the CosmosDB provider.

D.  

Enable Azure Synapse Link for the account and Analytical store on the container.

E.  

In an Apache Spark pool in Azure Synapse, create a table that uses cosmos.oltp as the data source.

Discussion 0
Questions 20

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 an Azure Cosmos DB Core (SQL) API account named account 1 that uses autoscale throughput.

You need to run an Azure function when the normalized request units per second for a container in account1 exceeds a specific value.

Solution: You configure an application to use the change feed processor to read the change feed and you configure the application to trigger the function.

Does this meet the goal?

Options:

A.  

Yes

B.  

No

Discussion 0
Questions 21

You have an Azure subscription.

You need to deploy the following resources to an Azure Cosmos DB for NoSQL account:

• A container

• A user-defined function (UDF)

The solution must minimize the possibility of the deployment failing.

How should you complete the template? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Options:

Discussion 0
Questions 22

You have a container that stores data about families. The following is a sample document.

For each of the following statements, select Yes if the statement is true. otherwise, select No.

NOTE: Each correct selection is worth one point.

Options:

Discussion 0
Questions 23

You need to recommend indexes for con-product and con-productVendor. The solution must meet the product catalog requirements and the business requirements.

Which type of index should you recommend for each container? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Options:

Discussion 0
Questions 24

You are troubleshooting the current issues caused by the application updates.

Which action can address the application updates issue without affecting the functionality of the application?

Options:

A.  

Enable time to live for the con-product container.

B.  

Set the default consistency level of account1 to strong.

C.  

Set the default consistency level of account1 to bounded staleness.

D.  

Add a custom indexing policy to the con-product container.

Discussion 0
Questions 25

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?

Options:

A.  

Direct mode over HTTPS

B.  

Gateway mode (using HTTPS)

C.  

Direct mode over TCP

Discussion 0
Questions 26

You need to implement a solution to meet the product catalog requirements.

What should you do to implement the conflict resolution policy.

Options:

A.  

Remove frequently changed field from the index policy of the con-product container.

B.  

Disable indexing on all fields in the index policy of the con-product container.

C.  

Set the default consistency level for account1 to eventual.

D.  

Create a new container and migrate the product catalog data to the new container.

Discussion 0
Questions 27

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.

Options:

Discussion 0
Questions 28

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?

Options:

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.

Discussion 0
Questions 29

You need to select the partition key for con-iot1. The solution must meet the IoT telemetry requirements.

What should you select?

Options:

A.  

the timestamp

B.  

the humidity

C.  

the temperature

D.  

the device ID

Discussion 0
Questions 30

You need to provide a solution for the Azure Functions notifications following updates to con-product. The solution must meet the business requirements and the product catalog requirements.

Which two actions should you perform? Each correct answer presents part of the solution.

NOTE:Each correct selection is worth one point.

Options:

A.  

Configure the trigger for each function to use a different leaseCollectionPrefix

B.  

Configure the trigger for each function to use the same leaseCollectionNair.e

C.  

Configure the trigger for each function to use a different leaseCollectionName

D.  

Configure the trigger for each function to use the same leaseCollectionPrefix

Discussion 0