You work as a NoSQL Database Administrator for MDFT Pro, a well-known training agency that delivers certification courses to students worldwide. Claire, the Data Platform Lead, has deployed an Azure Cosmos DB instance to store course catalog data, student enrollment records, and instructor profiles for the Learning Management System. The application performs frequent queries to search for courses by category, find students by certification level, and locate instructors by expertise area. These queries must return accurate, up-to-date results immediately after items are created, updated, or deleted—for example, when a new course is published, it should appear in search results right away, and when student enrollment status changes, queries must reflect the updated information. You need to configure the Cosmos DB indexing policy to ensure indexes are automatically updated as items change.
What should you configure to ensure the index is updated automatically as items are created, updated, or deleted?
Choose the correct answer from the options below.
Explanations for each answer: