Courseiva
Containerized AI WorkloadseasyMultiple ChoiceObjective-mapped

AI-200 Containerized AI Workloads Practice Question

You are building an AI container image and need to minimize its final size to speed up deployment times. Which multi-stage build practice should you follow?

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 a builder stage for compilation and copy only runtime artifacts into a slim base image

Multi-stage builds allow you to use a heavy builder image with SDKs and compilers, then copy only the compiled artifacts and runtime binaries into a slim final base image.

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 a builder stage for compilation and copy only runtime artifacts into a slim base image

    Why this is correct

    Multi-stage builds discard build tools and dependencies from the final production image, reducing size.

  • Store model weights directly inside the container image layers

    Why it's wrong here

    Embedding large model weights bloats container images and makes registry pushes inefficient.

  • Install all development tools and pip packages in a single RUN instruction

    Why it's wrong here

    Putting everything in one RUN instruction does not remove cache or build dependencies from layers.

  • Disable container image compression when pushing to ACR

    Why it's wrong here

    Disabling compression increases transfer times and storage consumption.

About these practice questions

One of 503 original AI-200 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 and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed August 2026 · checked against the official Microsoft exam blueprint

This AI-200 practice question is part of Courseiva's free Microsoft 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 AI-200 exam.