Q7 Cosmos DB Domain 2 · 25–30% of exam

A Cosmos DB NoSQL container needs to efficiently run queries filtering on a property that is not the partition key. What indexing feature should be verified?

  1. A Composite index on the property
  2. B Spatial index
  3. C The property must be included in the indexing policy (included paths) (correct answer)
  4. D TTL index

Shortcut: By default, all properties are indexed (Consistent mode). If indexing policy has been customized to exclude paths, properties not indexed will cause full scans. Verify the property is in included paths.