Question 5
UnclassifiedA system must react whenever new documents are written to a container and update a search index. Which Cosmos DB feature is a likely fit?
Correct answer: B
Explanation
Change feed processing fits because it lets an application react to item writes in a Cosmos DB container. The change feed exposes "new documents" as they are written, so a processor can trigger updates to a search index whenever changes occur.
Why each option is right or wrong
A. Manual daily export by screenshot.
B. Change feed processing.
Azure Cosmos DB’s change feed is the built-in ordered log of inserts and updates for a container, and the Change Feed Processor library is designed to continuously read those changes and invoke downstream work. In practice, this is the right mechanism when each newly written document must be detected and used to update another system, such as a search index, without polling the container.
C. Azure Bastion sessions.
D. Random partition-key rotation.