AAIA AI Operations Practice Question
When setting up a containerized deployment of an AI model using Docker, what is the primary purpose of a 'multi-stage build'?
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
✓
To reduce the final image size and attack surface
Multi-stage builds allow for the creation of smaller, more secure images by separating build-time dependencies from the runtime environment.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
To run multiple versions of the model simultaneously
Why it's wrong here
This is a scaling or routing concern, not a build concern.
- ✗
To train the model during the container startup
Why it's wrong here
Training should not occur during container startup in production deployment.
- ✗
To automatically scale the deployment based on traffic
Why it's wrong here
Scaling is handled by orchestrators like Kubernetes, not the Dockerfile build process.
- ✓
To reduce the final image size and attack surface
Why this is correct
By excluding build tools from the final image, the image is smaller and more secure.
About these practice questions
Courseiva writes every AAIA question from scratch — 209 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 →
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 ISACA exam blueprint
This AAIA practice question is part of Courseiva's free ISACA 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 AAIA exam.