AI-200 Containerized AI Workloads Practice Question
You are troubleshooting an AI inference container in Azure Container Apps that fails to start because it cannot pull the base image from Azure Container Registry. Authentication fails with an unauthorized error. What is the recommended way to grant the Container App access to ACR?
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
✓
Configure a system-assigned managed identity on the Container App and assign the AcrPull role on ACR
Enabling a managed identity on the Container App and granting it the AcrPull role on the Azure Container Registry is the secure, modern authentication approach.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Hardcode the admin username and password into environment variables
Why it's wrong here
Hardcoding credentials is a security anti-pattern and violates security best practices.
- ✓
Configure a system-assigned managed identity on the Container App and assign the AcrPull role on ACR
Why this is correct
Managed identities eliminate stored credentials and securely authenticate Container Apps to ACR.
- ✗
Expose the ACR endpoint publicly without authentication
Why it's wrong here
ACR requires authentication and does not support unauthenticated public pull without specific anonymous artifact configurations.
- ✗
Attach an Azure Storage Account SAS token to the container environment
Why it's wrong here
SAS tokens are for Azure Storage, not container registry image pulls.
About these practice questions
Courseiva writes every AI-200 question from scratch — 503 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 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.