Question 20
A warehouse engineering team is turning fragile notebooks into tested shared Python packages. An auditor must prove the outcome of Read validated parameters from job parameters or environment configuration for this requirement: An application team needs different configuration values without rewriting Python source code. Which test result is best?
Explanation
Correct Answer
The acceptance criterion for “An application team needs different configuration values without rewriting Python source code” is The same packaged code runs with two allowed configuration sets; this is the expected evidence after Read validated parameters from job parameters or environment configuration.
Incorrect Answers
Unit tests and two separate notebooks import the same function successfully pertains to a different control (Move transformation functions into an importable Python package in the repository) and a different need (Shared transformations are duplicated across five notebooks and need one maintained implementation). It cannot establish that Read validated parameters from job parameters or environment configuration met the stated goal.
This signal belongs to the adjacent case “A library release must be reproducible rather than resolving an arbitrary latest release,” whose remedy is Pin an appropriate tested dependency version in the project or environment manifest. The observed result for the present requirement is The same packaged code runs with two allowed configuration sets.
This signal belongs to the adjacent case “A Python module import fails only when running a deployed Databricks job,” whose remedy is Package the module and install or declare the dependency in the job environment. The observed result for the present requirement is The same packaged code runs with two allowed configuration sets.