BlackFriday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Databricks Exam Databricks-Certified-Data-Engineer-Associate Topic 2 Question 25 Discussion

Actual exam question for Databricks's Databricks-Certified-Data-Engineer-Associate exam
Question #: 25
Topic #: 2
[All Databricks-Certified-Data-Engineer-Associate Questions]

A data engineer has a Python notebook in Databricks, but they need to use SQL to accomplish a specific task within a cell. They still want all of the other cells to use Python without making any changes to those cells.

Which of the following describes how the data engineer can use SQL within a cell of their Python notebook?

Show Suggested Answer Hide Answer

Contribute your Thoughts:

Delbert
5 months ago
Agreed with D. Attaching to a SQL endpoint, option B, sounds wrong to me.
upvoted 0 times
...
Dottie
5 months ago
Guys, C won't work. You need to specify the language. %sql makes sense.
upvoted 0 times
...
Jesusita
6 months ago
I was considering C, just writing SQL syntax directly. But not so sure.
upvoted 0 times
...
Margurite
6 months ago
I think it's D. Adding %sql to the first line should work.
upvoted 0 times
...
Delbert
6 months ago
Yeah, I am puzzled by that one. Any thoughts?
upvoted 0 times
...
Jesusita
6 months ago
Have you seen the question about using SQL in a Python notebook?
upvoted 0 times
...

Save Cancel