Designing and Implementing Cloud-Native Applications Using Microsoft Azure Cosmos DB — Question 8

You have an Azure Cosmos DB Core (SQL) API 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.

Answer options

Correct answer: A, C

Explanation

The correct answers are A and C. Changing the consistency level of requests to session (A) allows for better performance with integrated caching, while adjusting the account endpoint to http://account1.sqlx.cosmos.azure.com (C) is necessary for compatibility with the dedicated gateway. The other options either do not enable the integrated cache or are not relevant to the configuration required for App1.