Microsoft Developing AI Cloud Solutions on Azure - AI-200 Exam Practice Test

You are designing an Azure Function app that processes large image uploads submitted by users through an HTTP endpoint.
The solution must:
- Prevent client timeouts by decoupling image processing from the
initial upload request.
- Support automatic retry behavior for failed processing attempts.
- Scale the background processing independently of the rate of incoming HTTP uploads.
You need to design a scalable and reliable asynchronous processing solution.
Which two actions should you implement? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.

Correct Answer: C,D Vote an answer
Explanation: Only visible for Fast2test members. You can sign-up / login (it's free).
You are deploying a model in Azure AI Foundry and must ensure the endpoint can handle unpredictable bursts of traffic while keeping cost low during idle periods. Which deployment type should you choose?

Correct Answer: A Vote an answer
Explanation: Only visible for Fast2test members. You can sign-up / login (it's free).
Your Azure AI Search index must support both exact keyword matches on product SKUs and semantic similarity search on product descriptions in a single query. What should you configure?

Correct Answer: C Vote an answer
Explanation: Only visible for Fast2test members. You can sign-up / login (it's free).
Drag and Drop Question
You are designing Azure Functions for three different backend workloads.
Each workload requires one of the following dispatching models:
- Return an immediate response to a client.
- Process background work from a queue.
- Run code on a fixed schedule.
You need to select the trigger for each requirement.
Which triggers should you select? To answer, move the appropriate triggers to the correct requirements. You may use each trigger once, more than once, or not at all. You may need to move the split bar between panes or scroll to view content.
NOTE: Each correct selection is worth one point.
Correct Answer:

Explanation:
Box 1: HTTP trigger
An HTTP trigger is the best choice for returning an immediate response to a client.
Direct connection: The client makes a standard web request and waits on the same connection.
Low latency: It avoids the delays introduced by routing messages through queues or storage.
Two-way communication: It natively supports returning payload data and HTTP status codes (e.g., 200 OK).
Box 2: Queue Storage Trigger
Azure Queue Storage Trigger or Azure Service Bus Queue Trigger is the best choice to process background work from a queue.
Azure Queue Storage Trigger:
Best for simple, low-cost message queues with high throughput and straightforward FIFO (first-in, first-out) processing needs.
Automatic Scaling: Scales out instances dynamically based on the number of messages waiting in the queue.
Reliability: Automatically handles poison messages and retries failed executions if configured correctly.
Cost Efficiency: Consumes zero compute resources when the queue is empty (especially under the Consumption plan).
Box 3: Timer trigger
An Azure Function with a timer trigger is the standard and ideal choice for running code on a fixed schedule. It acts as a serverless cron job that automatically manages execution intervals, scales automatically, and includes built-in locking mechanisms to prevent duplicate executions across multiple instances.
Reference:
https://levelup.gitconnected.com/request-driven-service-vs-event-driven-service-4bf04d642843?gi=c0bdcb16db5a
https://codilime.com/blog/enabling-first-in-first-out-pattern-microsoft-azure-service-bus-queues-topics/
You need to detect whether an uploaded image contains adult or violent content before allowing it to be posted to a public forum. What should you use?

Correct Answer: B Vote an answer
Explanation: Only visible for Fast2test members. You can sign-up / login (it's free).
Case Study 1 - Fabrikam Inc.
Background
Fabrikam Inc. is a global retail analytics company that provides AI-driven demand forecasting and product recommendation services to online retailers. The company is modernizing its solution to run entirely on Microsoft Azure.
The platform ingests transaction data, generates embeddings for semantic retrieval, performs vector similarity search, and returns product recommendations through containerized microservices. Developers use Python and Azure SDKs. Operations teams manage container orchestration, scaling, monitoring, and security.
The solution must meet strict performance, scalability, and security requirements.
Current environment
Application architecture
The Recommendation engine is a customer-facing HTTP API running as a containerized Python application. The engine is deployed to Azure Container Apps (ACA).
Embeddings are stored in Azure Database for PostgreSQL by using pgvector.
Semantic retrieval uses metadata filtering combined with vector similarity search.
Azure Managed Redis is used as a caching layer.
Front-end and API workloads are deployed to Azure Container Apps (ACA).
Batch model retraining workloads run in Azure Kubernetes Service (AKS).
Container and CI/CD
Container images are stored in Azure Container Registry (ACR).
CI/CD uses ACR Tasks to build images on commit.
ACA environments support revision management.
AKS workloads are deployed by using Kubernetes manifest files stored in Git.
Monitoring
Logs are collected in Azure Monitor.
Teams inspect container logs and Kubernetes events when troubleshooting.
Developers write KQL queries to analyze latency spikes.
Business requirements
Customer experience: Maintain a seamless, low-latency recommendation experience for end- users, even during unpredictable seasonal traffic spikes.
Operational cost efficiency: Minimize compute expenditures by deallocating resources during periods of inactivity and by preventing runaway scaling costs.
Data integrity and freshness: Ensure that product recommendations always reflect the most current catalog metadata and pricing to prevent customer dissatisfaction.
Security and compliance: Adhere to a Zero Trust security model by eliminating long-lived credentials and centralizing the management of all sensitive secrets.
Global scalability: Support the rapid ingestion of millions of new product embeddings daily without degrading query performance for existing retailers.
Technical requirements
Performance: Semantic search latency must remain under 200 milliseconds at peak load.
Database optimization: Use pgvector for embeddings and implement metadata filtering to reduce compute overhead. Configure compute and memory appropriately for vector workloads to ensure high-dimensional index residency in RAM and efficient mathematical throughput. Vector similarity calculations must be performed only against products that satisfy mandatory metadata constraints.
Database performance: Database connections must support high concurrency with minimal latency through the implementation of connection optimization.
Data load strategy: To ensure maximum ingestion throughput, secondary indexes must be applied only after bulk loading of embeddings is complete.
Caching: Redis cache entries must expire automatically after 10 minutes. Implement a reactive mechanism to invalidate cache entries upon metadata updates.
Identity: Use managed identities for all service-to-service and service-to-database authentication.
Plain-text credentials in configuration files are strictly prohibited.
Secret management: All secrets must be stored centrally. Secrets must be rotated automatically by using a centralized lifecycle policy.
Scaling: Use Kubernetes event-driven autoscaling (KEDA) for event-driven scaling. The Recommendation API must scale based on HTTP traffic, while batch jobs must scale based on queue length and support scale-to-zero.
CI/CD: All images must be stored in Azure Container Registry. Use ACR Tasks to automate image builds triggered by source code commits.
Monitoring: Use KQL to analyze performance telemetry and troubleshoot microservice connectivity failures. Inspect logs and events when troubleshooting AKS and ACA.
Hotspot Question
You need to deploy a batch retraining workload.
How should you complete the scaling configuration? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Correct Answer:

Explanation:
Box 1: Azure Service Bus scaler
An Azure Service Bus scaler needs to be set up to meet this requirement.
Queue-Depth Metrics: To trigger scaling based strictly on queue depth, the orchestration layer (such as Azure Container Apps or AKS using KEDA) requires a scaler that can natively communicate with the message broker and monitor metrics like active message count.
Scale-to-Zero Support: Unlike standard resource scalers, an Azure Service Bus scaler enables event-driven batch workloads to spin up consumers when messages arrive and scale all the way down to zero instances when the queue is completely empty.
Box 2: Minimum replicas = 0.
You need to set Minimum replicas = 0.
Setting the minimum replicas to 0 enables the system to scale down to zero instances when there are no messages left in the queue, completely deallocating resources and eliminating idle compute costs.
Box 3: Maximum replicas = 10
To prevent uncontrolled burst scaling during your batch retraining workloads, you need to set maximum replicas = 10.
Enforcing Upper Bounds: Allowing the system to determine the maximum replica gives the underlying autoscaler (such as KEDA or the Horizontal Pod Autoscaler in Azure Kubernetes Service) the freedom to scale out infinitely or up to large default platform limits. This directly risks uncontrolled burst scaling when a massive batch queue is processed.
Resource and Cost Protection: Hard-coding a ceiling (like maximum replicas = 10) ensures that the batch workload cannot consume more cluster resources than allocated, preventing resource starvation for customer-facing recommendation APIs and keeping operational costs predictable.
Reference:
https://azure.github.io/aca-dotnet-workshop/aca/09-aca-autoscale-keda/
https://kserve.github.io/website/docs/reference/crd-api
You are choosing an embedding strategy for a RAG solution. Documents range from 2 to 200 pages. You need to preserve semantic coherence while staying within embedding model token limits. What should you do?

Correct Answer: C Vote an answer
Explanation: Only visible for Fast2test members. You can sign-up / login (it's free).
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?

Correct Answer: C Vote an answer
Explanation: Only visible for Fast2test members. You can sign-up / login (it's free).
You are developing a Java application to be deployed in Azure. The application stores sensitive data in Azure Cosmos DB.
You need to configure Always Encrypted to encrypt the sensitive data inside the application.
What should you do first?

Correct Answer: C Vote an answer
Explanation: Only visible for Fast2test members. You can sign-up / login (it's free).
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.
NOTE: Each correct selection is worth one point.

Correct Answer: A,C Vote an answer
Explanation: Only visible for Fast2test members. You can sign-up / login (it's free).

Contact Us

If you have any question please leave me your email address, we will reply and send email to you in 12 hours.

Our Working Time: ( GMT 0:00-15:00 ) From Monday to Saturday

Support: Contact now 

日本語 Deutsch 繁体中文 한국어