Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Certified Data Engineer Professional All Questions

View all questions & answers for the Certified Data Engineer Professional exam

Exam Certified Data Engineer Professional topic 1 question 102 discussion

Actual exam question from Databricks's Certified Data Engineer Professional
Question #: 102
Topic #: 1
[All Certified Data Engineer Professional Questions]

What is the first line of a Databricks Python notebook when viewed in a text editor?

  • A. %python
  • B. // Databricks notebook source
  • C. # Databricks notebook source
  • D. -- Databricks notebook source
  • E. # MAGIC %python
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
bacckom
Highly Voted 10 months, 2 weeks ago
Selected Answer: C
Python: # Databricks notebook source SQL: -- Databricks notebook source Scala: // Databricks notebook source R: # Databricks notebook source
upvoted 7 times
...
Ati1362
Most Recent 5 months ago
Selected Answer: C
c is the answer
upvoted 2 times
...
divingbell17
10 months, 4 weeks ago
Selected Answer: C
https://docs.databricks.com/en/notebooks/notebook-export-import.html#import-a-file-and-convert-it-to-a-notebook
upvoted 2 times
...
aragorn_brego
1 year ago
Selected Answer: C
This is the correct line that you would find at the top of a Databricks notebook when viewed in a text editor, especially for Python notebooks. The # symbol is used for comments in Python, and the comment # Databricks notebook source is used by Databricks to indicate the start of the notebook's source code in the plain text file. These lines are comments in the respective languages (Scala uses // and SQL uses -- for single-line comments) and indicate the beginning of the Databricks notebook content in the text file.
upvoted 2 times
...
AWSMaster69
1 year ago
Selected Answer: C
The Answer is C, Just downloaded a notebook from Databricks and viewed it in a text editor.
upvoted 1 times
...
60ties
1 year ago
Selected Answer: C
Answer is C
upvoted 1 times
...
60ties
1 year ago
// Databricks notebook source - Scala # Databricks notebook source - Python -- Databricks notebook source - SQL Answer is C
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 ...