exam questions

Exam DP-420 All Questions

View all questions & answers for the DP-420 exam

Exam DP-420 topic 1 question 33 discussion

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

HOTSPOT
-

You have an Azure Cosmos DB account named account1 that has a default consistency level of session.

You have an app named App1.

You need to ensure that the read operations of App1 can request either bounded staleness or consistent prefix consistency.

What should you modify for each consistency level? To answer, select the appropriate options in the answer area.

Show Suggested Answer Hide Answer
Suggested Answer:

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
meiwein
Highly Voted 1 year, 4 months ago
account level & request level options "Consistency can only be relaxed at the SDK instance or request level. To move from weaker to stronger consistency, update the default consistency for the Azure Cosmos DB account." https://learn.microsoft.com/en-us/azure/cosmos-db/nosql/how-to-manage-consistency?tabs=portal%2Cdotnetv2%2Capi-async
upvoted 15 times
biglebowski88
5 months, 1 week ago
to clarify order in strength of consistency models is: Strong (side note. not applicable to Multi Region Write architecture!), Bounded Staleness, Session, Consistent Prefix Eventual. Bounded Staleness is stronger than session so cant be overridden in the SDK level. Consistent Prefix is weaker than session so it can be overridden in the SDK level.
upvoted 2 times
...
[Removed]
1 year, 2 months ago
Bounded staleness > account level Consistent prefix > request level "The default consistency level configured on your account applies to all Azure Cosmos DB databases and containers under that account." https://learn.microsoft.com/en-us/azure/cosmos-db/consistency-levels#configure-the-default-consistency-level **No option to set consistency level at database level. requirements for multiple default consistency levels = multiple accounts
upvoted 3 times
...
...
xofowi5140
Most Recent 1 year, 4 months ago
"account level & request level options" or "The database level options & The request level options"?
upvoted 1 times
[Removed]
8 months, 3 weeks ago
Consistency can only be relaxed at the SDK instance or request level. To move from weaker to stronger consistency, update the default consistency for the Azure Cosmos DB account. For Bounded staleness --> Account For Consistent prefix --> Request Level 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 1 times
...
...
azuredemo2022three
1 year, 4 months ago
For Bounded staleness: The database level options For Consistent prefix: The request level options
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 ...