You work for MDFT Pro, a well-known training agency that uses Azure Databricks for real-time analytics. Mark, the Streaming Data Engineer, has asked you to build a structured streaming solution that monitors student engagement with online course materials. The solution needs to count learning events (video views, quiz submissions, document downloads) in five-minute intervals and report only the events that arrive during each specific interval. The aggregated results should be written to a Delta Lake table for further analysis by the business intelligence team. Mark wants to ensure that historical data from previous intervals is not re-emitted with each update.
Which output mode should you use?
Choose the correct answer from the options below.
Explanations for each answer: