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
    :Apr 18, 2024

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

  • Question 41:

    You need to create a data store for a directory of small and medium-sized businesses (SMBs). The data store must meet the following requirements:

    1.

    Store companies and the users employed by them. Each company will have less than 1,000 users.

    2.

    Some users have data that is greater than 2 KB.

    3.

    Associate each user to only one company.

    4.

    Provide the ability to browse by company.

    5.

    Provide the ability to browse the users by company.

    6.

    Whenever a company or user profile is selected, show a details page for the company and all the related users.

    7.

    Be optimized for reading data.

    Which design should you implement to optimize the data store for reading data?

    A. In a directory container, create a document for each company and a document for each user. Use company ID as the partition key.

    B. In a company container, create a document for each company. Embed the users into company documents. Use the company ID as the partition key.

    C. Create a user container that uses the user ID as the partition key and a company container that container that uses the company ID as the partition key. Add the company ID to each user documents.

    D. In a user container, create a document for each user. Embed the company into each user document. Use the user ID as the partition key.

  • Question 42:

    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?

    A. Region Removed

    B. Document Quota

    C. Metadata Requests

    D. Data Usage

  • Question 43:

    You have an Azure Cosmos DB for NoSQL account named account1 that supports an application named App1. App1 uses the consistent prefix consistency level.

    You configure account1 to use a dedicated gateway and integrated cache.

    You need to ensure that App1 can use the integrated cache.

    Which two actions should you perform for APP1? Each correct answer presents part of the solution.

    NOTE: Each correct selection is worth one point.

    A. Change the connection mode to direct

    B. Change the account endpoint to https://account1.sqlx.cosmos.azure.com.

    C. Change the consistency level of requests to strong.

    D. Change the consistency level of requests to session.

    E. Change the account endpoint to https://account1.documents.azure.com

  • Question 44:

    You have an Azure Cosmos DB account named account1.

    You have several apps that connect to account1 by using the account's secondary key.

    You then configure the apps to authenticate by using service principals.

    You need to ensure that account1 will only allow apps to connect by using an Azure AD identity.

    Which account property should you modify?

    A. disableKeyBasedMetadataWriteAccess ,

    B. disableLocalAuth

    C. userAssignedldentatxe

    D. allowedOrxgins

  • Question 45:

    You have an Azure Cosmos DB database named databaset contains a container named container1. The container1 container store product data and has the following indexing policy.

    Which path will be indexed?

    A. /product/brand

    B. /product/category

    C. /product/[ ]/category

    D. /product/brand/tailspin

  • Question 46:

    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 isTomstone parameter to resolve conflict.

    Does this meet the goal?

    A. Yes

    B. No

  • Question 47:

    You have operational data in an Azure Cosmos OB for NoSQL database.

    Database users report that the performance of the database degrades significantly when a business analytics team runs large Apache Spark-based queries against the database.

    You need 10 reduce the impact that running the Spark-based queries has on the database users.

    What should you implement?

    A. Azure Synapse Link

    B. a default consistency level of Consistent Prefix

    C. a default consistency level of Strong

    D. the Spark connector

  • Question 48:

    You have an Azure Cosmos DB for NoSQL account.

    The change feed is enabled on a container named invoice.

    You create an Azure function that has a trigger on the change feed.

    What is received by the Azure function?

    A. all the properties of the updated items

    B. only the partition key and the changed properties of the updated items

    C. all the properties of the original items and the updated items

    D. only the changed properties and the system-defined properties of the updated items

  • Question 49:

    You have an Azure Cosmos DB for NoSQL account named account1 that has a single read-write region and one additional read region.

    Account1 uses the strong default consistency level.

    You have an application that uses the eventual consistency level when submitting requests to account1.

    How will writes from the application be handled?

    A. Writes will use the strong consistency level.

    B. Azure Cosmos DB will reject writes from the application.

    C. The write order is not guaranteed during replication.

    D. Writes will use the eventual consistency level.

  • Question 50:

    You have a container in an Azure Cosmos DB for NoSQL account that stores data about orders. The following is a sample of an order document.

    Documents are up to 2 KB.

    You plan to receive one million orders daily.

    Customers will frequently view then past order history.

    You are the evaluating whether to use orderDate as the partition key.

    What are two effects of using orderDate as the partition key? Each correct answer presents a complete solution.

    NOTE: Each correct selection is worth one point.

    A. You will exceed the maximum number of partition key values.

    B. Queries will run cross-partition.

    C. You will exceed the maximum storage per partition.

    D. There will always be a hot partition.

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.