Exam Details

  • Exam Code
    :DP-420
  • Exam Name
    :Designing and Implementing Cloud-Native Applications Using Microsoft Azure Cosmos DB
  • Certification
    :Microsoft Certified: Azure Cosmos DB Developer Specialty
  • Vendor
    :Microsoft
  • Total Questions
    :117 Q&As
  • Last Updated
    :May 04, 2024

Microsoft Microsoft Certified: Azure Cosmos DB Developer Specialty DP-420 Questions & Answers

  • Question 61:

    You have a database in an Azure Cosmos DB for NoSQL account that is configured for multi-region writes.

    You need to use the Azure Cosmos DB SDK to implement the conflict resolution policy for a container. The solution must ensure that any conflict sent to the conflict feed.

    Solution:

    1.

    You set ConfilictResolutionMode to Custom.

    2.

    You Set ResolutionProcedures to a custom stored procedure.

    3.

    You configure the custom stored procedure to use the conflictingItems parameter to resolve conflict.

    Does this meet the goal?

    A. Yes

    B. No

  • Question 62:

    You have a database in an Azure Cosmos DB for NoSQL account that is configured for multi-region writes.

    You need to use the Azure Cosmos DB SDK to implement the conflict resolution policy for a container. The solution must ensure that any conflict sent to the conflict feed.

    Solution: You set ConfilictResolutionMode to Custom and you use the default settings for the policy.

    Does this meet the goal?

    A. Yes

    B. No

  • Question 63:

    You plan to store order data in Azure Cosmos DB for NoSQL account. The data contains information about orders and their associated items.

    You need to develop a model that supports order read operations. The solution must minimize the number or requests.

    A. Create a single database that contains one container. Store orders and order items in separate documents in the container.

    B. Create a single database that contains one container. Create a separate document for each order and embed the order items into the order documents.

    C. Create a database for orders and a database for order items.

    D. Create a single database that contains a container for order and a container for order items.

  • Question 64:

    You have a container named container1 in an Azure Cosmos DB for NoSQL account named account1 that is set to the session default consistency level. The average size of an item in container1 is 20 KB.

    You have an application named App1 that uses the Azure Cosmos DB SDK and performs a point read on the same set of items in container1 every minute.

    You need to minimize the consumption of the request units (RUs) associated to the reads by App1.

    What should you do?

    A. In account1, change the default consistency level to bounded staleness.

    B. In App1, change the consistency level of read requests to consistent prefix.

    C. In account1, provision a dedicated gateway and integrated cache

    D. In App1, modify the connection policy settings.

  • Question 65:

    DRAG DROP

    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.

    Select and Place:

  • Question 66:

    DRAG DROP

    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:

    1.

    For container1 you must resolve conflicts by using the highest value for policyYear.

    2.

    For container2 you must resolve conflicts by accepting the distance closest to latitude: 40.730610and longitude: -73.935242.

    3.

    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.

    Select and Place:

  • Question 67:

    HOTSPOT

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

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

    NOTE: Each correct selection is worth one point.

    Hot Area:

  • Question 68:

    HOTSPOT

    You have an Azure Cosmos DB Core (SQL) API account named account1 that has the disableKeyBasedMetadataWriteAccessproperty 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.

    Hot Area:

  • Question 69:

    HOTSPOT

    You have an Azure Cosmos DB Core (SQL) account that has a single write region in West Europe.

    You run the following Azure CLI script.

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

    NOTE: Each correct selection is worth one point.

    Hot Area:

  • Question 70:

    HOTSPOT

    You have a database in an Azure Cosmos DB Core (SQL) API account.

    You plan to create a container that will store employee data for 5,000 small businesses. Each business will have up to 25 employees. Each employee item will have an emailAddressvalue.

    You need to ensure that the emailAddressvalue for each employee within the same company is unique.

    To what should you set the partition key and the unique key? To answer, select the appropriate options in the answer area.

    NOTE: Each correct selection is worth one point.

    Hot Area:

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Microsoft exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your DP-420 exam preparations and Microsoft certification application, do not hesitate to visit our Vcedump.com to find your solutions here.