Exam Databricks-Certified-Data-Engineer-Associate Topic 1 Question 165 Discussion

Actual exam question for Databricks's Databricks-Certified-Data-Engineer-Associate exam
Question #: 165
Topic #: 1
A data engineer has configured a Structured Streaming job to read from a table, manipulate the data, and then perform a streaming write into a new table.
The cade block used by the data engineer is below:

If the data engineer only wants the query to execute a micro-batch to process data every 5 seconds, which of the following lines of code should the data engineer use to fill in the blank?

Suggested Answer: D Vote an answer

Explanation
# ProcessingTime trigger with two-seconds micro-batch interval
df.writeStream \
format("console") \
trigger(processingTime='2 seconds') \
start()
https://spark.apache.org/docs/latest/structured-streaming-programming-guide.html#triggers

by Ellis at Apr 16, 2026, 05:23 AM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

0
0
0
10