exam questions

Exam DP-200 All Questions

View all questions & answers for the DP-200 exam

Exam DP-200 topic 1 question 29 discussion

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

You plan to implement an Azure Cosmos DB database that will write 100,000,000 JSON records every 24 hours. The database will be replicated to three regions.
Only one region will be writable.
You need to select a consistency level for the database to meet the following requirements:
✑ Guarantee monotonic reads and writes within a session.
✑ Provide the fastest throughput.
✑ Provide the lowest latency.
Which consistency level should you select?

  • A. Strong
  • B. Bounded Staleness
  • C. Eventual
  • D. Session
  • E. Consistent Prefix
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️
Session: Within a single client session reads are guaranteed to honor the consistent-prefix (assuming a single ג€writerג€ session), monotonic reads, monotonic writes, read-your-writes, and write-follows-reads guarantees. Clients outside of the session performing writes will see eventual consistency.
Reference:
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
ivanbtod
Highly Voted 5 years, 2 months ago
I guess Andrea25 could have got this question which i found in another dump where there are three answers but the question is slightly different You plan to deploy an Azure Cosmos DB database that supports multi-master replication. You need to select a consistency level for the database to meet the following requirements: – Provide a recovery point objective (RPO) of less than 15 minutes. – Provide a recovery time objective (RTO) of zero minutes. What are three possible consistency levels that you can select? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point. A . Strong B . Bounded Staleness C . Eventual D . Session E . Consistent Prefix
upvoted 34 times
mickeyisacat615
4 years, 5 months ago
I saw this question in other dump too. CDE would be the three options. To this question, Session is the only option. D is the answer.
upvoted 2 times
...
...
Andrea25
Highly Voted 5 years, 2 months ago
I had this question in my exam. The question ask to choice three of those: - Eventual; - Session; - Consistent Prefix
upvoted 18 times
ivanbtod
5 years, 2 months ago
Andrea25 Were all the questions on the exam from this dump?
upvoted 1 times
...
llt
5 years ago
No, the actual exam DOES NOT require to provide 3 answers, I know this question. The keyword is 'monotonic', so the correct answer is SESSION. https://docs.microsoft.com/en-us/azure/cosmos-db/consistency-levels
upvoted 12 times
...
...
Qrm_1972
Most Recent 4 years, 2 months ago
The correct answer is D: Session ------>>> Session consistency is the most widely used consistency level for both single region as well as globally distributed applications. It provides write latencies, availability, and read throughput comparable to that of eventual consistency but also provides the consistency guarantees that suit the needs of applications written to operate in the context of a user
upvoted 3 times
...
syu31svc
4 years, 7 months ago
Link supports D as the answer
upvoted 2 times
...
zenomas
5 years, 3 months ago
Keyword here is "Guarantee monotonic reads and writes within a session."
upvoted 14 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 ...