Microsoft DP-420 Practice Test - Questions Answers, Page 12

List of questions
Question 111

HOTSPOT
You have the Azure Cosmos DB for NoSQL containers shown in the following table.
You have the items shown in the following table.
When will each item expire? To answer, select the appropriate options in the answer are a.
NOTE: Each correct selection is worth one point.
Question 112

HOTSPOT
You have an Azure Cosmos DB for NoSQL account named accounts1.
You plan to implement the integrated cache for account1.
You need to configure the connectivity mode and the consistency level for requests that target account1. The solution must maximize consistency while using the integrated cache.
What should you configure? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Question 113

HOTSPOT
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.
Question 114

HOTSPOT
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.
Question 115

HOTSPOT
You have a container named contained in an Azure Cosmos DB for NoSQL account.
The following is a sample of a document in container1.
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 116

HOTSPOT
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 117

TSPOT
You have an Azure subscription that contains an Azure Cosmos DB for NoSQL database named DB1. The shared throughput provisioned for DB1 is 10,000 DTU/s. DB1 contains the containers shown in the following table.
You need to modify the throughput for the containers. The solution must meet the following requirements:
* The maximum throughput for Container1 must be 4,000 DTU/s.
* The throughput for Contained must be shared across the containers.
* Administrative effort must be minimized.
What should you do? To answer, select the appropriate options in the answer are a. NOTE: Each correct selection is worth one point.
Question 118

You have an Azure subscription.
You plan to create an Azure Cosmos DB for NoSQL database named DB1 that will store author and book data for authors that have each published up to ten books. Typical and frequent queries of the data will include:
* All books written by an individual author
* The synopsis of individual books
You need to recommend a data model for DB1. The solution must meet the following requirements:
* Support transactional updates of the author and book data.
* Minimize read operation costs.
What should you recommend?
Question 119

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?
Question 120

HOTSPOT
You have an Azure Cosmos DB for NoSQL account that contains a container named container1.
You plan to use container1 as a key-value store that will perform point reads on the item ID and partition key.
You need to define an indexing policy for container! The solution must meet the following requirements:
* Provide the ability to set DefauitTimeToLive for container1.
* Minimize implementation time.
* Minimize costs.
How should you complete the JSON definition of the indexing policy? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Question