Microsoft AI-200 Practice Test 2 - Prepaway
Practice Exams:

Pass Microsoft AI-200 Exam in First Attempt Guaranteed!

Get 100% Latest Exam Questions, Accurate & Verified Answers!

30 Days Free Updates, Instant Download!

Verified By Experts
Premium Bundle
$14.99
$94.99 $109.98

AI-200 Premium Bundle


  • Premium File 174 Questions & Answers. Last update: Nov 28, 2026
  • Study Guide 153 Pages

Microsoft AI-200 Practice Test 2

Question 10

Two change-feed consumers process the same partition concurrently and duplicate costly embedding updates after deployment scaling. Which outcome would demonstrate that the control meets its stated goal?

  1. Top-k retrieval meets the latency budget while a recall test remains within the accepted tolerance.
  2. Scaled processors share partition leases and replay-safe results across a controlled restart.
  3. A test containing SQL metacharacters is treated as a parameter and returns only authorized data.
  4. A conflicting write receives a concurrency failure and approved labels are preserved after reconciliation.

Explanation

Correct Answer

B:

Scaled processors share partition leases and replay-safe results across a controlled restart. Change feed coordination depends on durable leases and checkpoint state rather than replica count alone.

Incorrect Answers

A:

Top-k retrieval meets the latency budget while a recall test remains within the accepted tolerance. Change feed coordination depends on durable leases and checkpoint state rather than replica count alone. Scaled processors share partition leases and replay-safe results across a controlled restart.

C:

A test containing SQL metacharacters is treated as a parameter and returns only authorized data. Change feed coordination depends on durable leases and checkpoint state rather than replica count alone. Scaled processors share partition leases and replay-safe results across a controlled restart.

D:

A conflicting write receives a concurrency failure and approved labels are preserved after reconciliation. Change feed coordination depends on durable leases and checkpoint state rather than replica count alone. Scaled processors share partition leases and replay-safe results across a controlled restart.

Question 11

A semantic search query uses Euclidean distance while model guidance and evaluation baselines require cosine similarity. What technical distinction MOST accurately describes the control boundary?

  1. DiskANN is an available approximate vector indexing option whose suitability depends on workload and service support.
  2. Database authentication and authorization should minimize standing secrets and application privileges.
  3. IVFFlat clusters vectors using representative data and trades probe cost against retrieval recall.
  4. Similarity metric and index operator class must align with the embedding evaluation method.

Explanation

Correct Answer

D:

Similarity metric and index operator class must align with the embedding evaluation method. A semantic search query uses Euclidean distance while model guidance and evaluation baselines require cosine similarity.

Incorrect Answers

A:

DiskANN is an available approximate vector indexing option whose suitability depends on workload and service support. A semantic search query uses Euclidean distance while model guidance and evaluation baselines require cosine similarity. Similarity metric and index operator class must align with the embedding evaluation method.

B:

Database authentication and authorization should minimize standing secrets and application privileges. A semantic search query uses Euclidean distance while model guidance and evaluation baselines require cosine similarity. Similarity metric and index operator class must align with the embedding evaluation method.

C:

IVFFlat clusters vectors using representative data and trades probe cost against retrieval recall. A semantic search query uses Euclidean distance while model guidance and evaluation baselines require cosine similarity. Similarity metric and index operator class must align with the embedding evaluation method.

Question 12

An application produces embeddings of 1536 dimensions and an engineer configures a flat Cosmos DB vector index for them. Which design change MOST directly addresses the organization's stated security requirement?

  1. Use an appropriate tenant partition key and a scoped query predicate or point-read pattern for customer-specific retrieval.
  2. Enforce tenant authorization and partition-aware metadata filtering alongside VectorDistance and any vector index.
  3. Choose a supported vector indexing strategy such as quantizedFlat or diskANN that accepts the required dimensions.
  4. Configure an appropriate time-to-live policy and item-level retention where required, respecting legal holds.

Explanation

Correct Answer

C:

Choose a supported vector indexing strategy such as quantizedFlat or diskANN that accepts the required dimensions. Vector index implementations have different dimensional limits and accuracy-performance trade-offs.

Incorrect Answers

A:

Use an appropriate tenant partition key and a scoped query predicate or point-read pattern for customer-specific retrieval. Vector index implementations have different dimensional limits and accuracy-performance trade-offs. Choose a supported vector indexing strategy such as quantizedFlat or diskANN that accepts the required dimensions.

B:

Enforce tenant authorization and partition-aware metadata filtering alongside VectorDistance and any vector index. Vector index implementations have different dimensional limits and accuracy-performance trade-offs. Choose a supported vector indexing strategy such as quantizedFlat or diskANN that accepts the required dimensions.

D:

Configure an appropriate time-to-live policy and item-level retention where required, respecting legal holds. Vector index implementations have different dimensional limits and accuracy-performance trade-offs. Choose a supported vector indexing strategy such as quantizedFlat or diskANN that accepts the required dimensions.

Question 13

An AI inference function times out under realistic text loads but passes with tiny local samples. What concept is most relevant to understanding the decision?

  1. Function application configuration must distinguish deployable code from slot-specific operational resources.
  2. Event-driven triggers map resource events to function executions rather than polling intervals.
  3. Function success and output binding correctness are separate properties that require end-to-end validation.
  4. Execution limits and work duration determine whether serverless request processing is an appropriate architecture.

Explanation

Correct Answer

D:

Execution limits and work duration determine whether serverless request processing is an appropriate architecture. The completion signal is: Representative heavy requests finish within a documented service limit without unbounded resource consumption.

Incorrect Answers

A:

Function application configuration must distinguish deployable code from slot-specific operational resources. The completion signal is: Representative heavy requests finish within a documented service limit without unbounded resource consumption. Execution limits and work duration determine whether serverless request processing is an appropriate architecture.

B:

Event-driven triggers map resource events to function executions rather than polling intervals. The completion signal is: Representative heavy requests finish within a documented service limit without unbounded resource consumption. Execution limits and work duration determine whether serverless request processing is an appropriate architecture.

C:

Function success and output binding correctness are separate properties that require end-to-end validation. The completion signal is: Representative heavy requests finish within a documented service limit without unbounded resource consumption. Execution limits and work duration determine whether serverless request processing is an appropriate architecture.

Question 14

A pipeline writes source documents and their embeddings in separate statements, leaving orphaned vectors when a process crashes. What evidence should be examined to narrow the cause?

  1. Database response size grows with the entire table even though only five results are sent to clients.
  2. The existing design stores all columns as untyped text and cannot efficiently filter timestamps and tags.
  3. Connection metrics spike during bursts and logs show too many clients or connection failures.
  4. A simulated crash leaves a vector row whose corresponding source document was never stored.

Explanation

Correct Answer

D:

A simulated crash leaves a vector row whose corresponding source document was never stored. Transactions and integrity constraints preserve relational consistency when multi-step ingestion fails.

Incorrect Answers

A:

Database response size grows with the entire table even though only five results are sent to clients. Transactions and integrity constraints preserve relational consistency when multi-step ingestion fails. A simulated crash leaves a vector row whose corresponding source document was never stored.

B:

The existing design stores all columns as untyped text and cannot efficiently filter timestamps and tags. Transactions and integrity constraints preserve relational consistency when multi-step ingestion fails. A simulated crash leaves a vector row whose corresponding source document was never stored.

C:

Connection metrics spike during bursts and logs show too many clients or connection failures. Transactions and integrity constraints preserve relational consistency when multi-step ingestion fails. A simulated crash leaves a vector row whose corresponding source document was never stored.

Question 15

An asynchronous document extraction worker receives large daily Service Bus queue bursts and a fixed replica count leaves messages waiting for hours. What concept is most relevant to understanding the decision?

  1. Readiness controls traffic eligibility; it is not the same as restart-oriented liveness checks.
  2. KEDA-based scaling reacts to event-source metrics rather than relying solely on inbound HTTP volume.
  3. Container Apps ingress scope defines a network boundary but application authorization remains necessary.
  4. HTTP autoscaling responds to request concurrency and differs from event-source queue depth scaling.

Explanation

Correct Answer

B:

KEDA-based scaling reacts to event-source metrics rather than relying solely on inbound HTTP volume.

Incorrect Answers

A:

Readiness controls traffic eligibility; it is not the same as restart-oriented liveness checks. KEDA-based scaling reacts to event-source metrics rather than relying solely on inbound HTTP volume.

C:

Container Apps ingress scope defines a network boundary but application authorization remains necessary. KEDA-based scaling reacts to event-source metrics rather than relying solely on inbound HTTP volume.

D:

HTTP autoscaling responds to request concurrency and differs from event-source queue depth scaling. KEDA-based scaling reacts to event-source metrics rather than relying solely on inbound HTTP volume.

Question 16

A public webhook accepts Event Grid event notifications, but security audits find anyone can send indistinguishable forged POST requests. What evidence should be examined to narrow the cause?

  1. The receiver processes unsigned arbitrary requests without confirming subscription identity or authorized sender.
  2. Delivery logs include delete events and non-image uploads that the handler immediately rejects.
  3. Event Grid delivery failures accumulate and the subscription has no recoverable dead-letter configuration.
  4. Message properties include jobType but subscriptions use an unrestricted true filter.

Explanation

Correct Answer

A:

The receiver processes unsigned arbitrary requests without confirming subscription identity or authorized sender. Receiving an event over HTTPS does not by itself authenticate the publisher's authorization.

Incorrect Answers

B:

Delivery logs include delete events and non-image uploads that the handler immediately rejects. Receiving an event over HTTPS does not by itself authenticate the publisher's authorization. The receiver processes unsigned arbitrary requests without confirming subscription identity or authorized sender.

C:

Event Grid delivery failures accumulate and the subscription has no recoverable dead-letter configuration. Receiving an event over HTTPS does not by itself authenticate the publisher's authorization. The receiver processes unsigned arbitrary requests without confirming subscription identity or authorized sender.

D:

Message properties include jobType but subscriptions use an unrestricted true filter. Receiving an event over HTTPS does not by itself authenticate the publisher's authorization. The receiver processes unsigned arbitrary requests without confirming subscription identity or authorized sender.

Question 17

After an editor changes an internal pricing policy, the AI assistant keeps returning the stale Redis-cached response. What would be the strongest observable evidence of successful remediation?

  1. A synchronized expiration causes one controlled refresh while other requests remain responsive.
  2. The next authorized request reflects the revised policy and stale cache keys are absent.
  3. After tuning, repeated hot keys remain available and memory use stays within policy.
  4. Controlled query rankings agree with the chosen metric and the KNN application threshold is retuned.

Explanation

Correct Answer

B:

The next authorized request reflects the revised policy and stale cache keys are absent.

Incorrect Answers

A:

A synchronized expiration causes one controlled refresh while other requests remain responsive. The next authorized request reflects the revised policy and stale cache keys are absent.

C:

After tuning, repeated hot keys remain available and memory use stays within policy. The next authorized request reflects the revised policy and stale cache keys are absent.

D:

Controlled query rankings agree with the chosen metric and the KNN application threshold is retuned. The next authorized request reflects the revised policy and stale cache keys are absent.

Question 18

A platform team needs to learn which inference endpoint causes the most errors during each five-minute window. What is the BEST next action for the specific Azure environment described?

  1. Remove private prompt contents, use bounded sanitized attributes, and retain approved correlation identifiers.
  2. Inject and extract supported trace context through message application properties while respecting trust boundaries.
  3. Record exception attributes and status on the relevant OpenTelemetry spans with appropriate error handling.
  4. Use KQL summarize count() by operation name and bin(timestamp, 5m) with a suitable failure filter.

Explanation

Correct Answer

D:

Use KQL summarize count() by operation name and bin(timestamp, 5m) with a suitable failure filter. The supporting observation is: Raw requests contain operation names but the existing query emits every row without grouping.

Incorrect Answers

A:

Remove private prompt contents, use bounded sanitized attributes, and retain approved correlation identifiers. The supporting observation is: Raw requests contain operation names but the existing query emits every row without grouping. Use KQL summarize count() by operation name and bin(timestamp, 5m) with a suitable failure filter.

B:

Inject and extract supported trace context through message application properties while respecting trust boundaries. The supporting observation is: Raw requests contain operation names but the existing query emits every row without grouping. Use KQL summarize count() by operation name and bin(timestamp, 5m) with a suitable failure filter.

C:

Record exception attributes and status on the relevant OpenTelemetry spans with appropriate error handling. The supporting observation is: Raw requests contain operation names but the existing query emits every row without grouping. Use KQL summarize count() by operation name and bin(timestamp, 5m) with a suitable failure filter.

Question 19

An AI product stores only customer document embeddings in Redis and loses them after a cache reinitialization with no source documents available to rebuild. What technical distinction MOST accurately describes the control boundary?

  1. Redis vector search requires a declared index and compatible vector representation, not just storing raw bytes.
  2. Cache availability and durability characteristics must match recovery requirements and the authoritative data design.
  3. Cache stampedes occur when concurrent misses overwhelm shared backends and require coordination beyond ordinary caching.
  4. TTL-based caching trades freshness for reduced repeated computation and must include relevant context in keys.

Explanation

Correct Answer

B:

Cache availability and durability characteristics must match recovery requirements and the authoritative data design.

Incorrect Answers

A:

Redis vector search requires a declared index and compatible vector representation, not just storing raw bytes. Cache availability and durability characteristics must match recovery requirements and the authoritative data design.

C:

Cache stampedes occur when concurrent misses overwhelm shared backends and require coordination beyond ordinary caching. Cache availability and durability characteristics must match recovery requirements and the authoritative data design.

D:

TTL-based caching trades freshness for reduced repeated computation and must include relevant context in keys. Cache availability and durability characteristics must match recovery requirements and the authoritative data design.

Question 20

An embedding cache periodically loses popular values and the AI service recomputes them, while Redis memory usage remains at its configured maximum. Which security principle best explains why the proposed response fits the case?

  1. Cache stampedes occur when concurrent misses overwhelm shared backends and require coordination beyond ordinary caching.
  2. An in-memory cache's eviction policy and capacity determine how frequently cached results survive.
  3. Cache keys are part of a data isolation boundary when results depend on user or tenant permissions.
  4. Batching independent cache operations can reduce round-trip overhead without changing data semantics.

Explanation

Correct Answer

B:

An in-memory cache's eviction policy and capacity determine how frequently cached results survive.

Incorrect Answers

A:

Cache stampedes occur when concurrent misses overwhelm shared backends and require coordination beyond ordinary caching. An in-memory cache's eviction policy and capacity determine how frequently cached results survive.

C:

Cache keys are part of a data isolation boundary when results depend on user or tenant permissions. An in-memory cache's eviction policy and capacity determine how frequently cached results survive.

D:

Batching independent cache operations can reduce round-trip overhead without changing data semantics. An in-memory cache's eviction policy and capacity determine how frequently cached results survive.

Developing AI Cloud Solutions on Azure (AI-200) Practice Tests