QuestionQ42

VerifiedPrepare data

You have a Fabric tenant that includes a PySpark notebook named Notebook1.

You define sas_token as a variable in the first cell of Notebook1 and store a shared access signature (SAS) token in it. In the second cell, you run the following code.

Question Image

For each of the following statements, select Yes if the statement is true. Otherwise, select No.

Yes or No
StatementsYesNo
customers is a pandas DataFrame.
If a delta table named Customers does NOT exist, an error will be generated.
The source data is located in the customers folder in a container named contacts.
Explanation

spark.read.parquet returns a PySpark DataFrame. saveAsTable in overwrite mode creates a missing table and overwrites an existing table. In Azure Blob Storage addressing, contacts identifies the container and customers is the path within it.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!