AI-200 Containerized AI Workloads Practice Question
You need to deploy a set of batch AI processing containers in Azure Container Instances that run to completion and then terminate. Which container group restart policy should you select?
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
✓
Never
For batch jobs that run to completion and stop, the restart policy should be set to Never or OnFailure.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Always
Why it's wrong here
Always policy restarts the container indefinitely upon exit, which is incorrect for one-off batch jobs.
- ✓
Never
Why this is correct
Setting restart policy to Never ensures the container does not restart after completing its task.
- ✗
UnlessStopped
Why it's wrong here
UnlessStopped is a Docker daemon concept, not an ACI restart policy option.
- ✗
OnFailure
Why it's wrong here
OnFailure restarts only if the exit code is non-zero, but for strict batch jobs that shouldn't loop, Never is preferred or OnFailure if error retries are wanted. Never is standard for batch completion.
About these practice questions
This AI-200 question is part of Courseiva's 507-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam 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 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.