Databricks Certified Machine Learning Professional — Question 15
Which of the following statements describes streaming with Spark as a model deployment strategy?
Answer options
- A. The inference of batch processed records as soon as a trigger is hit
- B. The inference of all types of records in real-time
- C. The inference of batch processed records as soon as a Spark job is run
- D. The inference of incrementally processed records as soon as trigger is hit
- E. The inference of incrementally processed records as soon as a Spark job is run
Correct answer: D
Explanation
Option D is correct because streaming with Spark focuses on processing records incrementally as they arrive, triggered by specific events. Options A and C refer to batch processing rather than streaming, while option B suggests real-time processing of all records, which is not specific to the incremental nature of Spark streaming. Option E also incorrectly implies batch processing and is not aligned with the streaming model.