Skip to main content

DP-420 Designing and Implementing Cloud-Native Applications Using Microsoft Azure Cosmos DB

  • Microsoft
  • 5 free sample questions

About this exam

DP-420 is the Microsoft exam Designing and Implementing Cloud-Native Applications Using Microsoft Azure Cosmos DB. Paid practice material for this exam is not available yet, but you can try its free sample questions.

Exam code
DP-420
Vendor
Microsoft
Practice questions
Not available yet
Free sample questions
5
Question bank last updated
Not available yet

Try 2 sample questions

Taken from the free sample set for DP-420.

Question 1 (choose 2)

You need to provide a solution for the Azure Functions notifications following updates to conproduct. The solution must meet the business requirements and the product catalog requirements. Which two actions should you perform? Each correct answer presents part of the solution. NOTE: Each correctselection is worth one point.

  1. Option A:
     Configure the trigger for each function to use a different leaseCollectionPrefix
  2. Option B:
    Configure the trigger for each function to use the same leaseCollectionNair.e
  3. Option C:
    Configure the trigger for each function to use a different leaseCollectionName
  4. Option D:
    Configure the trigger for each function to use the same leaseCollectionPrefix
Show answer and explanation

Correct answer: A, C

leaseCollectionPrefix: when set, the value is added as a prefix to the leases created in the Lease collection for this Function. Using a prefix allows two separate Azure Functions to share the same Lease collection by using different prefixes. Scenario: Use Azure Functions to send notifications about product updates to different recipients. Trigger the execution of two Azure functions following every update to any document in the conproduct container.

Question 2

You configure multi-region writes for account1. You need to ensure that App1 supports the new configuration for account1. The solution must meet the businessrequirements and the product catalog requirements.

  1. Option A:
    Set the default consistency level of accountl to bounded staleness.
  2. Option B:
    Create a private endpoint connection
  3. Option C:
    Modify the connection policy of App1.
  4. Option D:
    Increase the number of request units per second (RU/s) allocated to the con-product and conproductVendor containers.
Show answer and explanation

Correct answer: D

App1 queries the con-product and con-productVendor containers. Note: Request unit is a performance currency abstracting the system resources such as CPU, IOPS, and memory that are required to perform the database operations supported by Azure Cosmos DB. Scenario: Develop an app named App1 that will run from all locations and query the data in account1. Once multi-region writes are configured, maximize the performance of App1 queries against the data in account1. Whenever there are multiple solutions for a requirement, select the solution that provides the best performance, aslong asthere are no additional costs associated.
See all 5 free sample questions