<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Mistake in a Practice Quiz Question in Training offerings</title>
    <link>https://community.databricks.com/t5/training-offerings/mistake-in-a-practice-quiz-question/m-p/157107#M1184</link>
    <description>&lt;P&gt;I have noticed a mistake in question 5 of the quiz in the Quiz - Stream Processing and Analysis with Apache Spark E-learning (self-paced) which is a part of the Apache Spark Developer Learning Plan on Databricks Academy.&lt;/P&gt;&lt;P&gt;The question is:&lt;/P&gt;&lt;P&gt;Which method is used to properly stop a streaming query and wait for the final batch to complete processing?&lt;BR /&gt;Options:&lt;BR /&gt;1. query.stop()&lt;/P&gt;&lt;P&gt;2. query.terminate()&lt;/P&gt;&lt;P&gt;3. query.terminate()&lt;BR /&gt;query.stop() and query.awaitTermination()&lt;/P&gt;&lt;P&gt;4. query.awaitTermination()&lt;/P&gt;&lt;P&gt;The option 3 is listed as the correct answer but it also lists query.terminate() which is not at all a streaming query method as per the latest pyspark API documentation and reference. (&lt;A title="Spark Reference" href="https://spark.apache.org/docs/latest/api/python/reference/pyspark.ss/api/pyspark.sql.streaming.StreamingQuery.html#" target="_self"&gt;https://spark.apache.org/docs/latest/api/python/reference/pyspark.ss/api/pyspark.sql.streaming.StreamingQuery.html#&lt;/A&gt;&amp;nbsp;)&lt;/P&gt;&lt;P&gt;Answers to this question should be updated to avoid any confusion in future.&lt;/P&gt;</description>
    <pubDate>Sun, 17 May 2026 15:18:57 GMT</pubDate>
    <dc:creator>mrdoctor</dc:creator>
    <dc:date>2026-05-17T15:18:57Z</dc:date>
    <item>
      <title>Mistake in a Practice Quiz Question</title>
      <link>https://community.databricks.com/t5/training-offerings/mistake-in-a-practice-quiz-question/m-p/157107#M1184</link>
      <description>&lt;P&gt;I have noticed a mistake in question 5 of the quiz in the Quiz - Stream Processing and Analysis with Apache Spark E-learning (self-paced) which is a part of the Apache Spark Developer Learning Plan on Databricks Academy.&lt;/P&gt;&lt;P&gt;The question is:&lt;/P&gt;&lt;P&gt;Which method is used to properly stop a streaming query and wait for the final batch to complete processing?&lt;BR /&gt;Options:&lt;BR /&gt;1. query.stop()&lt;/P&gt;&lt;P&gt;2. query.terminate()&lt;/P&gt;&lt;P&gt;3. query.terminate()&lt;BR /&gt;query.stop() and query.awaitTermination()&lt;/P&gt;&lt;P&gt;4. query.awaitTermination()&lt;/P&gt;&lt;P&gt;The option 3 is listed as the correct answer but it also lists query.terminate() which is not at all a streaming query method as per the latest pyspark API documentation and reference. (&lt;A title="Spark Reference" href="https://spark.apache.org/docs/latest/api/python/reference/pyspark.ss/api/pyspark.sql.streaming.StreamingQuery.html#" target="_self"&gt;https://spark.apache.org/docs/latest/api/python/reference/pyspark.ss/api/pyspark.sql.streaming.StreamingQuery.html#&lt;/A&gt;&amp;nbsp;)&lt;/P&gt;&lt;P&gt;Answers to this question should be updated to avoid any confusion in future.&lt;/P&gt;</description>
      <pubDate>Sun, 17 May 2026 15:18:57 GMT</pubDate>
      <guid>https://community.databricks.com/t5/training-offerings/mistake-in-a-practice-quiz-question/m-p/157107#M1184</guid>
      <dc:creator>mrdoctor</dc:creator>
      <dc:date>2026-05-17T15:18:57Z</dc:date>
    </item>
  </channel>
</rss>

