LeetQuiz Logo
Privacy Policy•contact@leetquiz.com
© 2025 LeetQuiz All rights reserved.
Databricks Certified Data Engineer - Professional

Databricks Certified Data Engineer - Professional

Get started today

Ultimate access to all questions.


In a Databricks environment, you are working on a project that involves multiple Python sub-modules currently maintained as Wheels. The project requires adapting these Wheels to use direct imports with relative paths in Databricks notebooks to improve maintainability and scalability. Considering the need for a proper package structure, cost efficiency, and compliance with Python packaging standards, which of the following approaches would you choose? (Choose one option)

Simulated



Explanation:

Option B is the correct approach because it refactors the Python code to establish a proper package structure with an __init__.py file at the top level. This method allows the use of relative paths for imports in the notebooks, which is more maintainable and scalable. It also complies with Python packaging standards, unlike the other options which either complicate future updates, increase costs, or introduce management overhead.

Powered ByGPT-5