exam questions

Exam DP-420 All Questions

View all questions & answers for the DP-420 exam

Exam DP-420 topic 1 question 18 discussion

Actual exam question from Microsoft's DP-420
Question #: 18
Topic #: 1
[All DP-420 Questions]

You have a container in an Azure Cosmos DB Core (SQL) API 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 familyId.
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?

  • A. Update the document of each family member separately by using a patch operation
  • B. Update the document of each family member separately and set the consistency level to strong
  • C. Update the document of each family member by using a transactional batch operation
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
imando
Highly Voted 1 year, 1 month ago
Selected Answer: C
Keyword is transactional
upvoted 5 times
...
biglebowski88
Most Recent 4 months, 2 weeks ago
Selected Answer: C
C. ACID means that if one operations fails in a group then they all fail together. the transactional batch operation offers this functionality.
upvoted 1 times
...
azuredemo2022three
10 months ago
Selected Answer: C
C. Update the document of each family member by using a transactional batch operation
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago