Microsoft AI-200 Practice Exam Questions & Answers

6 Free Questions · Last reviewed: September 23, 2026 · Prepared & Reviewed by the ValidExamDumps Editorial Team

Exam Facts

Microsoft AI-200 Exam Details

Key details for this exam, checked against the published exam outline

67 Practice Questions (Our Bank)
120 minutes Exam Duration
700 out of 1000 Passing Score
USD 165 Official Exam Fee (United States)
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
Practice Questions

Free AI-200 Practice Questions

Each question shows the correct answer and an explanation of why it is right

VA
ValidExamDumps Editorial Team Every question and its answer is checked by our AI-200 exam preparation team, who also write the explanation shown with each one. How we research and review these pages

You deploy a production Azure Function app that connects to an Azure SQL Database.

The solution must provide the follow ng functionality:

* Prevent secrets from being exposed in source control.

* Support secret rotation without redeploying the function app.

* Avoid downtime during credential updates.

You need to configure secure and maintainable secret management. What should you configure?

Correct Answer: A
Explanation

To implement secure and maintainable secret management for Azure Function apps:

  1. Configure Azure Key Vault for secret storage and rotation - Store database connection strings and credentials in Key Vault instead of configuration files or code. Enable automatic key rotation policies to support credential rotation without redeployment. Key Vault keeps secrets out of source control and enables secure, auditable secret management
  2. Use Managed Identity for authentication - Configure the Function app with a system-assigned or user-assigned Managed Identity. The Function app uses this identity to authenticate to Key Vault, eliminating the need to store authentication credentials. Grant the identity appropriate RBAC permissions to read secrets from Key Vault

This approach ensures secrets are never exposed in source control, rotation happens without redeployment, and there's no downtime during credential updates since the Function app fetches updated values from Key Vault at runtime.

You are developing an Al-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 tie API must have only the minimum permissions necessary to lead secrets.

* The configuration must minimize the blast radius if an identity or credent al 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.

Correct Answer: A, D
Explanation

To implement secure access to Azure Key Vault for the API:

  1. Use Managed Identity for authentication - Managed Identity (system-assigned or user-assigned) eliminates the need to store credentials in configuration files. The identity is managed by Azure and credentials are issued automatically
  2. Create identities with minimal permissions - Use role-based access control (RBAC) to grant only the specific permission needed: 'Get' access to secrets. This minimizes blast radius if the identity is compromised

This combination ensures the API authenticates without stored credentials, operates with least-privilege access, and limits exposure in case of compromise. Avoid using connection strings or shared keys stored in configuration.

You are creating a hazard notification system that has a single signaling server which triggers 3udio and visual alarms to start and stop.

You implement Azure Service Bus to publish alarms, each alarm controller uses Azure Service Bus to receive alarm signals as part of a transaction Alarm events must be recorded for audit purposes Each transaction record must include information about the alarm type that was activated.

You need to implement a reply trail auditing solution

Which two actions should you perform? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

Correct Answer: A, F
Explanation

To implement a reply trail auditing solution for hazard notification system:

  1. Publish messages to Service Bus topic with custom properties - Use a topic instead of queue to enable multiple subscriptions. Include alarm type and transaction information as message properties or in the message body. This ensures each alarm event contains necessary audit information
  2. Use Service Bus subscriptions with audit message handlers - Create a dedicated audit subscription that processes messages independently. The audit handler records each message including alarm type and transaction details to an audit log or database. This separates audit concerns from alarm control logic

The topic-subscription pattern with dedicated audit handlers provides a clean audit trail. Each alarm event is captured with its type, and the transaction record is created separately, satisfying audit requirements without impacting alarm processing logic.

You need to configure a connection string for the partner-facing service according to the technical requirements.

What should you use?

Correct Answer: A
Explanation

The question mentions configuring a connection string for a 'partner-facing service' but does not provide the available options or context about what type of service this is.

Generally, connection strings for partner-facing services could use:

  • Azure Key Vault for secrets management
  • Azure App Configuration for configuration management
  • Connection string directly in environment variables (less secure)
  • Managed Identity authentication (passwordless)

Please provide the answer choices to determine the most appropriate solution for your specific scenario.

You process Azure Service Bus messages that require a dependent external API call.

It the API is temporarily unavailable, you must delay processing of the message without incrementing the delivery count. You need to find a way to process the message when the API is available while keeping the message accessible. Which message action should you perform?

Correct Answer: A
Explanation

To delay processing without incrementing the delivery count when an external API is unavailable:

Abandon the message (using AbandonAsync) - The Abandon action:

  • Returns the message to the Service Bus queue without incrementing the delivery count
  • Allows the message to be redelivered immediately or after a delay
  • Preserves the delivery count, allowing the message to be retried up to the max delivery attempts
  • Keeps the message accessible for reprocessing when the API becomes available

This differs from Complete (removes message) or DeadLetter (increments count). Abandon is ideal for temporary failures where you want to retry the same message later without penalty. Pair this with appropriate retry policies or schedule a delayed redelivery to check when the API recovers.

You develop an ASP.NFT Core app that uses Azure App Configuration. You also create an App Configuration containing 100 settings. The app must meet the following requirements:

* Ensure the consistency of all configuration data when changes to individual settings occur.

* Handle configuration data changes dynamically without causing the application to restart.

* Reduce the overall number of requests made to App Configuration APIs

You must implement dynamic configuration updates in the app.

What are two ways to achieve this goal? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

Correct Answer: C, E
Explanation

To handle dynamic configuration changes without application restart and reduce API requests:

  1. Implement a configuration cache using IConfigurationRoot.Reload() - Call Reload() periodically or on-demand to refresh configuration from App Configuration into the application's configuration cache. This pulls updated settings efficiently without restarting the application
  2. Use IOptionsMonitor<T> for dynamic reloading - IOptionsMonitor automatically detects configuration changes and provides updated values. Unlike IOptions, IOptionsMonitor doesn't require application restart and is designed specifically for dynamic configuration scenarios. Inject IOptionsMonitor<YourSettings> to access updated configuration values

Both approaches work together: IOptionsMonitor watches for changes and Reload() updates the cache. This ensures consistency across all 100 settings, handles dynamic updates without restart, and reduces requests by caching configuration locally rather than querying App Configuration for each access.

Full Access

Get the complete AI-200 question set

  • 171 questions covering all exam domains
  • Correct answers with explanations, like the free questions above
  • PDF and online practice test
  • 90 days of free updates
Starting from 50% OFF
$20 $40
Get Full Access

One-time payment · Instant download

Study Guide

What the Microsoft AI-200 Exam Covers

Exam domains verified against: Official Microsoft AI-200 exam guide, last checked September 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.

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 questions from this domain above: Q3Q5

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.

Sample questions from this domain above: Q1Q2Q4Q6

FAQ

AI-200 Exam FAQ

Common questions about the exam itself

How hard is the AI-200 exam and what makes it challenging?
AI-200 is a developer-focused exam that rewards hands-on coding and Azure deployment experience over pure theory. The heaviest domain is data management services at 25-30%, which covers vector databases and semantic search across Cosmos DB, PostgreSQL with pgvector, and Redis. Candidates who only read documentation without building containerized apps or writing code against these services typically underperform, especially on scenario-based questions that test architectural decisions.
What background do I need before taking AI-200?
Microsoft has no formal prerequisites, but the exam assumes intermediate to advanced knowledge of Python, Azure SDKs, containerized application deployment, and back-end development patterns. If you have never deployed a container or written code against Azure services, the exam will be too steep. Build a working Container App or Function that connects to Cosmos DB or PostgreSQL first.
Which objective area is hardest and how should I prepare for it?
Domain 2 (Develop AI solutions by using Azure data management services) carries the most weight and is the least familiar to traditional Azure developers. Vector databases, pgvector, semantic search, and retrieval-augmented generation are the distinctive content. Spend extra study time on vector indexing and similarity search patterns across all three data services, and get hands-on practice writing Python code to query these databases.
How long should I spend preparing for AI-200?
Plan for 8 to 10 hours per week over 8 weeks if you already work with Azure. Strong Azure developers with container and database experience can compress to 4 to 6 weeks, while career changers may need 12 weeks. The exam rewards hands-on work, so budget time to deploy containerized apps, work with Service Bus and Event Grid, and write actual queries against Cosmos DB and PostgreSQL.
What does the exam day look like for AI-200?
You have 120 minutes to answer 40 to 60 questions delivered through Pearson VUE. The format includes multiple choice, multiple response, drag-and-drop, and case study items with possible interactive components. AI-200 is currently a beta exam, so your score is not released immediately. Microsoft gathers question performance data first, then releases results approximately 10 days after the beta period closes.
What are the retake and rescheduling rules for AI-200?
You can retake the exam 24 hours after a failed attempt. You reschedule your exam through Pearson VUE via the official registration page on Microsoft Learn. If you paid for a beta exam at the discounted rate (up to 80% off), those results will be rescored when the exam goes live.
How long is the AI-200 certification valid and what does renewal require?
The certification is valid for 12 months from the date you pass the exam. Six months before expiration, you can renew free by passing a short online assessment on Microsoft Learn that covers only new features and changes from the past year. The renewal is open-book, unproctored, and takes about 45 minutes. Failure requires a 24-hour wait before retake.
What job role does AI-200 map to?
AI-200 is designed for backend and AI-driven application developers who build containerized, serverless, and event-driven AI workloads on Azure. You contribute to all phases of implementing AI solutions from requirements gathering, design, and development through deployment, security, and monitoring. The credential emphasizes infrastructure and integration skills rather than data science or ML engineering.
How does AI-200 relate to other Azure certifications?
AI-200 replaces the retiring AZ-204 exam (retires 31 July 2026) and maps to the Azure AI Cloud Developer Associate certification. It sits at the Associate level alongside AI-103 (Azure AI Apps and Agents Developer) for a full AI-engineering picture and AI-901 (Azure AI Fundamentals) as an optional entry point. AI-300 (MLOps Engineer) is the next step if your career path leads toward ML platforms.
Can I take AI-200 at a reduced price or as a beta exam?
AI-200 is currently a beta exam with a limited-time discount. The first 300 candidates can take it at 80% off (roughly USD 20-33 instead of USD 165) during the beta window. Check the official Microsoft Learn page to confirm current beta status and discount availability, as spots are limited and the beta period has a hard deadline.