You are orchestrating a multi-step ML pipeline in Azure Machine Learning. You need to ensure that a downstream step only executes if the upstream model training step finishes successfully, while allowing the pipeline to continue even if a non-critical logging step fails. Which configuration should you use?
Trap 1: Configure a 'WaitStep' to monitor the training job status.
WaitStep is not a standard Azure ML pipeline component.
Trap 2: Set the 'PipelineParameter' to execute only on success.
PipelineParameters are for inputs, not flow control.
Trap 3: Use an 'Estimator' class with 'allow_reuse' set to False.
Allow_reuse is for caching, not error handling.
- A
Configure a 'WaitStep' to monitor the training job status.
Why it fails: WaitStep is not a standard Azure ML pipeline component.
- B
Configure pipeline run settings with 'continue_on_step_failure' set to True for the logging step.
Setting continue_on_step_failure to True on the logging step lets the pipeline proceed past its failure, while downstream steps still depend on the training step's successful completion. This satisfies both constraints: gating on training success and tolerating non-critical logging failure.
- C
Set the 'PipelineParameter' to execute only on success.
Why it fails: PipelineParameters are for inputs, not flow control.
- D
Use an 'Estimator' class with 'allow_reuse' set to False.
Why it fails: Allow_reuse is for caching, not error handling.