You work as a NoSQL Database Developer for MDFT Pro, a well-known training agency that provides certification courses to thousands of students worldwide. Mark, the Data Engineering Lead, has implemented an Azure Cosmos DB solution using the latest SDK to manage student enrollment records, course progress tracking, and certificate generation.
You’ve added a change feed processor to monitor a new container that stores student course completions. During testing, when you attempt to process a batch of 100 completion documents to generate certificates, the process fails when reading one specific document that has malformed data. The current implementation retries the entire 100-document batch repeatedly, causing delays in certificate generation for all other students in the batch.
You need to implement a solution that monitors how far behind the change feed processor is getting (to alert the operations team) and prevents the processor from continuously retrying the entire batch when a single problematic document is encountered, allowing successful documents to be processed while isolating the failed one for manual review.
Which two features should you implement in the change feed processor?
Choose all correct answers from the options below.
Explanations for each answer: