exam questions

Exam DP-420 All Questions

View all questions & answers for the DP-420 exam

Exam DP-420 topic 2 question 9 discussion

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

You have an Azure Cosmos DB Core (SQL) API account named account1 that has a single read-write region and one additional read region. Account1 uses the strong default consistency level.
You have an application that uses the eventual consistency level when submitting requests to account1.
How will writes from the application be handled?

  • A. Writes will use the eventual consistency level.
  • B. Azure Cosmos DB will reject writes from the application.
  • C. Writes will use the strong consistency level.
  • D. The write order is not guaranteed during replication.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️
Overriding the default consistency level only applies to reads within the SDK client. An account configured for strong consistency by default will still write and replicate data synchronously to every region in the account. When the SDK client instance or request overrides this with Session or weaker consistency, reads will be performed using a single replica.
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
TRUESON
Highly Voted 1 year, 7 months ago
C Overriding the default consistency level only applies to reads within the SDK client. An account configured for strong consistency by default will still write and replicate data synchronously to every region in the account. https://learn.microsoft.com/en-us/azure/cosmos-db/nosql/how-to-manage-consistency?tabs=portal%2Cdotnetv2%2Capi-async#override-the-default-consistency-level
upvoted 7 times
...
Blubb1860
Most Recent 11 months, 1 week ago
Selected Answer: C
C, Overriding the default consistency level only applies to reads
upvoted 2 times
...
azuredemo2022three
1 year, 5 months ago
C. Writes will use the strong consistency level.
upvoted 4 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 ...