MLS-C01 Practice Question: Machine Learning Implementation and Operations
A company's ML pipeline uses AWS Step Functions to orchestrate data preprocessing, training, and evaluation. The training step occasionally fails due to a transient error. What is the most robust way to handle this without manual intervention?
⚠ Common exam trap
The trap here is that candidates often over-engineer solutions (like custom Lambda functions) or choose monitoring-only options, missing the fact that Step Functions has a built-in, declarative retry mechanism that is the simplest and most robust approach for transient failures.
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
✓
Implement a retry policy with exponential backoff on the training step in the state machine
AWS Step Functions natively supports retry policies with exponential backoff, which automatically retries failed tasks after a delay that increases progressively. This handles transient errors (e.g., resource contention, network glitches) without manual intervention, making the pipeline robust and self-healing.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Implement a retry policy with exponential backoff on the training step in the state machine
Why this is correct
Step Functions supports retry policies for transient errors.
- ✗
Configure a CloudWatch alarm to notify the team when the step fails
Why it's wrong here
Only notifies, does not automatically retry.
- ✗
Use a parallel state to run multiple training instances simultaneously
Why it's wrong here
Does not handle failures; wastes resources.
- ✗
Use a custom Lambda function to catch the error and restart the training step
Why it's wrong here
Not built-in; requires additional code.
Go deeper
Related to this question
About these practice questions
This MLS-C01 question is part of Courseiva's 1,672-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This MLS-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 MLS-C01 exam.