Courseiva
easyMultiple ChoiceObjective-mapped

MLA-C01 Practice Question: A team wants to apply a custom container for…

A team wants to apply a custom container for inference on SageMaker. The container needs to implement a web server that responds to API requests. Which protocol and port must the container listen on to be compatible with SageMaker hosting?

⚠ Common exam trap

Test-takers frequently assume SageMaker requires HTTPS for security, but the service actually handles encryption externally, so the container must use plain HTTP on port 8080.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

The container must listen on port 8080 and use HTTP protocol.

SageMaker requires custom inference containers to listen on port 8080 and communicate over HTTP (not HTTPS). The SageMaker hosting service uses a proxy that terminates HTTPS and forwards plain HTTP requests to the container on port 8080. This ensures compatibility with the built-in model serving infrastructure.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • The container must listen on port 8080 and use HTTPS protocol.

    Why it's wrong here

    SageMaker uses HTTP, not HTTPS for internal communication.

  • The container must listen on port 8080 and use HTTP protocol.

    Why this is correct

    SageMaker expects HTTP on port 8080 for /invocations and /ping.

  • The container can listen on any port as long as the port is specified in the endpoint configuration.

    Why it's wrong here

    SageMaker only supports port 8080 for inference containers.

  • The container must listen on port 8000 and use HTTP protocol.

    Why it's wrong here

    SageMaker uses port 8080 by default.

About these practice questions

This MLA-C01 question is part of Courseiva's 835-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This MLA-C01 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the MLA-C01 exam.