Cyber Monday 2024! 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
4 months 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 months 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
Lemuel
3 months 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
...
Arletta
3 months ago
C) Update the document of each family member separately and set the consistency level to strong.
upvoted 0 times
...
Sophia
3 months ago
A) Update the document of each family member by using a transactional batch operation.
upvoted 0 times
...
...
Christoper
4 months 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
Bernardine
3 months ago
I agree, using a transactional batch operation would ensure that all updates are applied atomically for members of the same family.
upvoted 0 times
...
Ria
3 months ago
C) Update the document of each family member separately and set the consistency level to strong.
upvoted 0 times
...
Douglass
3 months ago
A) Update the document of each family member by using a transactional batch operation.
upvoted 0 times
...
...
Rory
4 months ago
That's true. Using a transactional batch operation is the best way to ensure ACID properties.
upvoted 0 times
...
Vivan
4 months ago
But updating separately may lead to inconsistencies. We need to ensure all updates are done together.
upvoted 0 times
...
Adolph
4 months 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
Kimberely
3 months ago
C) Update the document of each family member separately and set the consistency level to strong.
upvoted 0 times
...
Tony
3 months 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
4 months ago
B) Update the document of each family member separately by using a patch operation.
upvoted 0 times
...
Kendra
4 months ago
A) Update the document of each family member by using a transactional batch operation.
upvoted 0 times
...
...
Mayra
4 months ago
I'm not sure. Wouldn't updating each document separately with a patch operation be faster?
upvoted 0 times
...
Rory
5 months ago
I agree with Vivan. Using a transactional batch operation ensures atomicity and consistency.
upvoted 0 times
...
Vivan
5 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