wrong answer in dp 203 test exam question

Darjuš Vasiukevič 20 Reputation points
2024-05-21T11:51:02.05+00:00

Hello,
I have test exam questions for dp 203 and i had the following question
User's image

after the answer, it shows that it is wrong and gives a link to the documentation
https://video2.skills-academy.com/en-us/azure/databricks/connect/external-systems/synapse-analytics
In docs i see this:

User's image

Who is right?
Questions from Undemy learnings.

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
4,669 questions
Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
2,070 questions
0 comments No comments
{count} votes

Accepted answer
  1. PRADEEPCHEEKATLA-MSFT 85,351 Reputation points Microsoft Employee
    2024-05-21T12:10:47.28+00:00

    @Darjuš Vasiukevič - Thanks for the question and using MS Q&A platform.

    Accordingly, to the document which you shared the correct answer would be: df.write

    Let's understand the difference between df.write and df.writestreamin Azure Databricks.
    df.write and df.writestream are two different methods used in Azure Databricks for writing data to a destination.

    df.write is used to write a batch DataFrame to a destination. It is a synchronous operation, which means that the write operation will complete before the next line of code is executed. This method is used to write data to a destination that does not require continuous updates, such as a file system or a database.

    On the other hand, df.writestream is used to write a streaming DataFrame to a destination. It is an asynchronous operation, which means that the write operation will continue to run in the background while the next line of code is executed. This method is used to write data to a destination that requires continuous updates, such as a streaming service or a real-time dashboard.

    In summary, df.write is used for batch processing, while df.writestream is used for streaming processing.

    Please note: The content posted by Udemy learning platform is not monitored and maintained by Microsoft, please do reach out to the owner of the practice test or the Udemy support: https://support.udemy.com/hc/en-us

    Hope this helps. Do let us know if you any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful