ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 133 - DP-203 discussion

Report
Export

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

Reference:

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

asked 02/10/2024
Amir Trujillo
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first