AZ-204 · Question #512
Drag and Drop Question You have an Azure Cosmos DB for NoSQL account. You plan to develop two apps named App1 and App2 that will use the change feed functionality to track changes to containers…
The correct answer is Continuation token; Lease container. App1 uses the pull model, which requires the application to manually manage its position in the change feed using a continuation token - a bookmark-like string that tracks where the last read left off, giving the developer full control. App2 uses the push model (via the Change…
Question
Exhibit
Answer Area
Drag items
Correct arrangement
- Continuation token
- Lease container
Explanation
App1 uses the pull model, which requires the application to manually manage its position in the change feed using a continuation token - a bookmark-like string that tracks where the last read left off, giving the developer full control. App2 uses the push model (via the Change Feed Processor), which automatically manages state and distributes work across multiple consumers using a lease container - a dedicated Cosmos DB container that stores partition ownership and continuation state on behalf of each processor instance. The integrated cache is unrelated to change feed tracking; it is used to cache frequently read data to reduce RU consumption.
Topics
Community Discussion
No community discussion yet for this question.
