
Databricks Certified Data Engineer - Professional
Get started today
Ultimate access to all questions.
What describes a technique for installing a Python package at the notebook level that will be available on all nodes of the active cluster?
What describes a technique for installing a Python package at the notebook level that will be available on all nodes of the active cluster?
Exam-Like
Explanation:
The correct answer is C. Using %pip install
in a notebook cell installs the Python package scoped to the notebook's session on all nodes in the active cluster. This method ensures the package is available across all worker nodes but isolated to the specific notebook's context, avoiding cluster-wide installation. Options A, B, D, and E do not meet the requirement of notebook-scoped installation to all nodes in the currently active cluster.