exam questions

Exam DP-200 All Questions

View all questions & answers for the DP-200 exam

Exam DP-200 topic 2 question 39 discussion

Actual exam question from Microsoft's DP-200
Question #: 39
Topic #: 2
[All DP-200 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: A 🗳️
You can override the primary language by specifying the language magic command %<language> at the beginning of a cell. The supported magic commands are:
%python, %r, %scala, and %sql.
References:
https://docs.databricks.com/user-guide/notebooks/notebook-use.html#mix-languages

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
akash0680
Highly Voted 4 years, 5 months ago
Correct Answer :)
upvoted 18 times
...
Allapanda
Most Recent 3 years, 10 months ago
not exactly. its %%
upvoted 1 times
tanssive
3 years, 8 months ago
in Databricks you use just '%' e.g. %scala ... CODE
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 ...