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 14 Question 52 Discussion

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

Mary
12 days ago
Option C could work, but setting the consistency level to strong doesn't really solve the ACID requirement. A is the way to go.
upvoted 0 times
...
Pamella
13 days ago
Option B might be tempting, but it won't give you the ACID guarantees you need. Go with A to ensure data integrity.
upvoted 0 times
...
Reynalda
22 days ago
I agree with Leonida. Option A is the best choice here. Performing a batch operation is the most efficient way to update the documents.
upvoted 0 times
Janey
11 days ago
A) Update the document of each family member by using a transactional batch operation.
upvoted 0 times
...
...
Leonida
1 months ago
Option A seems like the way to go. Updating the documents in a single transactional batch operation ensures ACID compliance and minimizes latency.
upvoted 0 times
Ezekiel
1 months ago
Option A seems like the way to go. Updating the documents in a single transactional batch operation ensures ACID compliance and minimizes latency.
upvoted 0 times
...
Tamekia
1 months ago
A) Update the document of each family member by using a transactional batch operation.
upvoted 0 times
...
...
Hubert
2 months ago
I disagree. Updating the document of each family member separately with strong consistency level might be a better option to ensure data integrity.
upvoted 0 times
...
Alverta
2 months ago
I agree with Youlanda. Using a transactional batch operation will also provide the lowest latency for updating the address of each family member.
upvoted 0 times
...
Youlanda
2 months ago
I think we should update the document of each family member by using a transactional batch operation. It ensures atomicity and consistency.
upvoted 0 times
...

Save Cancel