Exam Certified Data Engineer Professional All QuestionsBrowse all questions from this exam
Question 102

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

    Correct Answer: C

    The first line of a Databricks Python notebook when viewed in a text editor is '# Databricks notebook source'. The '#' symbol is used for comments in Python, and this comment line indicates the start of the notebook's source code in the text file.

Discussion
bacckomOption: C

Python: # Databricks notebook source SQL: -- Databricks notebook source Scala: // Databricks notebook source R: # Databricks notebook source

Ati1362Option: C

c is the answer

divingbell17Option: C

https://docs.databricks.com/en/notebooks/notebook-export-import.html#import-a-file-and-convert-it-to-a-notebook

aragorn_bregoOption: 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.

AWSMaster69Option: C

The Answer is C, Just downloaded a notebook from Databricks and viewed it in a text editor.

60tiesOption: C

Answer is C

60tiesOption: C

// Databricks notebook source - Scala # Databricks notebook source - Python -- Databricks notebook source - SQL Answer is C