Microsoft certification · Exam AI-200

AI-200 Mock Exam

Developing AI Cloud Solutions on Azure

Free AI-200 questions on Topic 1 : Proseware Inc. Case Study, each with the answer and an explanation.

20 questions · 40 minutes · free, no sign-up

Topic 1 : Proseware Inc. Case Study questions

1–2 of 2 free
Question 1
You need to implement trace correlation according to the business requirements. Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order. NOTE: More than one order of answer choices is correct. You will receive credit for any of the correct orders you se lect.
Show answerHide answer

Explanation

Explanation

To implement distributed trace correlation, you must first instrument the application code using the OpenTelemetry SDK. This step is essential because the SDK is responsible for generating trace context (Trace IDs and Span IDs) as requests move through your services.

Once the code is instrumented to create this telemetry, you must configure a trace exporter in the OpenTelemetry SDK. The exporter acts as the bridge, taking the generated trace data and sending it to your observability backend (such as Azure Monitor Application Insights).

Finally, you must redeploy the instrumented services. Code changes and configuration updates only take effect in the live environment after the updated application is built and deployed, allowing the services to begin emitting correlated trace data.



Why Other Options Are Incorrect

- Implement a view in the OpenTelemetry SDK: Incorrect. In OpenTelemetry, "views" are used exclusively for filtering and aggregating metrics, not for managing or correlating distributed traces.

- Call TelemetryClient.TrackEvent() within service methods: Incorrect. This uses the legacy Application Insights SDK rather than the OpenTelemetry SDK. Furthermore, TrackEvent logs custom events; it does not establish the distributed trace context required for correlation.

References

- Microsoft Learn: Instrument an application with OpenTelemetry (Covers SDK setup and exporters).
Question 2
You need to configure vector embedding updates according to the business and technical requirements. Which information should you use? To answer, select the appropriate option in the answer area. NOTE: Each correct selection is worth one point.
Show answerHide answer

Explanation



Explanation

To trigger vectorization upon document changes, you must use the Change feed processor. Azure Cosmos DB's Change Feed acts as a persistent, event-driven log of inserts and updates. The Change feed processor listens to this log in real-time. When a document is modified, the processor catches the event, allowing your application to extract the text, send it to an embedding model (like Azure OpenAI), and write the resulting vector back to the document. This ensures an efficient, event-driven architecture rather than relying on costly polling.

To scale out the processing, you must configure a Lease container. The Change feed processor uses a separate lease container to manage state and coordinate work across multiple client instances. Each instance acquires a "lease" for a specific range of partition keys. By deploying multiple application instances pointing to the same lease container, they automatically distribute the workload among themselves. If an instance fails, its lease expires, and another instance takes over, ensuring both horizontal scaling and high availability.

Why Other Options Are Incorrect

- Periodic full container scan: Highly inefficient and expensive. It consumes massive Request Units (RUs) and introduces significant latency, whereas Change Feed is incremental and real-time.

- Cross-partition SQL query: This is merely a query pattern requiring constant polling, not an event-driven mechanism, making it unsuitable for triggering real-time updates.

- Strong consistency level: This governs read/write data replication guarantees across regions, not background processing or worker scale-out.

- RU throughput on the container: While necessary for write operations, provisioning RU/s does not scale out the compute processing; the lease container manages compute distribution.

References

- Microsoft Learn: Change feed processor in Azure Cosmos DB (Details the processor and lease container architecture for scaling).

That's the last free question in Topic 1 : Proseware Inc. Case Study

You've seen the free 30% (2 of 7 questions). Full access unlocks every question and full-length AI-200 mock exams (60 questions, 120 minutes), a different mock on every attempt.

Unlock full mock exam
Full mock exam

Sit the AI-200 exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real AI-200 exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full AI-200 mock exam
  • 60questions per mock
  • 120 mintime limit
  • 142questions in the bank
  • Newmock on every attempt