exam questions

Exam Certified Data Engineer Professional All Questions

View all questions & answers for the Certified Data Engineer Professional exam

Exam Certified Data Engineer Professional topic 1 question 111 discussion

Actual exam question from Databricks's Certified Data Engineer Professional
Question #: 111
Topic #: 1
[All Certified Data Engineer Professional Questions]

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

  • A. Run source env/bin/activate in a notebook setup script
  • B. Use b in a notebook cell
  • C. Use %pip install in a notebook cell
  • D. Use %sh pip install in a notebook cell
  • E. Install libraries from PyPI using the cluster UI
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
_Lukas_
1 day, 11 hours ago
Selected Answer: C
Correct: C - The %pip magic command is the recommended method for installing notebook-scoped libraries in Databricks. It ensures that the library is installed on both the driver and all worker nodes of the cluster, making it immediately available for distributed processing within that specific notebook session, without affecting other users sharing the cluster.​
upvoted 1 times
...
KadELbied
6 months, 3 weeks ago
Selected Answer: C
Suretly C
upvoted 1 times
...
JamesWright
11 months, 3 weeks ago
C is correct
upvoted 3 times
...
aragorn_brego
1 year ago
Selected Answer: C
In Databricks notebooks, you can use the %pip install command in a notebook cell to install a Python package. This will install the package on all nodes in the currently active cluster at the notebook level. It is a feature provided by Databricks to facilitate the installation of Python libraries for the notebook environment specifically.
upvoted 3 times
...
60ties
1 year ago
Selected Answer: C
C is correct
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...