Question 760
In an Azure AI application: A knowledge-base pipeline must update a search index whenever Cosmos DB documents are inserted or modified. What underlying service behavior is most relevant?
Explanation
Correct Answer
Cosmos DB change feed processors can consume changes using a lease container and checkpoint progress. The scenario specifically states: A knowledge-base pipeline must update a search index whenever Cosmos DB documents are inserted or modified. Cosmos DB change feed processors can consume changes using a lease container and checkpoint progress. The stated requirement hinges on the exact service behavior, not a different component. The decisive evidence to inspect is Inspect processor host health, lease-container access and change-feed continuation state. The important remaining qualification is: Standard change feed may not include physical deletes without a supported mode or deletion pattern.
Incorrect Answers
At-least-once change-feed processing requires idempotent sink writes and stable identity keys. That addresses a different mechanism; this question turns on Cosmos DB change feed processors can consume changes using.
Cosmos DB TTL can expire eligible items using configured default or per-item settings. In the present case the governing issue is Cosmos DB change feed processors can consume changes using, which this does not resolve.
Cosmos DB multiple-write region configuration changes where writes can be accepted and introduces conflict-resolution considerations. That observation may hold without resolving the relevant issue: Cosmos DB change feed processors can consume changes using.