Databricks Certified Data Engineer Professional — Question 68
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
- E. # MAGIC %python
Correct answer: C
Explanation
The correct answer is C, as the first line in a Databricks Python notebook is marked with a '#' indicating a comment. Options A, B, D, and E are incorrect because they either represent different types of code or are not the initial line format used in Databricks notebooks.