A company wants to implement a retraining pipeline that automatically triggers when SageMaker Model Monitor detects data drift. The retraining job should use the latest approved pipeline version in SageMaker Pipelines. Which approach meets these requirements?
Model Monitor violations are captured as CloudWatch events; EventBridge can route those events to a Lambda function that starts the retraining pipeline.
Why this answer
Option D is correct because it uses an EventBridge rule to listen for SageMaker Model Monitor violation events (e.g., `aws.sagemaker.model-monitoring-violation`), which then triggers a Lambda function that starts the latest approved pipeline version in SageMaker Pipelines. This creates an automated, event-driven retraining pipeline without manual intervention or scheduled polling.
Exam trap
The trap here is that candidates may think SageMaker Model Monitor can directly invoke Lambda or update the model registry, but in reality, it only emits events to EventBridge, and the integration requires an intermediate Lambda function to orchestrate the pipeline execution.
How to eliminate wrong answers
Option A is wrong because a scheduled EventBridge rule runs the pipeline daily regardless of whether data drift has occurred, leading to unnecessary retraining and resource waste. Option B is wrong because SageMaker Model Monitor does not directly update the model registry or trigger a deployment; it only publishes violation events and metrics. Option C is wrong because SageMaker Model Monitor cannot directly invoke a Lambda function; it emits events to EventBridge, which can then trigger Lambda, but the direct invocation is not supported.