Certs Club
Home
Oracle Microsoft Cisco CompTIA Salesforce Amazon AACE International Acams Anthropic Apple View All Vendors →
Login Register

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

Download Exam View Entire Exam
Page: 1 / 1
Question #1 (Topic: demo questions)

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.

A.
 Configure the trigger for each function to use a different leaseCollectionPrefix
B.
Configure the trigger for each function to use the same leaseCollectionNair.e
C.
Configure the trigger for each function to use a different leaseCollectionName
D.
Configure the trigger for each function to use the same leaseCollectionPrefix
Correct Answer: A, C
Explanation:
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 (Topic: demo questions)

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.

A.
Set the default consistency level of accountl to bounded staleness.
B.
Create a private endpoint connection
C.
Modify the connection policy of App1.
D.
Increase the number of request units per second (RU/s) allocated to the con-product and conproductVendor containers.
Correct Answer: D
Explanation:
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.
Question #3 (Topic: demo questions)

You need to identify which connectivity mode to use when implementing App2. The solution must support the planned changes and meet the businessrequirements. Which connectivity mode should you identify?

A.
Direct mode over HTTPS
B.
Gateway mode (using HTTPS)
C.
Direct mode over TCP
Correct Answer: C
Explanation:
Scenario: Develop an app named App2 that will run from the retail stores and query the data in account2. App2 must be limited to a single DNS endpoint when accessing account2. By using Azure Private Link, you can connect to an Azure Cosmos account via a private endpoint. The private endpoint is a set of private IP addressesin a subnet within your virtual network. When you're using Private Link with an Azure Cosmos account through a direct mode connection, you can use only the TCP protocol. The HTTP protocol is not currently supported.
Question #4 (Topic: demo questions)

You need to select the partition key for con-iot1. The solution must meet the IoT telemetry requirements. What should you select

A.
the timestamp
B.
the humidity
C.
the temperature
D.
the device ID
Correct Answer: D
Explanation:
The partition key is what will determine how data is routed in the various partitions by Cosmos DB and needs to make sense in the context of your specific scenario. The IoT Device ID is generally the "natural" partition key for IoT applications. Scenario: The iotdb database will contain two containers named con-iot1 and con-iot2. Ensure that Azure Cosmos DB costs for IoT-related processing are predictable. 
Question #5 (Topic: demo questions)

You are troubleshooting the current issues caused by the application updates. Which action can address the application updates issue without affecting the functionality of the application? 

A.
 Enable time to live for the con-product container.
B.
Set the default consistency level of account1 to strong.
C.
Set the default consistency level of account1 to bounded staleness.
D.
Add a custom indexing policy to the con-product container.
Correct Answer: C
Explanation:
Bounded staleness is frequently chosen by globally distributed applications that expect low write latencies but require total global order guarantee. Bounded staleness is great for applications featuring group collaboration and sharing, stock ticker, publish-subscribe/queueing etc. Scenario: Application updates in con-product frequently cause HTTP status code 429 "Too many requests". You discover that the 429 status code relates to excessive request unit (RU) consumption during the updates.
Download Exam
Page: 1 / 1
Next Page