
Answer-first summary for fast verification
Answer: Options B and C are both correct.
Let's evaluate each option to determine its accuracy: - **Option A** is incorrect because checkpoints are used during the writing process, not reading. - **Option B** is correct as each streaming query requires its own checkpoint path to ensure data integrity. - **Option C** is correct because checkpoints support fault tolerance and data replay capabilities. - **Option D** is the correct answer since it combines the truths of options B and C. - **Option E** is incorrect due to the inaccuracy of option A. For more details, refer to the documentation on Checkpointing in Spark Streaming.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
Which of the following statements accurately describes the role of checkpoints in a streaming query?
A
Checkpoints are essential for reading data in a streaming query.
B
Every distinct streaming query must have a unique checkpoint.
C
Utilizing checkpoints enables fault tolerance in streaming queries.
D
Options B and C are both correct.
E
All the above statements are correct.
No comments yet.