Which output mode should you use?

Posted by: Pdfprep Category: DP-200 Tags: , ,

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?
A . complete
B . update
C . append

Answer: C

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.

Reference: https://docs.databricks.com/getting-started/spark/streaming.html

Leave a Reply

Your email address will not be published.