exam questions

Exam AZ-203 All Questions

View all questions & answers for the AZ-203 exam

Exam AZ-203 topic 2 question 4 discussion

Actual exam question from Microsoft's AZ-203
Question #: 4
Topic #: 2
[All AZ-203 Questions]

DRAG DROP -
You are developing a solution for a hospital to support the following use cases:
✑ The most recent patient status details must be retrieved even if multiple users in different locations have updated the patient record.
✑ Patient health monitoring data retrieved must be the current version or the prior version.
✑ After a patient is discharged and all charges have been assessed, the patient billing record contains the final charges.
You provision a Cosmos DB NoSQL database and set the default consistency level for the database account to Strong. You set the value for Indexing Mode to
Consistent.
You need to minimize latency and any impact to the availability of the solution. You must override the default consistency level at the query level to meet the required consistency guarantees for the scenarios.
Which consistency levels should you implement? To answer, drag the appropriate consistency levels to the correct requirements. Each consistency level may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
NOTE: Each correct selection is worth one point.
Select and Place:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1: Strong -
Strong: Strong consistency offers a linearizability guarantee. The reads are guaranteed to return the most recent committed version of an item. A client never sees an uncommitted or partial write. Users are always guaranteed to read the latest committed write.

Box 2: Bounded staleness -
Bounded staleness: The reads are guaranteed to honor the consistent-prefix guarantee. The reads might lag behind writes by at most "K" versions (that is
"updates") of an item or by "t" time interval. When you choose bounded staleness, the "staleness" can be configured in two ways:
The number of versions (K) of the item
The time interval (t) by which the reads might lag behind the writes

Box 3: Eventual -
Eventual: There's no ordering guarantee for reads. In the absence of any further writes, the replicas eventually converge.
Incorrect Answers:
Consistent prefix: Updates that are returned contain some prefix of all the updates, with no gaps. Consistent prefix guarantees that reads never see out-of-order writes.
References:
https://docs.microsoft.com/en-us/azure/cosmos-db/consistency-levels

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
brajen
Highly Voted 4 years, 11 months ago
Given answer is Correct Only Strong BoundedStaleness Evantual
upvoted 42 times
...
sathish11
Highly Voted 4 years, 11 months ago
Strong BoundedStaleness Evantual
upvoted 10 times
...
ss22
Most Recent 4 years, 4 months ago
Correct Answer is " Strong , BoundedStaleness, ConsistentPrefix"
upvoted 1 times
...
palashroy
4 years, 8 months ago
1. Strong, 2. Bounded staleness 3. Consistent Prefix: Final charges are sum of all charges. Eventual does not guarantee consistent read, thus reads might miss latest writes. Also, all the writes history would be required for billing, thus Consistent Prefix guarantees always reads never sees out of order writes.
upvoted 1 times
luppittegui
4 years, 6 months ago
Maths: a+b = b+a
upvoted 2 times
...
...
NKnab
4 years, 11 months ago
Correct answer shown by exam topics
upvoted 2 times
...
Pavan2358
5 years ago
what is th e correct answer please? I think its stroing, bounded stateless and Consistent Prefix
upvoted 2 times
...
jv10
5 years, 1 month ago
what is the correct answer?
upvoted 4 times
...
vova12345
5 years, 1 month ago
strong, prefix, eventual
upvoted 5 times
...
longcui
5 years, 2 months ago
would think the third answer is "session"
upvoted 1 times
...
saeza100
5 years, 2 months ago
I think "Eventual,Bounded,Strong"
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 ...