exam questions

Exam DP-300 All Questions

View all questions & answers for the DP-300 exam

Exam DP-300 topic 1 question 18 discussion

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

You are creating a new notebook in Azure Databricks that will support R as the primary language but will also support Scala and SQL.
Which switch should you use to switch between languages?

  • A. \\[<language>]
  • B. %<language>
  • C. \\[<language>]
  • D. @<language>
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
You can override the default language by specifying the language magic command %<language> at the beginning of a cell. The supported magic commands are:
%python, %r, %scala, and %sql.
Reference:
https://docs.microsoft.com/en-us/azure/databricks/notebooks/notebooks-use

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
HichemZe
Highly Voted 2 years, 5 months ago
Question FOR DP-203 , Not For DBA (DP-300)
upvoted 23 times
...
stdevops
Highly Voted 2 years, 3 months ago
Answer is %<language>
upvoted 7 times
...
MS_KoolaidMan
Most Recent 8 months, 3 weeks ago
Selected Answer: B
%<language>
upvoted 1 times
...
Itsalwaymethecap
1 year, 7 months ago
Are we sure that these questions do not appear in DP-300?
upvoted 3 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 ...