Microsoft certification · Exam DP-420

Free Microsoft DP-420 Practice MCQs

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

Our Microsoft DP-420 practice test is designed to identify your exact knowledge gaps. Validate your skills with Designing and Implementing Cloud-Native Applications Using Microsoft Azure Cosmos DB exam questions that mirror the real exam's format and difficulty. Build a personalized study plan based on your free DP-420 mcqs performance, focusing your effort where it matters most.

Targeted practice like this helps candidates feel significantly more prepared for Designing and Implementing Cloud-Native Applications Using Microsoft Azure Cosmos DB exam day.

Topic · 1 of 5 questions freeTopic 1: Litware, incShow descriptionHide description

Case Study
This is a case study. Case studies are not timed separately. You can use as much exam
time as you would like to complete each case. However, there may be additional case
studies and sections on this exam. You must manage your time to ensure that you are able
to complete all questions included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information
that is provided in the case study. Case studies might contain exhibits and other resources
that provide more information about the scenario that is described in the case study. Each
question is independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review
your answers and to make changes before you move to the next section of the exam. After
you begin a new section, you cannot return to this section.
To start the case study
To display the first question in this case study, click the Next button. Use the buttons in the
left pane to explore the content of the case study before you answer the questions. Clicking
these buttons displays information such as business requirements, existing environment,
and problem statements. If the case study has an All Information tab, note that the
information displayed is identical to the information displayed on the subsequent tabs.
When you are ready to answer a question, click the Question button to return to the
question.
Overview
Litware, Inc. is a United States-based grocery retailer. Litware has a main office and a
primary datacenter in Seattle. The company has 50 retail stores across the United States
and an emerging online presence. Each store connects directly to the internet.
Existing environment. Cloud and Data Service Environments.
Litware has an Azure subscription that contains the resources shown in the following table.

Each container in productdb is configured for manual throughput.
The con-product container stores the company's product catalog data. Each document in
con-product includes a con-productvendor value. Most queries targeting the data in conproduct
are in the following format.
SELECT * FROM con-product p WHERE p.con-productVendor - 'name'
Most queries targeting the data in the con-productVendor container are in the following
format

SELECT * FROM con-productVendor pv
ORDER BY pv.creditRating, pv.yearFounded
Existing environment. Current Problems.
Litware identifies the following issues:
Updates to product categories in the con-productVendor container do not propagate
automatically to documents in the con-product container.
Application updates in con-product frequently cause HTTP status code 429 "Too many
requests". You discover that the 429 status code relates to excessive request unit (RU)
consumption during the updates.
Requirements. Planned Changes
Litware plans to implement a new Azure Cosmos DB Core (SQL) API account named
account2 that will contain a database named iotdb. The iotdb database will contain two
containers named con-iot1 and con-iot2.
Litware plans to make the following changes:
Store the telemetry data in account2.
Configure account1 to support multiple read-write regions.
Implement referential integrity for the con-product container.
Use Azure Functions to send notifications about product updates to different recipients.
Develop an app named App1 that will run from all locations and query the data in account1.
Develop an app named App2 that will run from the retail stores and query the data in
account2. App2 must be limited to a single DNS endpoint when accessing account2.
Requirements. Business Requirements
Litware identifies the following business requirements:
Whenever there are multiple solutions for a requirement, select the solution that provides
the best performance, as long as there are no additional costs associated.
Ensure that Azure Cosmos DB costs for IoT-related processing are predictable.
Minimize the number of firewall changes in the retail stores.
Requirements. Product Catalog Requirements
Litware identifies the following requirements for the product catalog:
Implement a custom conflict resolution policy for the product catalog data.
Minimize the frequency of errors during updates of the con-product container.
Once multi-region writes are configured, maximize the performance of App1 queries
against the data in account1.
Trigger the execution of two Azure functions following every update to any document in the
con-product container.

Question 1

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?

Topic · 13 of 46 questions freeTopic 2: Misc. Questions
Question 2 Choose 3

You need to configure an Apache Kafka instance to ingest data from an Azure Cosmos DB
Core (SQL) API account. The data from a container named telemetry must be added to a
Kafka topic named iot. The solution must store the data in a compact binary format.
Which three configuration items should you include in the solution? Each correct answer
presents part of the solution.
NOTE: Each correct selection is worth one point.

Question 3

You have an Azure Cosmos DB Core (SQL) API account that is configured for multi-region
writes. The account contains a database that has two containers named container1 and
container2.
The following is a sample of a document in container1:
{
"customerId": 1234,
"firstName": "John",
"lastName": "Smith",
"policyYear": 2021
}
The following is a sample of a document in container2:
{
"gpsId": 1234,
"latitude": 38.8951,
"longitude": -77.0364
}
You need to configure conflict resolution to meet the following requirements:
For container1 you must resolve conflicts by using the highest value for policyYear.
For container2 you must resolve conflicts by accepting the distance closest to latitude:
40.730610 and longitude: -73.935242.
Administrative effort must be minimized to implement the solution.
What should you configure for each container? To answer, drag the appropriate
configurations to the correct containers. Each configuration may be used once, more than
once, or not at all. You may need to drag the split bar between panes or scroll to view
content.
NOTE: Each correct selection is worth one point.

Question 4 Choose 1

You have an application named App1 that reads the data in an Azure Cosmos DB Core
(SQL) API account. App1 runs the same read queries every minute. The default
consistency level for the account is set to eventual.
You discover that every query consumes request units (RUs) instead of using the cache.
You verify the IntegratedCacheiteItemHitRate metric and the
IntegratedCacheQueryHitRate metric. Both metrics have values of 0.
You verify that the dedicated gateway cluster is provisioned and used in the connection string.
You need to ensure that App1 uses the Azure Cosmos DB integrated cache.
What should you configure?

Question 5 Choose 1

You have the following query.
SELECT * FROM
WHERE c.sensor = "TEMP1"
AND c.value < 22
AND c.timestamp >= 1619146031231
You need to recommend a composite index strategy that will minimize the request units
(RUs) consumed by the query.
What should you recommend?

Question 6

You have an app that stores data in an Azure Cosmos DB Core (SQL) API account The
app performs queries that return large result sets.
You need to return a complete result set to the app by using pagination. Each page of
results must return 80 items.
Which three actions should you perform in sequence? To answer, move the appropriate
actions from the list of actions to the answer area and arrange them in the correct order.

Question 7 Choose 1

You have a container named container1 in an Azure Cosmos DB Core (SQL) API account.
You need to provide a user named User1 with the ability to insert items into container1 by
using role-based access control (RBAC). The solution must use the principle of least
privilege.
Which roles should you assign to User1?

Question 8

You plan to deploy two Azure Cosmos DB Core (SQL) API accounts that will each contain
a single database. The accounts will be configured as shown in the following table.

Question 9

You have an Azure Cosmos DB Core (SQL) API account named account1.
You have the Azure virtual networks and subnets shown in the following table.

Question 10 Choose 3

You plan to create an Azure Cosmos DB Core (SQL) API account that will use customermanaged
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.

Practice Like It's Exam Day

Get exam-ready with a timed DP 420 Designing and Implementing Cloud-Native Applications Using Microsoft Azure Cosmos DB mock exam designed to match the official exam's question format, question count, and time limit.

Take Designing and Implementing Cloud-Native Applications Using Microsoft Azure Cosmos DB Mock Exam
  • Build Exam Endurance Stay focused and perform confidently under exam conditions.
  • Improve Time Management Practice pacing yourself to finish within the time limit.
  • Fresh Questions Every Attempt Experience randomized questions from our extensive question bank.
  • Unlimited Practice Attempts Retake mock exams and improve your score at your own pace.