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

What is a method of installing a Python package scoped at the notebook level to all nodes in the currently active cluster?

    Correct Answer: C

    To install a Python package scoped at the notebook level in a Databricks environment, the appropriate method is to use %pip install in a notebook cell. This command ensures the package is installed only in the context of the current notebook session and is available to all nodes in the active cluster.

Discussion
imatheushenriqueOption: C

Is necessary just run %pip install some_library inside a notebook cell C. OBS: For the last update of a library can be executed %pip install some_library -U