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
    :

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

  • Question 31:

    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?

    A. CosmosDB Operator only

    B. DocumentDB Account Contributor and Cosmos DB Built-in Data Contributor

    C. DocumentDB Account Contributor only

    D. Cosmos DB Built-in Data Contributor only

  • Question 32:

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

    You configure the diagnostic settings to send all log information to a Log Analytics workspace.

    You need to identify when the provisioned request units per second (RU/s) for resources within the account were modified.

    You write the following query.

    AzureDiagnostics

    | where Category == "ControlPlaneRequests"

    What should you include in the query?

    A. | where OperationName startswith "AccountUpdateStart"

    B. | where OperationName startswith "SqlContainersDelete"

    C. | where OperationName startswith "MongoCollectionsThroughputUpdate"

    D. | where OperationName startswith "SqlContainersThroughputUpdate"

  • Question 33:

    You have an Azure Cosmos DB for NoSQL account.

    You need to create an Azure Monitor query that lists recent modifications to the regional failover policy.

    Which Azure Monitor table should you query?

    A. CDBPartitionKeyStatistics

    B. CDBQueryRunTimeStatistics

    C. CDBDataPlaneRequests

    D. CDBControlPlaneRequests

  • Question 34:

    You plan to create an Azure Cosmos DB account that will use the NoSQL API.

    You need to create a grouping strategy for items that will be stored in the account. The solution must ensure that write and read operations on the items can be performed within the same transact!

    What should you use to group the items?

    A. logical partitions

    B. physical partitions

    C. databases

    D. containers

  • Question 35:

    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 IntegratedCacheiteItemHitRatemetric and the IntegratedCacheQueryHitRatemetric. 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?

    A. the indexing policy of the Azure Cosmos DB container

    B. the consistency level of the requests from App1

    C. the connectivity mode of the App1 CosmosClient

    D. the default consistency level of the Azure Cosmos DB account

  • Question 36:

    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?

    A. Yes

    B. No

  • Question 37:

    You have an Azure Cosmos DB for NoSQL account1 that is configured for automatic failover. The account1 account has a single read-write region in West US and a and a read region in East US.

    You run the following PowerShell command.

    Update-AzCosmosDBAccountFailoverPriority -ResourceGroupName `rg1` -Name `account1` -FailoverPolicy @(`East US`, `West US`)

    What is the effect of running the command?

    A. A manual failover will occur.

    B. The account will be unavailable to writes during the change.

    C. The provisioned throughput for account1 will increase.

    D. The account will be configured for multi-region writes.

  • Question 38:

    You have a database named db1in an Azure Cosmos DB for NoSQL account named account 1.

    You need to write JSON data to db1 by using Azure Stream Analytics. The solution must minimize costs.

    Which should you do before you can use db1 as an output of Stream Analytics?

    A. in account, add a private endpoint.

    B. In db1, create containers that have a custom indexing policy and analytical store disabled.

    C. In account, enable a dedicated gateway.

    D. In db1, create containers that have an automatic indexing policy and analytical store enabled.

  • Question 39:

    You need to create a database in an Azure Cosmos DB Core (SQL) API account.

    The database will contain three containers named coll1, coll2, and coll3. The coll1 container will have unpredictable read and write volumes.

    The coll2 and coll3 containers will have predictable read and write volumes.

    The expected maximum throughput for coll1 and coll2 is 50,000 request units per second (RU/s) each.

    How should you provision the collection while minimizing costs?

    A. Create a serverless account.

    B. Create a provisioned throughput account. Set the throughput for coll1 to Autoscale. Set the throughput for coll2 and coll3 to Manual.

    C. Create a provisioned throughput account. Set the throughput for coll1 to Manual. Set the throughput for coll2 and coll3 to Autoscale.

  • Question 40:

    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 result1 these questions will not appear in the review screen.

    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 OB SDK to implement the conflict resolution policy for a container. The solution must ensure that any conflicts are sent to the conflicts feed.

    Solution: You set ConflictResolutionMode to Laswriterwins and you use the default settings for the policy.

    Does this meet the goal?

    A. Yes

    B. No

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.