nerdexam
Microsoft

DP-420 · Question #122

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…

The correct answer is D. the PreferredLocations configuration E. a region being available. 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…

Integrate an Azure Cosmos DB solution

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

How the community answered

(23 responses)
  • A
    4% (1)
  • C
    4% (1)
  • D
    91% (21)

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

#Cosmos DB SDK#Global Distribution#Endpoint Selection#Preferred Locations

Community Discussion

No community discussion yet for this question.

Full DP-420 Practice