Courseiva

MLA-C01 Deployment and Orchestration of ML Workflows Practice Question

A company is deploying a large NLP model on SageMaker for real-time inference. They want to reduce inference latency and cost by optimizing the model for the target hardware. The model is trained in PyTorch. Which SageMaker feature should they use to compile the model for best performance on the chosen instance?

⚠ Common exam trap

Watch out — candidates often confuse model compilation (Neo) with inference serving (Triton) or hardware acceleration (Elastic Inference), leading them to pick a service that addresses a different part of the inference pipeline.

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

✓

SageMaker Neo

SageMaker Neo is the correct choice because it is specifically designed to compile trained models (including PyTorch models) into an optimized binary for a target hardware instance, reducing inference latency and improving throughput. Neo applies hardware-specific optimizations such as operator fusion, memory layout tuning, and quantization, which directly address the need for best performance on the chosen SageMaker instance.

Answer analysis

Option-by-option breakdown

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

  • ✓

    SageMaker Neo

    Why this is correct

    SageMaker Neo compiles PyTorch models into optimised executables tuned to the target instance's specific processor architecture, cutting inference latency and cost. It satisfies the stem's requirement to compile the trained model for best performance on the chosen hardware, unlike generic deployment or autoscaling features that leave the model graph unoptimised.

  • ✗

    AWS Step Functions

    Why it's wrong here

    Step Functions orchestrates workflows between AWS services; it does not compile models or optimise inference kernels. It is tempting because it coordinates SageMaker pipelines, but orchestration is unrelated to compiling PyTorch for a chosen instance.

  • ✗

    Amazon Elastic Inference

    Why it's wrong here

    Elastic Inference attaches fractional GPU acceleration to CPU instances; it does not compile a PyTorch model for target hardware. It is tempting because it reduces inference cost, but SageMaker Neo performs the compilation the stem requires.

  • ✗

    SageMaker Triton Inference Server

    Why it's wrong here

    SageMaker Triton Inference Server hosts models from multiple frameworks but does not compile PyTorch graphs for target hardware, so it cannot deliver the instance-specific latency gains requested. It is tempting because Triton optimises concurrent multi-model serving; it would be correct when deploying several frameworks behind one endpoint rather than compiling a single PyTorch model.

About these practice questions

One of 665 original MLA-C01 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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.