DP-100 · Question #408
You use the Azure Machine Learning SDK for Python to create a pipeline that includes the following step: The output of the step run must be cached and reused on subsequent runs when the…
The correct answer is A. allow_reuse. The allow_reuse parameter in an Azure Machine Learning pipeline step definition controls whether the step's output is cached and reused in subsequent runs when inputs and settings (including source_directory) have not changed. Setting allow_reuse=True tells the pipeline service…
Question
Options
- Aallow_reuse
- Bversion
- Cdata.as_input(name=?
- Dhash_paths
How the community answered
(21 responses)- A95% (20)
- B5% (1)
Explanation
The allow_reuse parameter in an Azure Machine Learning pipeline step definition controls whether the step's output is cached and reused in subsequent runs when inputs and settings (including source_directory) have not changed. Setting allow_reuse=True tells the pipeline service to compare the step's inputs, parameters, and source directory against previous runs and reuse the cached output if nothing has changed, saving time and compute costs. The 'version' parameter is a string identifier for tracking purposes but does not control caching behavior. 'data.as_input()' specifies how a dataset is consumed as input, and 'hash_paths' is a legacy parameter for specifying additional paths to hash when determining reuse eligibility.
Topics
Community Discussion
No community discussion yet for this question.