Question 930
A data engineering release includes custom wheels and third-party Python libraries. An auditor must prove the outcome of Select supported compatible compute or replace the incompatible dependency for this requirement: A task fails only on serverless compute because an unsupported native extension is required. Which test result is best?
Explanation
Correct Answer
The acceptance criterion for “A task fails only on serverless compute because an unsupported native extension is required” is The task runs successfully in its documented supported environment; this is the expected evidence after Select supported compatible compute or replace the incompatible dependency.
Incorrect Answers
Repeated worker imports no longer trigger unintended data writes would demonstrate the separate action Refactor import-time code into explicitly called initialization, which addresses “A package import creates unexpected side effects each time a worker loads it.” It does not verify the requirement “A task fails only on serverless compute because an unsupported native extension is required” following Select supported compatible compute or replace the incompatible dependency.
That observation is a valid indicator for “A wheel was built for a different Python version than the job runtime” when using Build a compatible distribution or update runtime within supported constraints. The scenario instead tests “A task fails only on serverless compute because an unsupported native extension is required”; the relevant result is The task runs successfully in its documented supported environment.
This signal belongs to the adjacent case “An external library is available to the notebook author but not to scheduled tasks,” whose remedy is Declare it as a task or bundle environment dependency. The observed result for the present requirement is The task runs successfully in its documented supported environment.