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

DP-420 Designing and Implementing Cloud-Native Applications Using Microsoft Azure Cosmos DB Questions and Answers

Questions 4

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.

Buy Now
Questions 5

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.

Buy Now
Questions 6

You have operational data in an Azure Cosmos OB for NoSQL database.

Database users report that the performance of the database degrades significantly when a business analytics team runs large Apache Spark-based queries against the database.

You need 10 reduce the impact that running the Spark-based queries has on the database users.

What should you implement?

Options:

A.

Azure Synapse Link

B.

a default consistency level of Consistent Prefix

C.

a default consistency level of Strong

D.

the Spark connector

Buy Now
Questions 7

You have three containers in an Azure Cosmos DB Core (SQL) API account as shown in the following table.

DP-420 Question 7

You have the following Azure functions:

A function named Fn1 that reads the change feed of cn1

A function named Fn2 that reads the change feed of cn2

A function named Fn3 that reads the change feed of cn3

You perform the following actions:

Delete an item named item1 from cn1.

Update an item named item2 in cn2.

For an item named item3 in cn3, update the item time to live to 3,600 seconds.

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

NOTE: Each correct selection is worth one point.

DP-420 Question 7

Options:

Buy Now
Questions 8

You have an Azure Cosmos DB container named container1.

You need to insert an item into contained. The solution must ensure that the item is deleted automatically after two hours.

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

NOTE: Each correct selection is worth one point.

DP-420 Question 8

Options:

Buy Now
Questions 9

You have an Azure Cosmos DB database named databaset contains a container named container1. The container1 container store product data and has the following indexing policy.

DP-420 Question 9

Which path will be indexed?

Options:

A.

/product/brand

B.

/product/category

C.

/product/[ ]/category

D.

/product/brand/tailspin

Buy Now
Questions 10

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

Buy Now
Questions 11

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

Buy Now
Questions 12

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

DP-420 Question 12

Contacts contains the items shown in the following table.

DP-420 Question 12

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

DP-420 Question 12

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

NOTE: Each correct selection is worth one point.

DP-420 Question 12

Options:

Buy Now
Questions 13

You have an Azure Cosmos DB for NoSQL account named account1 that supports an application named App1. App1 uses the consistent prefix consistency level.

You configure account1 to use a dedicated gateway and integrated cache.

You need to ensure that App1 can use the integrated cache.

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

NOTE: Each correct selection is worth one point.

Options:

A.

Change the connection mode to direct

B.

Change the account endpoint to https://account1.sqlx.cosmos.azure.com.

C.

Change the consistency level of requests to strong.

D.

Change the consistency level of requests to session.

E.

Change the account endpoint to https://account1.documents.azure.com

Buy Now
Questions 14

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.

DP-420 Question 14

Options:

Buy Now
Questions 15

You have the Azure Cosmos DB for NoSQL containers shown in the following table.

DP-420 Question 15

You have the items shown in the following table.

DP-420 Question 15

When will each item expire? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

DP-420 Question 15

Options:

Buy Now
Questions 16

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

Buy Now
Questions 17

You provision Azure resources by using the following Azure Resource Manager (ARM) template.

DP-420 Question 17

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

NOTE: Each correct selection is worth one point.

DP-420 Question 17

Options:

Buy Now
Questions 18

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.

DP-420 Question 18

Options:

Buy Now
Questions 19

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.

DP-420 Question 19

Options:

Buy Now
Questions 20

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.

Buy Now
Questions 21

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?

Options:

A.

disableKeyBasedMetadataWriteAccess ,

B.

disableLocalAuth

C.

userAssignedldentatxe

D.

allowedOrxgins

Buy Now
Questions 22

You have a multi-region Azure Cosmos DB account named account1 that has a default consistency level of strong.

You have an app named App1 that is configured to request a consistency level of session.

How will the read and write operations of App1 be handled? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

DP-420 Question 22

Options:

Buy Now
Questions 23

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?

Options:

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

Buy Now
Questions 24

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.

DP-420 Question 24

You need to reduce the amount of request units (RUs) consumed by the analytics application.

What should you do?

Options:

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.

Buy Now
Questions 25

You have an Azure subscription that contains an Azure Cosmos DB for NoSQL account. You define and implement an encryption policy by using the following C# code.

DP-420 Question 25

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

NOTE: Each correct selection is worth one point.

DP-420 Question 25

Options:

Buy Now
Questions 26

You plan to create an Azure Cosmos DB database named db1 that will contain two containers. One of the containers will contain blog posts, and the other will contain users. Each item in the blog post container will include:

• A single blog post

• All the comments associated to the blog post

• The names of the users who created the blog post and added the comments.

You need to design a solution to update usernames m the user container without causing data integrity issues. The solution must minimize administrative and development effort. 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.

DP-420 Question 26

Options:

Buy Now
Questions 27

You have an Azure Cosmos DB Core (SQL) API account named account1 that has the disableKeyBasedMetadataWriteAccess property enabled.

You are developing an app named App1 that will be used by a user named DevUser1 to create containers in account1. DevUser1 has a non-privileged user account in the Azure Active Directory (Azure AD) tenant.

You need to ensure that DevUser1 can use App1 to create containers in account1.

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

NOTE: Each correct selection is worth one point.

DP-420 Question 27

Options:

Buy Now
Questions 28

You have an Azure Cosmos DB for NoSQL account named account1 that has a single read-write region and one additional read region. Account1 uses the strong default consistency level.

You have an application that uses the eventual consistency level when submitting requests to account1.

How will writes from the application be handled?

Options:

A.

Writes will use the strong consistency level.

B.

Azure Cosmos DB will reject writes from the application.

C.

The write order is not guaranteed during replication.

D.

Writes will use the eventual consistency level.

Buy Now
Exam Code: DP-420
Exam Name: Designing and Implementing Cloud-Native Applications Using Microsoft Azure Cosmos DB
Last Update: Dec 20, 2024
Questions: 136

PDF + Testing Engine

$61.25  $174.99

Testing Engine

$47.25  $134.99
buy now DP-420 testing engine

PDF (Q&A)

$40.25  $114.99
buy now DP-420 pdf