Spark Structured Streaming Quiz

5 questions Pass: 70% +25 pts (50 with Pro)

Quiz covering Streaming Data

What you'll be asked

  1. Which Spark Structured Streaming output mode should you use if you want to write every row that is added to the Result Table to the sink?
  2. When performing a stream-stream join in Spark Structured Streaming, what is the primary purpose of defining a 'watermark'?
  3. Which of the following operations is NOT supported in Spark Structured Streaming?
  4. If you are using the 'Complete' output mode, what is a mandatory requirement for your query?
  5. You have a streaming query that joins two streams: Stream A and Stream B. Both streams have watermarks defined. If Stream A has a watermark of 10 minutes and Stream B has a watermark of 5 minutes, what is the effective state retention period for the join?

Answers and explanations come after you submit.