Summer Certification Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: force70

Pass the Microsoft Microsoft Certified: Azure Cosmos DB Developer Specialty DP-420 Questions and answers with CertsForce

Viewing page 2 out of 4 pages
Viewing questions 11-20 out of questions
Questions # 11:

You have a container named container! in an Azure Cosmos DB for NoSQL account.

You need to provide a user named User1 with the ability to insert items into container1 by using role-based access The solution must use the principle of least privilege.

Which roles should you assign to User1?

Options:

A.

Cosmos DB Built-in Data Contributor only


B.

Cosmos DB Operator only


C.

DocumentDB Account Contribute only


D.

DocumentDB Account Contributor and Cosmos DB Built-in Data Contributor


Expert Solution
Questions # 12:

You are developing an application that will connect to an Azure Cosmos DB for NoSQL account. The account has a single readme region and one agonal read region. The regions are configured for automatic failover.

The account has the following connect strings. (Line numbers are included for reference only.)

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.

Question # 12


Expert Solution
Questions # 13:

You have an Azure subscription that contains an Azure Cosmos DB for NoSQL account named Account1 and an Azure key vault named Vault1.

You plan to enable customer-managed keys and use an encryption key stored in Vault1 to encrypt data at rest.

You need to configure Account1 to use the key from Vault1. The solution must ensure that Account1 continues to operate if the key is rotated in Vault1.

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

NOTE: Each correct selection is worth one point.

Question # 13


Expert Solution
Questions # 14:

You have an Azure Cosmos DB for NoSQL account that has multiple write regions.

You need to receive an alert when requests that target the database exceed the available request units per second (RU/s).

Which Azure Monitor signal should you use?

Options:

A.

Region Removed


B.

Provisioned Throughput


C.

Metadata Requests


D.

Data Usage


Expert Solution
Questions # 15:

You have an Azure Cosmos DB for NoSQL account that hosts the containers shown in the following table.

Question # 15

You need to implement a solution for processing changes to author names. The solution must use a change feed and an Azure Function and must meet the following requirements:

• Ensure that when a name change occurs, the authorNane field in the Books container is updated within 30 minutes.

• Minimize costs.

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

Question # 15


Expert Solution
Questions # 16:

You have an Azure subscription that contains an Azure Cosmos DB for NoSQL account named account1 and a Log Analytics workspace named Workspace1. Workspace 1 stores the logs of account1.

You need to identify which operations used the most request units per second (RU/s) during the last 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

Question # 16


Expert Solution
Questions # 17:

You plan to create an Azure Cosmos DB container named account that will contain items in the following format.

Question # 17

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.

Question # 17


Expert Solution
Questions # 18:

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


Expert Solution
Questions # 19:

You have an Azure Cosmos DB for NoSQL account that hosts a container named Container1.

You implement a change feed processor.

You discover that the processor is processing changes more slowly than the changes occur in Container1.

You need to resolve the issue.

What should you use?

Options:

A.

a change feed estimator


B.

an integrated cache


C.

a diagnostics full-text query


D.

a stored procedure


Expert Solution
Questions # 20:

You have an Azure Cosmos DB for NoSQL account that hosts a container named Customers. You need to add customers to Customers by using the Azure Cosmos DB Spark Connector. How should you complete the code? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Question # 20


Expert Solution
Viewing page 2 out of 4 pages
Viewing questions 11-20 out of questions