DP-420 Practice Test

DP-420 Practice Test practice questions, page 9 of 11, with answer review and explanations.

Question 41

Your company develops an application named App1 that uses the Azure Cosmos DB SDK and the Eventual consistency level. App1 queries an Azure Cosmos DB for NoSQL account named account1. You need to identify which consistency level to assign to App1 to meet the following requirements: • Maximize the throughput of the queries generated by App1 without increasing the number of request units currently used by the queries. • Provide the highest consistency guarantees. Which consistency level should you identify?

  1. Strong
  2. Bounded Staleness
  3. Session
  4. Consistent Prefix

Question 42

You plan to create an Azure Cosmos DB for NoSQL container that will contain items in the following format. You need to define a query that will return the userid values of all the users who purchased an item that has a sku value of 11111. How should you compete the query? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Question 43

You have an Azure subscription that contains an Azure Cosmos DB for NoSQL account named account1 and a Log Analytics workspace named Workspace1. Workspace1 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 44

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?

  1. 0
  2. 200
  3. 2,000
  4. 4,000
  5. 10,000

Question 45

You have an Azure Cosmos DB for NoSQL account that contains a database named DB1 and a container named Container1. You need to manage the account by using the Azure Cosmos DB SDK. What should you do?

  1. Create a container in DB1.
  2. List the physical partitions of Container1.
  3. Read a stored procedure in Container1.
  4. Create a user defined function (UDF) in Container1.