exam questions

Exam DP-600 All Questions

View all questions & answers for the DP-600 exam

Exam DP-600 topic 1 question 131 discussion

Actual exam question from Microsoft's DP-600
Question #: 131
Topic #: 1
[All DP-600 Questions]

HOTSPOT
-

You have a Fabric tenant that contains 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 the variable.
In the second cell, you run the following code.



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

NOTE: Each correct selection is worth one point.

Show Suggested Answer Hide Answer
Suggested Answer:

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
b01d700
Highly Voted 6 months ago
Is the correct answer No, No, Yes
upvoted 8 times
...
Lotusss
Highly Voted 4 months, 2 weeks ago
No, No, Yes 1. No. The code `customers = spark.read.parquet(customers_path)` creates a Spark DataFrame, not a Pandas DataFrame. 2. No. The code `customers.write.format("delta").mode("overwrite").saveAsTable("Customers")` will create the Delta table named "Customers" if it does not already exist. The `mode("overwrite")` ensures that the table is created or overwritten if it exists. 3. Yes. The path `wasbs://[email protected]/customers?{sas.token}` indicates that the source data is located in the `customers` folder within a container named `contacts` in the Azure Blob Storage account `contoso`.
upvoted 5 times
...
MYPE
Most Recent 6 months ago
Yes No No 1. customers is a pandas dataframe 2. no error if the file is saved with another name 3. the container is not named contacts but customers
upvoted 1 times
Sr18
3 months ago
1. NO: Spark Data Frame 2. NO: It will create one, if already exists then overwrite it 3. YES: contacts is container and folder is customer
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...