exam questions

Exam DP-203 All Questions

View all questions & answers for the DP-203 exam

Exam DP-203 topic 2 question 126 discussion

Actual exam question from Microsoft's DP-203
Question #: 126
Topic #: 2
[All DP-203 Questions]

HOTSPOT
-

You have an Azure Synapse Analytics workspace that contains an Apache Spark pool named Pool1.

You need to read data from a CSV file and write the data to a Delta table by using Pool1.

How should you complete the PySpark code? To answer, select the appropriate options in the answer area.

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
9370d83
1 month, 3 weeks ago
deltaTable = DeltaTable.forPath(spark, "/path/to/table")
upvoted 1 times
...
renan_ineu
7 months, 2 weeks ago
The answers are correct. Besides the link from @GermanGerman, check the databricks syntax here: https://docs.databricks.com/en/delta/tutorial.html The page has only "forName". For the question, the similar "forPath" is the choice.
upvoted 4 times
...
GermanGerman
1 year, 3 months ago
correct. https://learn.microsoft.com/en-us/training/modules/use-delta-lake-azure-databricks/03-create-delta-tables
upvoted 4 times
...
redprint
1 year, 3 months ago
df.cache() ,convertToDelta()
upvoted 2 times
swathi_rs
1 year ago
why, explain?
upvoted 2 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago