Microsoft Developing AI Cloud Solutions on Azure - AI-200 Exam Practice Test
You are developing an application that must extract structured field data (invoice number, total, vendor name) from scanned invoices in multiple layouts.
You need a solution that requires no custom model training.
What should you use?
You need a solution that requires no custom model training.
What should you use?
Correct Answer: A
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).
You are developing a microservices-based application that uses Azure Container Apps. The application consists of several containerized services that handle tasks, such as processing orders, managing inventory, and generating reports. You deploy a new revision of the processing orders app.
Processing orders must be triggered by a web request and must always be available based on incoming web requests.
You need to validate that the replica is ready to handle incoming requests.
What should you implement?
Processing orders must be triggered by a web request and must always be available based on incoming web requests.
You need to validate that the replica is ready to handle incoming requests.
What should you implement?
Correct Answer: A
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).
You are reviewing the message processing code in a backend worker service.
You review the following Python code that initializes and starts a Service Bus processor


You review the following Python code that initializes and starts a Service Bus processor


Correct Answer:

Explanation:

Verified Answer: No; Yes; No.
Detailed Explanation: The default Service Bus receive behavior is PeekLock rather than receive-and-delete, so merely receiving a message does not remove it from the queue; it must be settled successfully. If processing fails and the message remains unsettled or the lock is lost, it can become available for another delivery. Invalid JSON, however, is an application-level content problem: Service Bus does not inspect the payload as JSON and automatically retry it to MaxDeliveryCount solely because deserialization fails. The application's settlement/error path determines what happens.
Study Guide Alignment: Azure service integration: Service Bus, Event Grid, Azure Functions triggers
/bindings, and event-driven processing.
Official Microsoft Learn References: AI-200 Study Guide | Service Bus message transfers, locks, and settlement | Service Bus messages, routing, and correlation
You are building o back end pipeline that receives Al inference requests. The pipeline must perform the following actions:
* Publish a message so that multiple independent consumers receive it.
* Process massages in order through a single consumer entity.
* isolate any failed messages
You need to configure the appropriate Service Bus entities.
How should you configure the service bus entities? To answer, move the appropriate configurations to the correct requirements. You may use each configuration once..

* Publish a message so that multiple independent consumers receive it.
* Process massages in order through a single consumer entity.
* isolate any failed messages
You need to configure the appropriate Service Bus entities.
How should you configure the service bus entities? To answer, move the appropriate configurations to the correct requirements. You may use each configuration once..

Correct Answer:

Explanation:

You plan to create a Docker image that runs an ASP.NET Core application named ContosoApp. You have a setup script named setupScript.psl and a series of application files including ContoscApp.dll.
You need to create a Dockerfile document that meets the following requirements:
* Call SQiupScript.psI when the container is built.
* Run CantosoApp.dill when the container starts.
The Dockerfile document must be created in the same folder where ContosoApp.dll and setupScnpt.ps! are stored.

You need to create a Dockerfile document that meets the following requirements:
* Call SQiupScript.psI when the container is built.
* Run CantosoApp.dill when the container starts.
The Dockerfile document must be created in the same folder where ContosoApp.dll and setupScnpt.ps! are stored.

Correct Answer:

Explanation:

You develop an ASP.NET 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.
* 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: B,C
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).
An Azure Storage Blob upload must trigger backend processing.
The solution must:
* Avoid polling.
* Minimize latency.
* Trigger automatically when the upload occurs.
You need to ensure that processing starts as soon as a file is uploaded.
Which trigger should you implement?
The solution must:
* Avoid polling.
* Minimize latency.
* Trigger automatically when the upload occurs.
You need to ensure that processing starts as soon as a file is uploaded.
Which trigger should you implement?
Correct Answer: A
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).
A semantic search application queries Azure Database for PostgreSQL and stores document embeddings and metadata in a table with the following columns:
* embedding (pgvector)
* department
* created_at
The application must return the top five most similar documents for a given query embedding only from the finance department. You need to implement semantic retrieval with metadata filtering.
Which query components should you select? To answer, move the appropriate query components to the correct requirements. You may use each query component once, more than once, or not at all. You may need to move the split bar between panes or scroll to view content.

* embedding (pgvector)
* department
* created_at
The application must return the top five most similar documents for a given query embedding only from the finance department. You need to implement semantic retrieval with metadata filtering.
Which query components should you select? To answer, move the appropriate query components to the correct requirements. You may use each query component once, more than once, or not at all. You may need to move the split bar between panes or scroll to view content.

Correct Answer:

Explanation:

Verified Answer: Filter: `WHERE department = ' finance ' `. Rank/top five: `ORDER BY embedding < = > query_embedding LIMIT 5`.
Detailed Explanation: The metadata predicate must restrict the candidate rows to the Finance department, so the `WHERE department = ' finance ' ` component supplies the required filter. The pgvector cosine-distance operator ` < = > ` orders rows by vector distance to the supplied query embedding, and `LIMIT 5` keeps only the five nearest matches. Ordering by creation date would rank recency rather than semantic similarity, and a wildcard department filter would not satisfy the Finance-only requirement.
Study Guide Alignment: AI data-management workloads: Cosmos DB, PostgreSQL, caching, vector storage, vector retrieval, consistency, and connection optimization.
Official Microsoft Learn References: AI-200 Study Guide | Vector similarity search with Azure PostgreSQL
You have an Event Grid subscription that triggers an Azure Function.
You need to prevent loss of events in case the endpoint returns an HTTP 400 response. Which action should you perform?
You need to prevent loss of events in case the endpoint returns an HTTP 400 response. Which action should you perform?
Correct Answer: D
Hotspot Question
You have an Azure Functions app using the Consumption hosting plan for a company. The app contains the following functions:

You plan to enable dynamic concurrency on the app. The company requires that each function has its concurrency level managed separately.
You need to configure the app for dynamic concurrency.
Which file or function names should you use? To answer, select the appropriate values in the answer area.
NOTE: Each correct selection is worth one point.

You have an Azure Functions app using the Consumption hosting plan for a company. The app contains the following functions:

You plan to enable dynamic concurrency on the app. The company requires that each function has its concurrency level managed separately.
You need to configure the app for dynamic concurrency.
Which file or function names should you use? To answer, select the appropriate values in the answer area.
NOTE: Each correct selection is worth one point.

Correct Answer:

Explanation:
* File name: host.json
* Function name: f3
Azure Functions dynamic concurrency is enabled at the function-app host level in the host.json file . The concurrency configuration section contains the dynamicConcurrencyEnabled property. Setting this value to true enables the Functions host to dynamically learn and adjust concurrency levels for supported triggers rather than requiring fixed manual limits.
Although dynamic concurrency is enabled globally, Microsoft explicitly states that the learned concurrency level is managed independently for each individual function . This allows a resource-intensive function to operate at a lower concurrency level while a lightweight function in the same app can execute with greater concurrency, protecting host health while maximizing throughput.
Of the functions listed, f3 , which uses an Azure Queue Storage trigger , supports dynamic concurrency.
Microsoft currently documents dynamic concurrency support for Azure Queue Storage, Azure Blob Storage, and Azure Service Bus triggers , subject to the required extension versions. HTTP and Timer triggers do not participate in this dynamic-concurrency model.
Therefore, configure dynamic concurrency in host.json , and f3 is the function whose concurrency will be dynamically managed.
Study Guide references: Azure Functions # Concurrency; Dynamic concurrency; host.json; Queue Storage trigger concurrency.