New Year Sale ! 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
2 months 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
2 months 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
Hannah
1 months 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
...
Bettina
1 months ago
A) Update the document of each family member by using a transactional batch operation.
upvoted 0 times
...
...
Reynalda
2 months 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
Joye
1 months ago
A) Update the document of each family member by using a transactional batch operation.
upvoted 0 times
...
Denny
1 months ago
A) Update the document of each family member by using a transactional batch operation.
upvoted 0 times
...
Janey
2 months ago
A) Update the document of each family member by using a transactional batch operation.
upvoted 0 times
...
...
Leonida
3 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
2 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
2 months ago
A) Update the document of each family member by using a transactional batch operation.
upvoted 0 times
...
...
Hubert
3 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
3 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
3 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