exam questions

Exam DP-420 All Questions

View all questions & answers for the DP-420 exam

Exam DP-420 topic 3 question 17 discussion

Actual exam question from Microsoft's DP-420
Question #: 17
Topic #: 3
[All DP-420 Questions]

HOTSPOT
-

You plan to create an Azure Cosmos DB database named db1 that will contain two containers. One of the containers will contain blog posts, and the other will contain users. Each item in the blog post container will include:

• A single blog post
• All the comments associated to the blog post
• The names of the users who created the blog post and added the comments

You need to design a solution to update usernames in the user container without causing data integrity issues. The solution must minimize administrative and development effort.

What should you include in the solution? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Show Suggested Answer Hide Answer
Suggested Answer:

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
3a0b61c
Highly Voted 8 months, 3 weeks ago
The change feed processor/A stored procedure https://learn.microsoft.com/en-us/azure/cosmos-db/nosql/model-partition-example#denormalizing-usernames In our example, we use the change feed of the users container to react whenever users update their usernames. When that happens, we propagate the change by calling another stored procedure on the posts container.
upvoted 6 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...