AWS Machine Learning Specialty (MLS-C01) · 20% practice allocation

AWS MLS-C01: Machine Learning Implementation and Operations Practice Questions

5 free sample questions from the Machine Learning Implementation and Operations domain, with answers and explanations. The full MLS-C01 bank has 212 questions across 4 domains. Questions are scenario-based and written from the official AWS exam guide.

1.

A machine learning engineer has trained a SageMaker model that processes large video files for content moderation. Each inference request takes approximately 8 minutes to complete, and the client application does not need to wait for an immediate response. The solution must handle thousands of requests per day and minimize infrastructure costs. Which SageMaker inference option BEST meets these requirements?

  • A. Serverless inference endpoint
  • B. Batch transform job
  • C. Real-time inference endpoint with auto scaling
  • D. Asynchronous inference endpoint✓ Correct
Explanation

Asynchronous inference is correct because it is specifically designed for requests with large payloads or long processing times (up to 15 minutes), queues requests, and scales down to zero instances when idle, minimizing costs. Real-time inference is wrong because it has a 60-second timeout and is designed for low-latency, synchronous responses — an 8-minute job would time out. Serverless inference is wrong because it also enforces a short invocation timeout (up to 60 seconds) and is suited for sporadic, lightweight workloads. Batch transform is wrong because while it handles large-scale processing, it is designed for offline bulk inference on an entire dataset at once, not for individual requests arriving throughout the day.

2.

A data science team has deployed a SageMaker real-time endpoint, but the endpoint's CPU utilization frequently hits 90%+ and latency is increasing. A review shows the chosen instance type has far more memory than needed but insufficient compute. The team wants to right-size the endpoint without conducting a full load test manually. Which AWS tool should they use?

  • A. SageMaker Model Monitor with a model quality baseline
  • B. AWS Compute Optimizer for SageMaker
  • C. SageMaker Clarify for bias and performance analysis
  • D. SageMaker Inference Recommender✓ Correct
Explanation

SageMaker Inference Recommender is correct because it automatically benchmarks a model across multiple instance types, running load tests and measuring latency, throughput, and cost, then provides recommendations for the optimal instance type and configuration for a given performance/cost target — exactly what is needed for right-sizing. SageMaker Model Monitor is wrong because it monitors production data and model quality (drift, bias, accuracy) — it does not analyze infrastructure performance or recommend instance types. AWS Compute Optimizer for SageMaker is wrong because Compute Optimizer provides rightsizing recommendations for EC2, Lambda, and ECS, but does not natively support SageMaker endpoints — SageMaker Inference Recommender is the correct tool. SageMaker Clarify is wrong because it analyzes bias in data and models and computes feature attributions — it has no role in infrastructure performance analysis or instance type recommendation.

3.

A company runs a SageMaker endpoint that serves a product recommendation model. During peak shopping seasons, traffic can increase 10x within minutes. The team wants the endpoint to automatically scale based on the number of invocations per instance. Which auto scaling policy type should they configure, and which metric should they use as the scaling target?

  • A. Scheduled scaling policy targeting a fixed instance count
  • B. Step scaling policy targeting CPUUtilization
  • C. Target tracking policy targeting MemoryUtilization
  • D. Target tracking policy targeting InvocationsPerInstance✓ Correct
Explanation

Target tracking policy targeting InvocationsPerInstance is correct because SageMaker exposes InvocationsPerInstance as a CloudWatch metric specifically for auto scaling, and target tracking automatically adjusts capacity to keep the metric at a defined target value, which is the recommended approach for SageMaker endpoints. Step scaling policy targeting CPUUtilization is wrong because while step scaling is valid for some AWS services, SageMaker endpoint auto scaling best practice uses target tracking, and CPUUtilization is not a published SageMaker endpoint metric. Target tracking targeting MemoryUtilization is wrong because MemoryUtilization is not a built-in SageMaker endpoint CloudWatch metric and cannot be used directly for endpoint auto scaling without custom metrics. Scheduled scaling is wrong because it cannot react dynamically to sudden, unpredictable spikes — it only scales at predefined times, which is insufficient for unexpected traffic surges.

4.

A company wants to evaluate two versions of a recommendation model in production. They want 90% of traffic to go to the current champion model and 10% to the challenger model, while collecting metrics to compare performance. Which SageMaker feature enables this pattern?

  • A. Two separate endpoints with an Application Load Balancer for weighted routing
  • B. SageMaker multi-model endpoints with weighted routing
  • C. SageMaker production variants with variant weights✓ Correct
  • D. SageMaker Pipelines with a parallel step
Explanation

SageMaker production variants with variant weights is correct because a SageMaker endpoint can host multiple production variants, each pointing to a different model version, with configurable traffic weights (e.g., 90/10 split). SageMaker automatically routes requests according to those weights, and per-variant CloudWatch metrics enable performance comparison — this is the canonical A/B testing pattern in SageMaker. Multi-model endpoints with weighted routing is wrong because MME dynamically loads models but does not support traffic weighting between model variants; traffic routing to a specific model in an MME is determined by the TargetModel parameter in the request, not automatic weighted splitting. SageMaker Pipelines with a parallel step is wrong because Pipelines orchestrate training/processing workflows — they are not a mechanism for splitting live inference traffic. Two separate endpoints with an Application Load Balancer is wrong because ALB does not natively integrate with SageMaker endpoint invocation semantics, and this unnecessarily complicates what SageMaker handles natively through production variants.

5.

A financial services company needs to build an end-to-end ML pipeline that includes data preprocessing, model training, model evaluation, conditional model registration (only if evaluation metrics meet a threshold), and deployment. The pipeline must be reproducible, auditable, and integrated with the company's existing CI/CD tooling. Which AWS service is MOST appropriate for orchestrating this workflow?

  • A. Amazon SageMaker Pipelines✓ Correct
  • B. AWS Step Functions with Lambda
  • C. AWS Glue Workflows
  • D. Amazon Managed Workflows for Apache Airflow (MWAA)
Explanation

SageMaker Pipelines is correct because it is a purpose-built CI/CD service for ML workflows that natively integrates with SageMaker training, processing, evaluation, Model Registry, and deployment steps. It automatically tracks lineage, supports conditional steps, and is designed for reproducible, auditable ML pipelines with built-in SageMaker integration. AWS Glue Workflows is wrong because Glue Workflows orchestrate ETL jobs (Glue crawlers and jobs), not SageMaker training and evaluation steps, and lacks native ML pipeline primitives. Amazon MWAA is wrong because while Airflow can orchestrate ML workflows, it requires significant custom setup to integrate with SageMaker and does not provide native lineage tracking or Model Registry integration out of the box — SageMaker Pipelines is more appropriate for SageMaker-centric ML pipelines. AWS Step Functions is wrong because while it can orchestrate SageMaker jobs via the SageMaker SDK integration, it lacks the native ML-specific features of SageMaker Pipelines such as automatic experiment tracking, lineage, and direct Model Registry integration.

Test yourself across every MLS-C01 domain

The free MLS-C01 practice test mixes about 20 questions weighted like the exam. The full 212-question bank adds instant grading, flashcards and a timed mock exam.

Study this domain

Machine Learning Implementation and Operations study guide (MLS-C01) →

Other MLS-C01 domains

← All AWS Machine Learning Specialty study resources