AI-200 practice question · Develop Containerized Solutions on Azure
A containerized AI service runs as several replicas spread across multiple nodes in an AKS cluster.
A containerized AI service runs as several replicas spread across multiple nodes in an AKS cluster. Every replica must read the same centrally stored set of model files, and the team doesn't want to bake a copy of the files into each container image. Which storage approach meets this requirement?
- AMount an Azure Files share as a persistent volume in each pod
- BMount an emptyDir volume in each pod to hold the model files
- CMount an Azure Disk persistent volume with ReadWriteOnce access
- DMount a configMap volume that holds the model files in each pod
Show the answer and explanation
Correct answer: A) Mount an Azure Files share as a persistent volume in each pod
Azure Files supports concurrent access from pods on multiple nodes, so it fits shared model storage. emptyDir only lasts as long as one pod, Azure Disk works with a single node only, and configMaps hold configuration data.
Why each option is right or wrong
- A) Correct. Azure Files mounts an SMB or NFS share that can be shared across multiple nodes and pods, so every replica can read the same model files wherever it is scheduled.
- B) Incorrect. An emptyDir volume is temporary space for a single pod, usually on the node's local disk. It is deleted when the pod is deleted and isn't shared between replicas, so each pod would need its own copy.
- C) Incorrect. An Azure Disk is mounted as ReadWriteOnce, so it is available to only one node. Replicas on other nodes can't mount it at the same time.
- D) Incorrect. A configMap injects key-value configuration properties into pods. It isn't meant to store large binary model files.
- Exam domain
- Develop Containerized Solutions on Azure · 22% of AI-200
- Question type
- Multiple choice (one answer)
Related AI-200 questions
- An AI service runs in Azure Container Apps and needs an Azure OpenAI API key at runtime.Develop Containerized Solutions on Azure
- A team runs an AI inference API in Azure Container Apps. Sometimes a replica's process stays up but stops responding to…Develop Containerized Solutions on Azure
- A team needs to give one Azure Container App a small, app-specific API key.Develop Containerized Solutions on Azure
- A developer has built an image named aiservice:v1 on their workstation. They want to catch startup or runtime errors…Develop Containerized Solutions on Azure
All 60 free AI-200 questions by domain · 15 sample questions on one page
Practise the full AI-200 exam
This question is one of a small free sample from the CertRidge AI-200 bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.
Original question written from the official exam guide. Not affiliated with Microsoft; never copied from the real exam.