Deployment and Orchestration of ML and AI Workflows

A SageMaker AI model has VpcConfig, but an application in a private subnet without internet egress cannot invoke its real-time endpoint. IAM permissions are correct; which change provides private invocation without adding internet access?

Show the answer

Correct answerC. Create a SageMaker Runtime interface endpoint with private DNS and allow application HTTPS traffic.

AWhy not this: VpcConfig connects model containers to VPC resources; it does not expose the invocation API in application subnets.

BWhy not this: An S3 gateway endpoint provides access to S3, not the SageMaker Runtime invocation API.

CWhy this is right: The Runtime interface endpoint privately carries invocation requests; private DNS and HTTPS access enable clients to use it.

DWhy not this: The SageMaker API endpoint serves control-plane operations, not real-time inference invocation.

A SageMaker Runtime interface VPC endpoint provides private access to inference calls such as InvokeEndpoint. The model's VpcConfig controls the container's access to VPC resources; it does not provide the application's private invocation path.