nerdexam
MicrosoftMicrosoft

DP-420 · Question #80

DP-420 Question #80: Real Exam Question with Answer & Explanation

The correct answer is A: Change the consistency level of requests to session.. A: You must adjust the request consistency to session or eventual. If not, the request will always bypass the integrated cache. C: Modify your application's connection string to use the new dedicated gateway endpoint. All dedicated gateway connection strings follow the same patte

Optimize an Azure Cosmos DB solution

Question

You have an Azure Cosmos DB for NoSQL account named account1 that supports an application named App1. App1 uses the consistent prefix consistency level. You configure account1 to use a dedicated gateway and integrated cache. You need to ensure that App1 can use the integrated cache. Which two actions should you perform for App1? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.

Options

  • AChange the consistency level of requests to session.
  • DChange the connection mode to direct.
  • EChange the consistency level of requests to strong.

Explanation

A: You must adjust the request consistency to session or eventual. If not, the request will always bypass the integrated cache. C: Modify your application's connection string to use the new dedicated gateway endpoint. All dedicated gateway connection strings follow the same pattern. Remove documents.azure.com from your original connection string and replace it with sqlx.cosmos.azure.com. A dedicated gateway will always have the same connection string, even if you remove and reprovision it. https://docs.microsoft.com/en-us/azure/cosmos-db/how-to-configure-integrated-cache

Topics

#Integrated Cache#Consistency Levels#Application Optimization

Community Discussion

No community discussion yet for this question.

Full DP-420 PracticeBrowse All DP-420 Questions