DP-420 · Question #122
DP-420 Question #122: Real Exam Question with Answer & Explanation
The correct answer is D: the PreferredLocations configuration. In order to take advantage of global distribution, client applications can specify the ordered preference list of regions to be used to perform document operations. Based on the Azure Cosmos DB account configuration, current regional availability and the preference list specified
Question
You have an Azure Cosmos DB for NoSQL account configured for global distribution across four regions. At connection time, the SQL SDK needs to identify the optimal endpoint for reading and writing. Which two factors can influence the SDK? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point.
Options
- Athe consistency level in RequestOptions
- Bregional latency
- Cthe default consistency level
- Dthe PreferredLocations configuration
- Ea region being available
Explanation
In order to take advantage of global distribution, client applications can specify the ordered preference list of regions to be used to perform document operations. Based on the Azure Cosmos DB account configuration, current regional availability and the preference list specified, the most optimal endpoint will be chosen by the SQL SDK to perform write and read operations. https://learn.microsoft.com/en-us/azure/cosmos-db/nosql/tutorial-global- distribution?tabs=dotnetv2%2Capi-async#preferred-locations
Topics
Community Discussion
No community discussion yet for this question.