Notebook Development Flashcards

(10 cards)

1
Q

… (existing content unchanged) …

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How can you develop and debug Lakeflow pipelines using notebooks?

A

You can connect a notebook to a pipeline to start and validate updates, view cluster status, access the dataflow graph and event log, and debug directly from the notebook environment.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What prerequisites are required to develop Lakeflow pipelines in notebooks?

A

You need an existing pipeline with a Python or SQL notebook as source code and must have the CAN_MANAGE privilege or be the pipeline owner.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What limitations exist when using notebooks with Lakeflow pipelines?

A

Notebook development is only supported in Databricks notebooks, not Workspace files. The web terminal is also unavailable when attached to a pipeline.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How do you connect a Databricks notebook to a Lakeflow pipeline?

A

Use the compute drop-down menu in the notebook to select a pipeline that lists the notebook as its source code.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How do you validate Lakeflow pipeline code from a notebook?

A

Click ‘Validate’ in the notebook, press Shift+Enter in any cell, or use the cell’s menu to initiate validation without processing data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What does the event log tab in a Lakeflow-connected notebook show?

A

It displays a log of pipeline events, which can be used to track the status and behavior of pipeline updates.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What does the dataflow graph tab show in a Lakeflow notebook?

A

It visualizes the pipeline structure, allowing you to select nodes and view their schemas.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How can you access the Lakeflow UI from a notebook?

A

Use the menu in the top-right corner of the notebook to jump directly to the Lakeflow Declarative Pipelines UI.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How can you access Spark UI and driver logs from a Lakeflow notebook?

A

Use the View menu in the notebook to access driver logs and the Spark UI associated with the running pipeline.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly