Databricks Certified Data Engineer Professional — Question 122
What is the first line of a Databricks Python notebook when viewed in a text editor?
Answer options
- A. %python
- B. // Databricks notebook source
- C. # Databricks notebook source
- D. -- Databricks notebook source
Correct answer: C
Explanation
The correct answer is C, as the first line of a Databricks Python notebook is marked with a '#' to indicate a comment. Options A and B are incorrect because they do not represent the correct syntax for a Databricks notebook, and D is also incorrect since '--' is not used for comments in this context.