DP-420 Exam Question 21

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?
  • DP-420 Exam Question 22

    Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals.Some question sets might have more than one correct solution, while others might not have a correct solution.
    After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
    You have a container named container1 in an Azure Cosmos DB Core (SQL) API account.
    You need to make the contents of container1 available as reference data for an Azure Stream Analytics job.
    Solution: You create an Azure Data Factory pipeline that uses Azure Cosmos DB Core (SQL) API as the input and Azure Blob Storage as the output.
    Does this meet the goal?
  • DP-420 Exam Question 23

    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

    DP-420 Exam Question 24

    Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
    After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
    You have an Azure Cosmos DB Core (SQL) API account named account 1 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 an Azure Monitor alert to trigger the function.
    Does this meet the goal?
  • DP-420 Exam Question 25

    You have an Azure Cosmos DB for NoSQL account that contains a container named Container1.
    You add a composite index to the default indexing policy of Container1. The index has the following definition.
    FirstName ASC, age ASC
    You plan to execute the following query against Container1.

    You need to optimize the performance of the query by adding an additional index.
    How should you complete the additional index? To answer, select the appropriate options in the answer area NOTE: Each correct selection is worth one point.