New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft DP-420 Exam - 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:

0/2000 characters
Jacki
3 months ago
Totally agree with A, it keeps everything in sync!
upvoted 0 times
...
Sharen
3 months ago
Wait, can you really update all those docs atomically in Cosmos DB?
upvoted 0 times
...
Willow
3 months ago
Strong consistency sounds like overkill for this.
upvoted 0 times
...
Howard
4 months ago
I think option B is better for lower latency.
upvoted 0 times
...
Lanie
4 months ago
A transactional batch operation is the way to go!
upvoted 0 times
...
Hermila
4 months ago
Setting the consistency level to strong sounds good, but it might not be the most efficient way to handle updates for all family members at once.
upvoted 0 times
...
Kattie
4 months ago
I practiced a similar question where we had to update multiple documents, and I think using a batch operation was the best approach for consistency.
upvoted 0 times
...
Tiara
4 months ago
I'm not entirely sure, but I think patch operations might not guarantee atomicity, which is crucial here.
upvoted 0 times
...
Nakita
5 months ago
I remember we discussed transactional batch operations in class, and they seem to fit the ACID requirement well.
upvoted 0 times
...
Shayne
5 months ago
The question is pretty straightforward, but I want to make sure I understand the requirements correctly. Updating each member separately and setting the consistency level to strong doesn't seem like it would meet the ACID requirement, so I'm leaning towards the transactional batch operation.
upvoted 0 times
...
Shenika
5 months ago
Okay, I think I've got a strategy here. Since the family members share the same partition key, we can use a transactional batch operation to update all their addresses at once. That should give us the ACID properties we need and the lowest latency.
upvoted 0 times
...
Lera
5 months ago
Hmm, I'm a bit confused about the requirements here. We need to update the address for each family member, but it has to be atomic, consistent, isolated, and durable. I'm not sure if updating each member separately would meet those requirements.
upvoted 0 times
...
Raylene
5 months ago
This looks like a straightforward question about updating data in an Azure Cosmos DB container. I think the key is to find the most efficient and ACID-compliant way to update all the family members' addresses at once.
upvoted 0 times
...
Hannah
5 months ago
I'm feeling pretty confident about this one. The transactional batch operation seems like the best approach to update all the family members' addresses while meeting the ACID requirements. I'll make sure to double-check my work, but I think option A is the way to go.
upvoted 0 times
...
Nohemi
5 months ago
The Product Owner is responsible for the Product Backlog, so I think that's the best answer here.
upvoted 0 times
...
Jame
5 months ago
Okay, I've got this. The question is asking about the potential consequences of poor business decisions and the control measures in place. I'll evaluate each answer option thoughtfully.
upvoted 0 times
...
Stacey
2 years 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
2 years 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
1 year ago
B) Definitely, it's the most efficient way to update the address for each family member.
upvoted 0 times
...
Janessa
1 year ago
A) It's the best option for updating multiple documents with the same partition key.
upvoted 0 times
...
Kate
1 year ago
B) I agree, using a transactional batch operation ensures atomicity and consistency.
upvoted 0 times
...
Lewis
1 year ago
A) Update the document of each family member by using a transactional batch operation.
upvoted 0 times
...
...
Cordelia
2 years ago
That's a good point, Elizabeth. However, using a transactional batch operation would provide the lowest latency as well.
upvoted 0 times
...
Elizabeth
2 years ago
But wouldn't updating the document of each family member separately with strong consistency also meet the requirements?
upvoted 0 times
...
Karan
2 years ago
I agree with Cordelia. Using a transactional batch operation ensures atomicity and consistency.
upvoted 0 times
...
Annmarie
2 years 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
2 years ago
C) Setting the consistency level to strong might also help ensure data integrity.
upvoted 0 times
...
Iluminada
2 years ago
A) Definitely, using a transactional batch operation ensures atomicity and consistency.
upvoted 0 times
...
Xochitl
2 years ago
B) I agree, batch operations are usually faster and would meet the low latency requirement.
upvoted 0 times
...
Katheryn
2 years ago
A) Update the document of each family member by using a transactional batch operation.
upvoted 0 times
...
...
Cordelia
2 years ago
I think we should update the document of each family member by using a transactional batch operation.
upvoted 0 times
...
Lucy
2 years 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
2 years ago
Updating all family members in a single transaction does seem like the most efficient way to go.
upvoted 0 times
...
Thomasena
2 years ago
I agree, option A is the best choice for ACID compliance.
upvoted 0 times
...
Darnell
2 years ago
Updating all family members in a single transaction does seem like the most efficient way to go.
upvoted 0 times
...
Lavina
2 years ago
I agree, option A is the best choice for ACID compliance.
upvoted 0 times
...
...

Save Cancel