Microsoft Azure AI Cloud Developer Associate (AI-200) practice test
Built for exam AI-200, the exam for the Microsoft Certified: Azure AI Cloud Developer Associate certification that replaced AZ-204 in 2026, from the skills Microsoft lists in its study guide: containers on Azure Container Registry, App Service, Container Apps and AKS; Azure Cosmos DB, Azure Database for PostgreSQL and Azure Managed Redis, including vector search and retrieval-augmented generation; Service Bus, Event Grid and Azure Functions; and Key Vault, App Configuration, OpenTelemetry and KQL. Code in the questions is Python, the exam's language. Every question is original, with an explanation of why the right answer is right.
Try the free sample Buy the full set, $12 once
The free sample is 10 questions, graded, with no sign-up. Or get All-access for $9/month: every test on the site. An account keeps your progress on every device.
What the full set includes
- 110 original questions, with an explanation for every answer
- 2 timed practice exams of 50 questions in 100 minutes, the time the real exam allows
- Each exam weighted inside the published ranges: 11 containers, 14 data services and vector search, 13 messaging and Functions, 12 security and monitoring
- Each exam has 5 multiple-response questions (choose two of five); the rest have one right answer
- The real exam can also include case studies, drag and drop and other interactive items, which this set does not imitate
- Graded against a 70 percent practice line; the real exam is scored from 1 to 1,000 with 700 to pass, which is not a straight percentage
- 8 extra drill questions on a numbered drawing of retrieval-augmented generation: name the part
- Study mode (instant feedback) and exam mode (timer, graded at the end)
- Drill by any of the 9 skill groups or only your weak spots; weak spots tracked across every attempt
Topics covered
- 1.1 Container application hosting
- 1.2 Container-orchestrated solutions
- 2.1 Azure Cosmos DB for NoSQL
- 2.2 Azure Database for PostgreSQL
- 2.3 Azure Managed Redis
- 3.1 Event- and message-based solutions
- 3.2 Azure Functions
- 4.1 Secure Azure solutions
- 4.2 Monitor and troubleshoot
Sample questions
Question 1
A build agent has no Docker engine installed. A developer needs to build an image from a Dockerfile in the current folder and store it in an Azure Container Registry in one step. Which command does this?
- az acr login
- az acr build
- az acr repository update
- az acr import
Show the answer
B. az acr build. az acr build is an ACR Tasks quick task: it sends the build context to Azure, builds the image there and pushes it to the registry, so no local Docker engine is needed. az acr import copies an existing image from another registry, and az acr login only authenticates a local Docker client.
Question 2
A container app runs in single revision mode. Which change causes Azure Container Apps to create a new revision?
- Changing the value of an existing secret
- Adding a custom domain name
- Changing the container image in the template
- Changing the ingress traffic weights
Show the answer
C. Changing the container image in the template. A new revision is created by a revision-scope change, which is a change to the template: containers, images, environment variables, or scale rules. Secrets, ingress settings and custom domains are application-scope settings and do not create a revision.
Question 3
A Python service connects to Azure Cosmos DB for NoSQL with CosmosClient and DefaultAzureCredential. Its managed identity has the Contributor role on the account, yet every read fails with a forbidden error. What is missing?
- A firewall rule on the account that allows requests from the Azure portal's addresses
- The Owner role on the resource group
- A Cosmos DB data plane role, such as Cosmos DB Built-in Data Contributor
- The account's primary key in an environment variable
Show the answer
C. A Cosmos DB data plane role, such as Cosmos DB Built-in Data Contributor. Azure roles such as Contributor manage the account but grant no access to its data. Reading and writing items with Microsoft Entra ID needs a Cosmos DB data plane role assignment, such as Cosmos DB Built-in Data Contributor or Data Reader.
Not affiliated with or endorsed by Microsoft. Microsoft and Azure are trademarks of the Microsoft group of companies. The questions here are original practice material and are not the official exam, a Microsoft Practice Assessment or any Microsoft product.