Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft Exam DP-420 Topic 10 Question 44 Discussion

Actual exam question for Microsoft's DP-420 exam
Question #: 44
Topic #: 10
[All DP-420 Questions]

You have a container m an Azure Cosmos DB for NoSQL account. The container stores data about families. Data about parents, children, and pets are stored as separate documents.

Each document contains the address of each family. Members of the same family share the same partition key named family Id

You need to update the address for each member of the same family that share the same address. The solution must meet the following requirements:

* Be atomic consistent isolated, and durable (ACID).

* Provide the lowest latency.

What should you do?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Almeta
3 days ago
Is it just me, or does this feel like a trick question? I mean, who has a family with multiple members in an Azure Cosmos DB account? That's some serious 'family planning' right there!
upvoted 0 times
...
Tiffiny
4 days ago
Hmm, I'm not sure about that. Wouldn't setting the consistency level to strong be the safest option to ensure ACID compliance? It might come with a slight latency penalty, but it's worth it for data integrity.
upvoted 0 times
...
Christoper
22 days ago
I'm not sure about that. The question specifically mentions that the members of the same family share the same partition key, so a transactional batch operation might be the better choice here.
upvoted 0 times
...
Rory
22 days ago
That's true. Using a transactional batch operation is the best way to ensure ACID properties.
upvoted 0 times
...
Vivan
23 days ago
But updating separately may lead to inconsistencies. We need to ensure all updates are done together.
upvoted 0 times
...
Adolph
26 days ago
Updating the documents separately using a patch operation seems like the way to go. That way, we can ensure ACID compliance while minimizing latency.
upvoted 0 times
Lindy
16 days ago
B) Update the document of each family member separately by using a patch operation.
upvoted 0 times
...
Kendra
18 days ago
A) Update the document of each family member by using a transactional batch operation.
upvoted 0 times
...
...
Mayra
28 days ago
I'm not sure. Wouldn't updating each document separately with a patch operation be faster?
upvoted 0 times
...
Rory
1 months ago
I agree with Vivan. Using a transactional batch operation ensures atomicity and consistency.
upvoted 0 times
...
Vivan
1 months ago
I think we should update the document of each family member by using a transactional batch operation.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77