Indexing Policies Quiz

5 questions Pass: 70% +25 pts (50 with Pro)

Quiz covering Azure Cosmos DB for NoSQL

What you'll be asked

  1. Which indexing mode in Azure Cosmos DB for NoSQL ensures that items are indexed synchronously as they are created, updated, or deleted?
  2. You have a container with a large volume of data and you need to add a composite index to support a specific ORDER BY query. What is the most efficient way to apply this change?
  3. Why would a developer choose to use an 'Excluded Path' in an Azure Cosmos DB indexing policy?
  4. If a query uses an ORDER BY clause on two different properties, what must be defined in the indexing policy to ensure the query is efficient?
  5. A container is configured with an indexing policy that excludes all paths except for a specific property '/category'. If you run a query filtering by '/price', what is the expected outcome?

Answers and explanations come after you submit.