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
    :Mar 20, 2024

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

  • Question 1:

    You have a container in an Azure Cosmos DB for NoSQL account. You need to create an alert based on a custom Log Analytics query. Which signal type should you use?

    A. Log

    B. Metrics

    C. Activity Log

    D. Resource Health

  • Question 2:

    You develop an application that uses Azure Cosmos DB Core (SQL) API.

    You create an Azure pipeline to build and deploy the application.

    You need to change the pipeline to run integration tests that you wrote for the application. The solution must execute entirely in the pipeline.

    What should you add to the pipeline?

    A. a deployment group named Cosmos DB testing

    B. an Azure Cosmos DB Emulator task

    C. a NuGet service connection that uses an Azure Cosmos DB API key

    D. a secret variable that has a connection string to an Azure Cosmos DB database

  • Question 3:

    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?

    A. Strong

    B. Bounded Staleness

    C. Session

    D. Consistent Prefix

  • Question 4:

    You have an Azure Cosmos DB database that contains a container named container1. The container1 container is configured with a maximum of 20,000 RU/s and currently contains 240 GB of data.

    You need to estimate the costs of container1 based on the current usage.

    How many RU/s will be charged?

    A. 240

    B. 4,000

    C. 20,000

    D. 24,000

  • Question 5:

    You have an Azure Cosmos DB for NoSQL account named account1.

    You need to create a container named Container1 in account1 by using the Azure Cosmos DB .NET SDK. The solution must ensure that the items in Container1 never expire.

    What should you set?

    A. TimeToLivePropertyPath to null

    B. TimeToLivePropertyPath to 0

    C. DefaultTimeToLive to null

    D. DefaultTimeToLive to –1

  • Question 6:

    You have an Azure Cosmos DB database.

    You plan to create a new container named container1 that will store product data and product category data and will primarily support read requests.

    You need to configure a partition key for container1. The solution must meet the following requirements:

    Minimize the size of the partition.

    Minimize maintenance effort.

    Which two characteristics should you prioritize? Each correct answer presents part of the solution.

    NOTE: Each correct selection is worth one point.

    A. unique

    B. high cardinality

    C. low cardinality

    D. static

  • Question 7:

    You have an Azure Cosmos DB for NoSQL account configured for global distribution across four regions.

    At connection time, the SQL SDK needs to identify the optimal endpoint for reading and writing.

    Which two factors can influence the SDK? Each correct answer presents a complete solution.

    NOTE: Each correct selection is worth one point.

    A. the consistency level in RequestOptions

    B. regional latency

    C. the default consistency level

    D. the PreferredLocations configuration

    E. a region being available

  • Question 8:

    You have an Azure Cosmos DB Core (SQL) API account named account1 that uses autoscale throughput.

    You need to run an Azure function when the normalized request units per second for a container in account1 exceeds a specific value.

    Solution: You configure Azure Event Grid to send events to the function by using an Event Grid trigger in the function.

    Does this meet the goal?

    A. Yes

    B. No

  • Question 9:

    You are developing an application that will use an Azure Cosmos DB Core (SQL) API account as a data source. You need to create a report that displays the top five most ordered fruits as shown in the following table.

    A collection that contains aggregated data already exists. The following is a sample document:

    {

    "name": "apple",

    "type": ["fruit", "exotic"],

    "orders": 10000

    }

    Which two queries can you use to retrieve data for the report? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point.

    A. Option A

    B. Option B

    C. Option C

    D. Option D

  • Question 10:

    You are designing an Azure Cosmos DB Core (SQL) API solution to store data from IoT devices. Writes from the devices will be occur every second. The following is a sample of the data.

    You need to select a partition key that meets the following requirements for writes:

    1.

    Minimizes the partition skew

    2.

    Avoids capacity limits

    3.

    Avoids hot partitions What should you do?

    A. Use timestampas the partition key.

    B. Create a new synthetic key that contains deviceIdand sensor1Value.

    C. Create a new synthetic key that contains deviceIdand deviceManufacturer.

    D. Create a new synthetic key that contains deviceIdand a random number.

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.