Using Boto3, which sequence of SageMaker AI API calls deploys a trained model artifact in Amazon S3 to a new real-time endpoint?
Show the answer
Correct answerA. create_model, create_endpoint_config, create_endpoint
AWhy this is right: The model, then its endpoint configuration, then the endpoint is the order SageMaker AI requires for real-time hosting.
BWhy not this: create_endpoint needs an endpoint configuration, which this sequence never creates; invoke_endpoint sends inference requests rather than deploying.
CWhy not this: The model is already trained, and a transform job runs batch inference rather than creating hosting for an endpoint.
DWhy not this: An endpoint configuration must reference an existing model, and changing variant weights applies only to an endpoint that already exists.
create_model registers the container image and model artifact, create_endpoint_config names the model, instance type and count for a production variant, and create_endpoint provisions hosting from that configuration. create_endpoint cannot run without an endpoint configuration, and invoke_endpoint only sends requests to an endpoint that already exists.