nerdexam
Microsoft

DP-203 · Question #187

You plan to build a structured streaming solution in Azure Databricks. The solution will count new events in five-minute intervals and report only events that arrive during the interval. The output…

The correct answer is C. append. Append Mode: Only new rows appended in the result table since the last trigger are written to external storage. This is applicable only for the queries where existing rows in the Result Table are not expected to change. Incorrect Answers: B: Complete Mode: The entire updated…

Submitted by obi.ng· Mar 30, 2026Develop data processing

Question

You plan to build a structured streaming solution in Azure Databricks. The solution will count new events in five-minute intervals and report only events that arrive during the interval. The output will be sent to a Delta Lake table. Which output mode should you use?

Options

  • Aupdate
  • Bcomplete
  • Cappend

How the community answered

(23 responses)
  • A
    17% (4)
  • B
    13% (3)
  • C
    70% (16)

Explanation

Append Mode: Only new rows appended in the result table since the last trigger are written to external storage. This is applicable only for the queries where existing rows in the Result Table are not expected to change. Incorrect Answers: B: Complete Mode: The entire updated result table is written to external storage. It is up to the storage connector to decide how to handle the writing of the entire table. A: Update Mode: Only the rows that were updated in the result table since the last trigger are written to external storage. This is different from Complete Mode in that Update Mode outputs only the rows that have changed since the last trigger. If the query doesn’t contain aggregations, it is equivalent to Append mode. https://docs.databricks.com/getting-started/spark/streaming.html

Topics

#structured streaming#output mode#Delta Lake#event windowing

Community Discussion

No community discussion yet for this question.

Full DP-203 Practice