Deployment and Orchestration of ML and AI Workflows

An externally built model container serves predictions on port 5000 at /predict, but SageMaker AI endpoint deployment fails health checks. Its dependencies load successfully; which change makes the container compatible with SageMaker AI hosting?

Show the answer

Correct answerB. Listen on port 8080 and implement /ping and /invocations.

AWhy not this: Model registration does not adapt an image's HTTP interface to the SageMaker AI hosting contract.

BWhy this is right: These settings satisfy the required port, health-check route, and inference route for SageMaker AI hosting.

CWhy not this: The correct port alone is insufficient; SageMaker AI also requires health-check and inference routes.

DWhy not this: A longer timeout does not fix a server listening on the wrong port or missing the required health-check route.

A SageMaker AI inference container must satisfy the hosting interface, including listening on port 8080 and handling /ping and /invocations. Increasing the health-check timeout cannot correct an incompatible port or missing routes.