An engineer uses Boto3 to update a SageMaker AI endpoint without changing its URL. The release must expose only a small traffic fraction initially, retain the old fleet during validation, and automatically roll back on CloudWatch alarms; which approach meets these requirements?
Show the answer
Correct answerD. Call UpdateEndpoint with blue/green canary routing, a termination wait, and automatic rollback alarms.
AWhy not this: Rolling deployment replaces the old fleet incrementally rather than retaining it throughout validation.
BWhy not this: UpdateEndpointWeightsAndCapacities changes variant allocation but does not accept automatic rollback alarm configuration.
CWhy not this: A separate endpoint has a different URL and does not provide the required managed traffic shift on the original endpoint.
DWhy this is right: Blue/green canary routing, termination waiting, and rollback alarms meet the traffic, retention, and recovery requirements.
Blue/green canary deployment shifts a small traffic fraction to the new fleet, retains the old fleet during the configured wait, and supports alarm-based rollback. Rolling deployment replaces capacity in batches rather than retaining the complete old fleet.