Question 30
A team moves its ETL tasks between serverless jobs and conventional Databricks compute. The team implements Install the dependency for the actual job task environment rather than relying on the notebook session. The goal was: A package import works in an interactive notebook but not in the production job. Which observed result best verifies success?
Explanation
Correct Answer
The team used Install the dependency for the actual job task environment rather than relying on the notebook session to fulfill “A package import works in an interactive notebook but not in the production job.” Observing The same import succeeds in a fresh scheduled job run confirms the intended effect in the resulting workload.
Incorrect Answers
The dependency resolver installs a consistent environment without conflicts pertains to a different control (Resolve the package constraint conflict and lock compatible versions) and a different need (A task reports conflicting transitive package requirements after adding a dependency). It cannot establish that Install the dependency for the actual job task environment rather than relying on the notebook session met the stated goal.
The task imports the required package and the package version is visible would demonstrate the separate action Declare or install the supported package in the task environment, which addresses “A required PyPI library is missing when the Python task starts.” It does not verify the requirement “A package import works in an interactive notebook but not in the production job” following Install the dependency for the actual job task environment rather than relying on the notebook session.
This signal belongs to the adjacent case “An external dependency silently changes behavior after an unpinned upgrade,” whose remedy is Pin the dependency to a validated version and redeploy. The observed result for the present requirement is The same import succeeds in a fresh scheduled job run.