Courseiva
mediumMultiple ChoiceObjective-mapped

MLA-C01 Practice Question: A team uses AWS Auto Scaling for a SageMaker…

A team uses AWS Auto Scaling for a SageMaker real-time endpoint. They notice that when scaling in, the latest instance is always terminated first, causing disruption to recent requests. How can they configure the scaling policy to terminate the oldest instance first?

⚠ Common exam trap

Test-takers frequently assume the default termination policy is 'OldestInstance' or that lifecycle hooks can influence instance selection, when in fact the default is 'NewestInstance' and lifecycle hooks only add a delay, not a selection rule.

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

Configure the termination policy as 'OldestInstance'

AWS Auto Scaling for SageMaker endpoints supports a termination policy of 'OldestInstance', which explicitly instructs the scaling process to terminate the instance that has been running the longest. By default, Auto Scaling terminates the newest instance (the default termination policy), which can disrupt recent requests. Configuring the termination policy to 'OldestInstance' ensures that the oldest, most stable instance is removed first, minimizing disruption to in-flight requests.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Configure the termination policy as 'OldestInstance'

    Why this is correct

    You can set the termination policy to 'OldestInstance' in the scaling policy configuration.

  • No action needed; this is the default behavior

    Why it's wrong here

    The default termination policy may not be 'OldestInstance'; it can vary.

  • Use lifecycle hooks

    Why it's wrong here

    Lifecycle hooks are for EC2 Auto Scaling, not for SageMaker endpoints.

  • Use AWS CloudFormation to manage the endpoint

    Why it's wrong here

    CloudFormation does not control termination order.

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 →

How Courseiva writes practice questions · Editorial policy

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.