In SageMaker Pipelines, you need to ensure that data preprocessing artifacts used during training are exactly the ones stored during the preprocessing step, even across repeated executions with different inputs. What is the most correct approach?

Answer

Pass preprocessing outputs as explicit pipeline step outputs/inputs (data/ModelArtifacts) and reference them by step properties so downstream steps consume the same artifacts.

Explanation

Explicit artifact wiring ensures the same preprocessing artifacts produced in an earlier pipeline step are consumed by later steps, preventing accidental drift.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list