BlackFriday 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
2 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
2 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
2 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
2 months ago
C) Update the document of each family member separately and set the consistency level to strong.
upvoted 0 times
...
Sophia
2 months ago
A) Update the document of each family member by using a transactional batch operation.
upvoted 0 times
...
...
Christoper
3 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
2 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
2 months ago
C) Update the document of each family member separately and set the consistency level to strong.
upvoted 0 times
...
Douglass
2 months ago
A) Update the document of each family member by using a transactional batch operation.
upvoted 0 times
...
...
Rory
3 months ago
That's true. Using a transactional batch operation is the best way to ensure ACID properties.
upvoted 0 times
...
Vivan
3 months ago
But updating separately may lead to inconsistencies. We need to ensure all updates are done together.
upvoted 0 times
...
Adolph
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
Kimberely
2 months ago
C) Update the document of each family member separately and set the consistency level to strong.
upvoted 0 times
...
Tony
2 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
3 months ago
B) Update the document of each family member separately by using a patch operation.
upvoted 0 times
...
Kendra
3 months ago
A) Update the document of each family member by using a transactional batch operation.
upvoted 0 times
...
...
Mayra
3 months ago
I'm not sure. Wouldn't updating each document separately with a patch operation be faster?
upvoted 0 times
...
Rory
4 months ago
I agree with Vivan. Using a transactional batch operation ensures atomicity and consistency.
upvoted 0 times
...
Vivan
4 months ago
I think we should update the document of each family member by using a transactional batch operation.
upvoted 0 times
...

Save Cancel