SageMaker Pipelines Caching: Avoid Re-running Steps When Data Hasn't Changed
A machine learning team uses SageMaker Pipelines to automate retraining. They want to avoid re-running data processing steps if the data has not changed since the last successful pipeline run. Which built-in feature should they enable?
Quick Answer
Avoiding redundant work in a pipeline that runs on a schedule, like nightly retraining, without manually building change-detection logic into every step is what SageMaker Pipelines' built-in caching feature is designed for: it computes a hash of each step's inputs, configuration, and code, and if that hash matches a previous successful run, it reuses the cached output instead of re-executing the step. For a data processing step specifically, that means if the underlying data and the step's configuration haven't changed since the last run, caching recognizes that nothing meaningful is different and skips straight to the previously produced result, saving both time and compute cost without the team needing to write any custom logic to detect whether the data changed. This is simpler and more reliable than manually tracking data checksums or timestamps outside the pipeline, since caching is a native setting enabled on the step itself, with SageMaker handling the comparison automatically behind the scenes. The general pattern to recognize is that whenever a question describes wanting to avoid re-running pipeline steps when nothing about their inputs has changed, especially phrased as an automatic, built-in capability rather than something the team has to implement themselves, pipeline caching is almost always the feature being tested.
⚠ Common exam trap
Test-takers frequently confuse lineage tracking (Option B) with caching, assuming that tracking data versions automatically prevents re-execution, when in fact lineage only records history without affecting pipeline execution behavior.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Pipeline caching
Pipeline caching is the correct choice because SageMaker Pipelines can cache the outputs of each step based on a hash of the step's input parameters, configuration, and code. If the hash matches a previous successful run, the cached output is reused, avoiding redundant execution of data processing steps when the underlying data hasn't changed.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Pipeline caching
Why this is correct
Caching reuses step outputs when inputs and configuration haven't changed, avoiding redundant processing.
- ✗
Model lineage tracking
Why it's wrong here
Lineage tracking records metadata but does not skip steps.
- ✗
Parameterized pipeline executions
Why it's wrong here
Parameters allow passing different values but do not automatically skip steps.
- ✗
Step parallelism
Why it's wrong here
Step parallelism runs steps concurrently, but does not skip unchanged steps.
Go deeper
Related to this question
About these practice questions
Courseiva writes every MLA-C01 question from scratch — 835 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
Same concept, more angles
2 more ways this is tested on MLA-C01
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. An ML team uses SageMaker Pipelines to automate model retraining. They want to skip redundant training steps when input data has not changed. Which feature should they enable?
hard- ✓ A.Pipeline caching
- B.Pipeline variable expressions
- C.Model registry approval
- D.Step parallelism
Why A: SageMaker Pipelines caching stores step outputs; if the step configuration and inputs are identical, the pipeline reuses the cached output, skipping execution.
Variation 2. A team uses SageMaker Pipelines to automate retraining. They want to skip the training step if the data has not changed since the last run. Which feature should they enable?
medium- A.Parameterized executions
- B.Lineage tracking
- ✓ C.Step caching
- D.Condition step with a custom check
Why C: Step caching in SageMaker Pipelines allows you to reuse the output from a previous execution of a step if its input data and configuration parameters have not changed. By enabling caching on the training step, the pipeline automatically skips re-executing that step when the data is identical, saving time and cost. This directly addresses the requirement to skip retraining when data has not changed.
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This MLA-C01 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the MLA-C01 exam.