Deployment and Orchestration of ML and AI Workflows

An engineer has an inference image in Amazon ECR and model artifacts in Amazon S3, but no SageMaker AI hosting resources. Which Boto3 operation sequence provisions a real-time endpoint?

Show the answer

Correct answerC. create_model → create_endpoint_config → create_endpoint

AWhy not this: An endpoint requires an existing endpoint configuration, so endpoint creation cannot precede configuration creation.

BWhy not this: An endpoint configuration referencing the new model cannot be created before that model exists.

CWhy this is right: The model must exist before its endpoint configuration, which must exist before endpoint creation.

DWhy not this: Registering a model package does not create the hosting model resource referenced by a production variant.

Create the model to associate the image, artifacts, and execution role; create an endpoint configuration referencing that model; then create the endpoint using that configuration. A model package registers a deployable model specification but does not replace the hosting model resource.