Two-step SageMaker endpoint rollout with automatic rollback

MLA-C02 Deployment and Orchestration of ML and AI Workflows Medium Question 18 of 30

A machine learning engineer is updating the model behind an Amazon SageMaker AI real-time endpoint in production. The deployment strategy must route traffic to the new model fleet in exactly two steps: an initial small portion first, followed by the remaining traffic after a specified baking period. If an Amazon CloudWatch alarm triggers during the deployment, the endpoint must automatically roll back traffic to the previous model fleet.

Which deployment guardrails strategy will meet these requirements?

Show answer and explanation

DCanary traffic shifting configured with Amazon CloudWatch alarms and a baking period

Canary traffic shifting meets the requirements because it routes a small percentage of traffic to the green fleet for a designated baking period, monitors Amazon CloudWatch alarms for automated rollback, and then shifts all remaining traffic in a second step once the baking period succeeds. All-at-once traffic shifting is incorrect because it shifts 100 percent of traffic to the new fleet simultaneously in a single step. Rolling deployment is incorrect because it updates instances and shifts capacity incrementally in equal batch sizes across multiple steps rather than routing an initial small percentage followed by the remaining balance. Linear traffic shifting is incorrect because it divides traffic shifting into multiple linearly spaced increments across several steps.

Source: docs.aws.amazon.com/sagemaker/latest/dg/deployment-guardrai…

Anonymous, no account needed. Your tally stays in this browser.

Next question Start 5 timed questions Browse all 30 original MLA-C02 practice questions