BLACK FRIDAY SALE – Unlock Up to 25% OFF on All Exam Prep! - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Databricks Certified Data Engineer Professional Exam - Topic 2 Question 56 Discussion

Posted by Shawna on Oct 12, 2026 at 12:26 AM

A data engineer needs to install the PyYAML Python package within an air-gapped Databricks environment. The workspace has no direct internet access to PyPI. The engineer has downloaded the .whl file locally and wants it available automatically on all new clusters.

Which approach should the data engineer use?

Suggested Answer: B

For secure, air-gapped Databricks deployments, the recommended practice is to host dependency files such as .whl packages in Unity Catalog Volumes --- a managed storage layer governed by Unity Catalog.

Once stored in a volume, these files can be safely referenced from cluster-scoped init scripts, which automatically execute installation commands (e.g., pip install /Volumes/catalog/schema/path/PyYAML.whl) during cluster startup.

This ensures consistent environment setup across clusters and compliance with data governance rules.

User directories (A) lack enterprise security controls; private repositories (C) are not viable in air-gapped setups; and Git repos (D) do not trigger package installation. Therefore, B is the correct and officially approved method.


Get Premium Databricks Certified Data Engineer Professional Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
9 comments · newest first
TE
Teri 4 days ago
Not sure why anyone would choose A over B. B is definitely better!
TH
Thaddeus 9 days ago
C is a solid approach if you have the resources for a private repo.
LA
Lauran 15 days ago
Surprised that D is even an option! That won't auto-install.
SA
Sarah 20 days ago
I think A could work too, but B seems more reliable.
AN
Annett 25 days ago
Option B is the best choice for air-gapped environments.
LA
Lashanda 1 month ago
I don't recall us covering option D at all. Adding the .whl file to Git Repos doesn't seem like it would automatically install it, right?
AL
Allene 1 month ago
I feel like setting up a private PyPI repository (option C) could work, but it seems like a lot of extra steps for just one package.
NA
Naomi 1 month ago
I think option B might be the right choice since it mentions Unity Catalog Volumes, which we practiced in a similar question about package management.
NO
Noel 2 months ago
I remember we discussed using init scripts in class, so option A sounds familiar, but I'm not entirely sure if that's the best way to handle it in an air-gapped environment.
0/2000 characters

Save Cancel