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 1 Question 42 Discussion

Actual exam question for Microsoft's DP-420 exam
Question #: 42
Topic #: 1
[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:

Stacey
4 months ago
I love how they sneak in that 'lowest latency' requirement. Very sneaky, Azure Cosmos DB. Option A gets my vote.
upvoted 0 times
...
Sherrell
4 months ago
Option C seems like overkill. Strong consistency is great, but do we really need it for a simple address update? A is the clear winner here.
upvoted 0 times
Miesha
3 months ago
B) Definitely, it's the most efficient way to update the address for each family member.
upvoted 0 times
...
Janessa
3 months ago
A) It's the best option for updating multiple documents with the same partition key.
upvoted 0 times
...
Kate
3 months ago
B) I agree, using a transactional batch operation ensures atomicity and consistency.
upvoted 0 times
...
Lewis
3 months ago
A) Update the document of each family member by using a transactional batch operation.
upvoted 0 times
...
...
Cordelia
5 months ago
That's a good point, Elizabeth. However, using a transactional batch operation would provide the lowest latency as well.
upvoted 0 times
...
Elizabeth
5 months ago
But wouldn't updating the document of each family member separately with strong consistency also meet the requirements?
upvoted 0 times
...
Karan
5 months ago
I agree with Cordelia. Using a transactional batch operation ensures atomicity and consistency.
upvoted 0 times
...
Annmarie
5 months ago
I was leaning towards option B, but the requirement for low latency makes me think A might be the better choice. Batched operations should be faster.
upvoted 0 times
Kiley
4 months ago
C) Setting the consistency level to strong might also help ensure data integrity.
upvoted 0 times
...
Iluminada
4 months ago
A) Definitely, using a transactional batch operation ensures atomicity and consistency.
upvoted 0 times
...
Xochitl
4 months ago
B) I agree, batch operations are usually faster and would meet the low latency requirement.
upvoted 0 times
...
Katheryn
4 months ago
A) Update the document of each family member by using a transactional batch operation.
upvoted 0 times
...
...
Cordelia
5 months ago
I think we should update the document of each family member by using a transactional batch operation.
upvoted 0 times
...
Lucy
5 months ago
Hmm, I think option A is the way to go. Updating all family members in a single transaction seems like the best way to ensure ACID compliance.
upvoted 0 times
Caprice
4 months ago
Updating all family members in a single transaction does seem like the most efficient way to go.
upvoted 0 times
...
Thomasena
4 months ago
I agree, option A is the best choice for ACID compliance.
upvoted 0 times
...
Darnell
5 months ago
Updating all family members in a single transaction does seem like the most efficient way to go.
upvoted 0 times
...
Lavina
5 months ago
I agree, option A is the best choice for ACID compliance.
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