MLA-C02 practice question: Training with SageMaker AI (2 of 3)
ML Model and Foundation Model (FM) Development A free question from our original MLA-C02 practice exam. Try it, then open the answer to see why each option is right or wrong.
An esports league trains a video highlight model every night on a GPU instance in SageMaker AI. The run takes about five hours, and the team wants to cut its training bill without losing more than a few minutes of progress when capacity is reclaimed.
The training script already saves a checkpoint every few minutes and can resume from the latest one. The model output must still land in the team's S3 bucket.
Which configuration meets these requirements?
Choose one answer.
AA. Use On-Demand instances for the job, and purchase a Compute Savings Plan that covers the account's Amazon EC2 usage.
BB. Enable managed Spot training without a checkpoint location, so that an interrupted job restarts from the first epoch.
CC. Enable managed Spot training, and configure a checkpoint location in S3 so that the job restores from its last checkpoint after an interruption.
DD. Halve the number of epochs to shorten each run, and keep the job on On-Demand capacity at the current instance size.
Show the answer and explanation
Answer: C
A. Wrong: Compute Savings Plans apply to Amazon EC2, AWS Fargate and AWS Lambda usage, not to SageMaker AI training instances, so the training bill would not fall. SageMaker AI has its own Savings Plans, and the option still pays On-Demand rates for the job.
B. Wrong: Without a checkpoint location, an interrupted job loses all its progress and must start over, which can cost more than Spot saves. The stem allows only a few minutes of lost progress.
D. Wrong: Fewer epochs may hurt model quality and do not reduce the instance cost. The stem asks to lower cost while keeping the training progress.
Explanation
Managed Spot training uses discounted spare capacity, and with a checkpoint location in S3 SageMaker AI restores the job from its latest checkpoint after an interruption. Compute Savings Plans do not cover SageMaker AI usage, and skipping checkpoints or cutting epochs does not meet the requirement.
Want more on Training with SageMaker AI? The 5 full-length practice sets have 8 more Training with SageMaker AI questions, 325 in all, none of them in the free exam. One payment of $14.99, no subscription. See the practice sets →