Databricks Certified Data Engineer Professional — Question 168

A data engineer is performing a join operation to combine values from a static userLookup table with a streaming DataFrame streamingDF.

Which code block attempts to perform an invalid stream-static join?

Answer options

Correct answer: D

Explanation

The correct answer is D because performing a left join with a streaming DataFrame is not valid in this context. Options A and B are valid joins, and C contains a syntax error with a mismatched bracket. Therefore, D is the only option that indicates an invalid operation.