Microsoft AI-200 Practice Exam Questions & Answers
Microsoft AI-200 Exam Details
Key details for this exam, checked against the published exam outline
- Exam Code
- AI-200
- Full Name
- Developing AI Cloud Solutions on Azure
- Issuing Body
- Microsoft
- Question Format (Our Bank)
- Multiple Choice, Hotspot, Drag & Drop, Order List, Case Studies
- Delivery
- Online proctored or at a Pearson VUE test centre
- Eligibility
- None, but Python, Azure SDKs, containerization, and back-end development experience is assumed
- Validity
- Valid for 12 months, renewable free via online assessment
- Full Question Set
- 171 questions Get All Questions
Free AI-200 Practice Questions
Each question shows the correct answer and an explanation of why it is right
Question 1 Domain 4 Secure, monitor, and troubleshoot Azure solutions
A company is developing a solution that allows smart refrigerators to send temperature information to a central location.
The solution must receive and store messages until they can be processed. You create an Azure Service Bus instance by providing a name, pricing tier, subscription, resource group, and location.
You need to complete the configuration.
Which Azure CLI or PowerShell command should you run?
After creating the basic Service Bus instance with name, pricing tier, subscription, resource group, and location through the Azure Portal or initial setup, the next step to complete configuration is to create a namespace using 'az servicebus namespace create' (or the equivalent PowerShell command 'New-AzServiceBusNamespace'). The Service Bus instance requires a namespace, which is the container for all messaging entities like queues and topics. The 'az servicebus namespace create' command allows you to programmatically create the namespace with the necessary parameters (name, resource group, location, pricing tier/SKU), completing the configuration needed for the smart refrigerators to send temperature messages to the Service Bus.
Question 2 Domain 4 Secure, monitor, and troubleshoot Azure solutions
An AI application retrieves configuration values from App Configuration. The application uses static configuration.
You need to implement a solution that supports dynamic configuration updates and minimizes latency for application requests.
What should you do?
Use the Azure App Configuration provider's caching and dynamic refresh mechanism with a configured refresh interval. The application loads configuration into a local cache and periodically checks App Configuration for changes. When a registered key changes, the provider refreshes the cached configuration without requiring an application restart. Microsoft documents SetRefreshInterval and equivalent provider settings as the mechanism for controlling the minimum time between configuration-refresh checks.
This approach satisfies both requirements. The configuration is dynamic because updated values can be detected and reloaded at runtime, while request latency remains low because normal application requests read configuration from the local cached copy instead of making a remote App Configuration request every time. For request-driven refresh, Microsoft notes that refresh occurs asynchronously and does not block the incoming request. Before the configured refresh interval expires, additional refresh calls effectively perform no remote operation.
Microsoft also recommends caching App Configuration values instead of loading them whenever they are used, both to reduce latency and to avoid excessive service requests, throttling, and unnecessary charges.
Environment variables remain static unless the application is restarted or redeployed. Retrieving configuration on every request increases latency and service load. Key Vault is primarily intended for secrets, not general dynamic application configuration.
Study Guide references: Azure App Configuration; dynamic configuration refresh; provider caching; refresh intervals; request-driven refresh; configuration resiliency.
Question 3 Domain 2 Develop AI solutions by using Azure data management services
You are developing an AI-powered API that retrieves connection strings and API keys from Azure Key Vault.
You must configure a solution that provides the following security functionality:
* The API must authenticate to Key Vault without storing credentials in any application configuration files
* The identity used by the API must have only the minimum permissions necessary to read secrets.
* The configuration must minimize the blast radius if an identity or credential is compromised.
You need to implement a secure access strategy for the API.
Which two actions should you perform? Each correct answer presents part of the solution. Choose two.
NOTE: Each correct selection is worth one point.
Detailed The API should use a system-assigned managed identity so no application credential is stored or rotated by the development team. That identity should receive only the permission needed to read secret values: Key Vault Secrets User at the vault scope is materially narrower than Key Vault Administrator at subscription scope. Storing a secret value in App Configuration would violate the requirement to protect secrets and increases exposure. The corrected pair therefore implements both credential-free authentication and least-privilege authorization with a limited blast radius.
Study Guide Alignment: Security and operations: Key Vault, App Configuration, managed identity, OpenTelemetry, Azure Monitor, and KQL-based troubleshooting.
Get the complete AI-200 question set
$20$40
Question 4 Domain 2 Develop AI solutions by using Azure data management services
You need to deploy Azure function resources and apps by using an automated, version-controlled CI/CD pipeline that supports declarative infrastructure deployment. What should you use?
Detailed GitHub Actions is the correct orchestration mechanism among the options because the case requires an automated, version-controlled pipeline and Bicep-based declarative deployment. Microsoft documents GitHub Actions as a supported way to deploy Bicep and automate Azure resource deployment. Local Git, Azure Functions Core Tools, and Azure CLI can participate in development or scripted deployment, but they do not by themselves satisfy the stated requirement for a repository-driven, repeatable CI/CD pipeline.
Study Guide Alignment: Security and operations: Key Vault, App Configuration, managed identity, OpenTelemetry, Azure Monitor, and KQL-based troubleshooting.
Question 5 Domain 2 Develop AI solutions by using Azure data management services
You need to ensure that responses from your Azure OpenAI application include citations back to the specific source documents used, to support user trust and verification.
What should you implement?
A retrieval-augmented generation (RAG) architecture is the correct mechanism when generated answers must be traceable to specific source documents. RAG first retrieves relevant document chunks from a search index or other knowledge source, supplies those chunks to the language model as grounding context, and then generates an answer based on that retrieved information. Microsoft specifically documents that RAG enables responses containing citations back to source content.
For reliable citation generation, each retrieved chunk should carry identifying metadata such as a source identifier, document title, section, page, or URL. Microsoft's Azure RAG guidance recommends labeling retrieved chunks and including source metadata with them, then explicitly instructing the model to cite the corresponding sources in its response. This allows users to verify individual claims against the underlying documents.
Modern Azure AI Search agentic retrieval can also return structured references and grounding metadata, specifically designed for citation linking.
Increasing top_p only alters token sampling. Content filtering addresses safety, not provenance. Using a base model without retrieval provides no authoritative document linkage.
Study Guide references: RAG architecture; grounding data; retrieval metadata; Azure AI Search references; prompt engineering for citations.
Question 6 Domain 3 Connect to and consume Azure services
You are designing an Azure Database for PostgreSQL table for semantic search. Queries frequently filter on the created_at column. The schema must support vector similarity search and reliable date filtering You need to ensure that the table meets the requirements.
Which two actions should you perform? Each correct answer presents part of the solution. Choose two NOTE: Each correct selection is worth one point.
Detailed A semantic-search schema should use the pgvector vector type for embeddings so PostgreSQL can apply vector distance operators and vector indexes. The creation timestamp should use an actual timestamp data type so comparisons, range predicates, ordering, and indexes use date semantics rather than string ordering. Storing vectors or dates as free-form character data would sacrifice type validation and make similarity or date filtering less efficient and less reliable.
Study Guide Alignment: AI data-management workloads: Cosmos DB, PostgreSQL, caching, vector storage, vector retrieval, consistency, and connection optimization.
Question 7 Domain 1 Develop containerized solutions on Azure
You deploy an AI application across multiple Azure regions.
The application must be able to view writes across all regions within a predictable time window.
You need to determine the appropriate consistency level.
What are two consistency levels you can use to achieve the goal? Each correct answer presents a complete solution. Choose two.
NOTE: Each correct selection is worth one point.
To ensure the application can view writes across all regions within a predictable time window, you can use two consistency levels:
1. Bounded staleness consistency: Guarantees that reads lag behind writes by a bounded amount (either by time interval or number of operations). You specify the maximum staleness window (e.g., 5 seconds or 100 operations), ensuring all regions converge within that predictable window.
2. Strong consistency: Provides the strictest consistency guarantee where all replicas across all regions are synchronized before acknowledging writes. Reads always see the most recent write, with a predictable (instantaneous) view across regions.
Both provide predictable time windows for viewing writes across regions. Eventual consistency would not meet the requirement as it provides no predictable bounds. Session and prefix consistency are weaker options that don't guarantee global consistency within a predictable window.
What the Microsoft AI-200 Exam Covers
Exam domains verified against the Official Microsoft AI-200 exam guide, last checked November 2026.
Domain 1 Develop containerized solutions on Azure
20% - 25%Build and manage container images through Azure Container Registry, deploy containers to App Service and Container Apps with proper environment and secret configuration. Orchestrate containerized workloads on Azure Kubernetes Service and Container Apps with event-driven scaling using KEDA, then monitor and troubleshoot using logs, events, and end-to-end connectivity checks.
Sample question from this domain above Q7
Domain 2 Develop AI solutions by using Azure data management services
25% - 30%Connect to and query Azure Cosmos DB for NoSQL and Azure Database for PostgreSQL using SDKs, optimize performance through indexing and consistency policies. Implement vector similarity search and RAG patterns for semantic retrieval across Cosmos DB and pgvector, configure compute resources for vector workloads, and use Azure Managed Redis for caching and vector indexing.
Domain 3 Connect to and consume Azure services
20% - 25%Queue and process back-end operations using Azure Service Bus with dead-letter queue handling, topics, and subscriptions. Build serverless APIs with Azure Functions by implementing triggers and bindings, deploy function apps, and implement event-driven workflows using Azure Event Grid with filters, custom events, and retry logic.
Sample question from this domain above Q6
Domain 4 Secure, monitor, and troubleshoot Azure solutions
20% - 25%Secure secrets using Azure Key Vault including rotation and retrieval with managed identity patterns. Store and retrieve app configuration using Azure App Configuration, trace distributed systems using OpenTelemetry SDKs, and write KQL queries to analyze logs and metrics from Log Analytics and Application Insights.
AI-200 Exam FAQ
Common questions about the exam itself
How hard is the AI-200 exam and what makes it challenging?
What background do I need before taking AI-200?
Which objective area is hardest and how should I prepare for it?
How long should I spend preparing for AI-200?
What does the exam day look like for AI-200?
What are the retake and rescheduling rules for AI-200?
How long is the AI-200 certification valid and what does renewal require?
What job role does AI-200 map to?
How does AI-200 relate to other Azure certifications?
Can I take AI-200 at a reduced price or as a beta exam?
Other Microsoft Exams
Free practice questions for more Microsoft certification exams
