Courseiva

AI0-001 AI Infrastructure and Technologies Practice Question

A developer wants to deploy a scikit-learn model as a REST API endpoint with minimal infrastructure management. Which cloud service is MOST appropriate?

⚠ Common exam trap

CompTIA often tests the misconception that serverless compute like AWS Lambda is the best choice for any API deployment, but the trap here is that Lambda's execution environment and constraints (timeout, payload size, cold starts) make it inappropriate for ML model inference, whereas SageMaker is purpose-built for this workload.

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

✓

Use AWS SageMaker to create a real-time endpoint

AWS SageMaker provides a fully managed service for deploying machine learning models as real-time endpoints with built-in scaling, monitoring, and automatic infrastructure management. It directly supports scikit-learn models via pre-built containers, eliminating the need for custom runtime setup or manual server configuration. This makes it the most appropriate choice for a developer seeking minimal infrastructure management.

Answer analysis

Option-by-option breakdown

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

  • ✗

    Use AWS Lambda with a custom runtime

    Why it's wrong here

    Lambda has time and memory limits; scikit-learn models may be too large and inference may exceed timeout.

  • ✗

    Deploy on an EC2 instance manually

    Why it's wrong here

    Manual deployment requires managing infrastructure, scaling, and monitoring, which is not minimal management.

  • ✓

    Use AWS SageMaker to create a real-time endpoint

    Why this is correct

    SageMaker offers managed inference endpoints with automatic scaling, reducing operational overhead.

  • ✗

    Use Amazon ECS with manual Docker setup

    Why it's wrong here

    ECS requires managing Docker images, clusters, and scaling, which is more overhead than SageMaker.

About these practice questions

Courseiva writes every AI0-001 question from scratch — 962 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or 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 AI0-001 practice question is part of Courseiva's free CompTIA 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 AI0-001 exam.