Want to pass your Designing and Implementing Cloud-Native Applications Using Microsoft Azure Cosmos DB DP-420 exam in the very first attempt? Try Pass2lead! It is equally effective for both starters and IT professionals.
VCE
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:
1.
You set ConfilictResolutionMode to Custom.
2.
You Set ResolutionProcedures to a custom stored procedure.
3.
You configure the custom stored procedure to use the conflictingItems parameter to resolve conflict.
Does this meet the goal?
A. Yes
B. No
You have a container m an Azure Cosmos DB for NoSQL account.
Data update volumes are unpredictable.
You need to process the change teed of the container by using a web app that has multiple instances. The change feed will be processed by using the change feed processor from the Azure Cosmos DB SDK. The multiple instances must share the workload.
Which three actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
A. Configure the same processor name for all the instances.
B. Configure a different processor name for each instance.
C. Configure a different lease container configuration for each instance.
D. Configure the same instance name for all the instances. 13
E. Configure a different instance name for each instance.
F. Configure the same lease container configuration for all the instances.
You maintain a relational database for a book publisher. The database contains the following tables.
The most common query lists the books for a given authorId.
You need to develop a non-relational data model for Azure Cosmos DB Core (SQL) API that will replace the relational database. The solution must minimize latency and read operation costs.
What should you include in the solution?
A. Create a container for Author and a container for Book. In each Author document, embed bookId for each book by the author. In each Book document embed authorIdof each author.
B. Create Author, Book, and Bookauthorlnk documents in the same container.
C. Create a container that contains a document for each Author and a document for each Book. In each Book document, embed authorId.
D. Create a container for Author and a container for Book. In each Author document and Book document embed the data from Bookauthorlnk.