QuestionQ72

Maintain an Azure Cosmos DB solution

You have an Azure Cosmos DB for NoSQL account that includes a container named Container1.

You add this composite index to Container1's default indexing policy:

firstName ASC, age ASC

You intend to run the following query against Container1:

SELECT *  
FROM C  
WHERE c.firstName = "John"  
  AND c.age > 21  
  AND c._ts < 1612213196  

To improve the query's performance, add one more index. Complete the additional index.

Community Discussion

No comments yet. Be the first to start the discussion!