Microsoft AI-200 Practice Test 12 - 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 12

Question 110

A support-chat summarizer scans every Cosmos DB conversation document every minute to identify only newly changed items. What concept is most relevant to understanding the decision?

  1. ETag-based conditions protect against lost updates when multiple workers modify one item.
  2. Cosmos DB change feed provides incremental change processing but consumers must handle at-least-once effects.
  3. Top-k query bounds avoid returning an unnecessarily large vector result set.
  4. Change feed coordination depends on durable leases and checkpoint state rather than replica count alone.

Explanation

Correct Answer

B:

Cosmos DB change feed provides incremental change processing but consumers must handle at-least-once effects.

Incorrect Answers

A:

ETag-based conditions protect against lost updates when multiple workers modify one item. Cosmos DB change feed provides incremental change processing but consumers must handle at-least-once effects.

C:

Top-k query bounds avoid returning an unnecessarily large vector result set. Cosmos DB change feed provides incremental change processing but consumers must handle at-least-once effects.

D:

Change feed coordination depends on durable leases and checkpoint state rather than replica count alone. Cosmos DB change feed provides incremental change processing but consumers must handle at-least-once effects.

Question 111

An automated secret rotation succeeds in writing a new credential to Key Vault but fails to update the backend database, breaking all inference requests. How should the team confirm the targeted requirement has been met?

  1. The application reads its scoped secret without any credential committed to code or logged in output.
  2. A rehearsal rotates both sides with no unauthorized exposure and restores service on validation failure.
  3. The app can retrieve the intended secret while it cannot list or alter unrelated vault values.
  4. The recovered secret is available to authorized callers and its access audit is recorded.

Explanation

Correct Answer

B:

A rehearsal rotates both sides with no unauthorized exposure and restores service on validation failure. Credential rotation is an end-to-end dependency workflow, not merely the creation of a new vault value.

Incorrect Answers

A:

The application reads its scoped secret without any credential committed to code or logged in output. Credential rotation is an end-to-end dependency workflow, not merely the creation of a new vault value. A rehearsal rotates both sides with no unauthorized exposure and restores service on validation failure.

C:

The app can retrieve the intended secret while it cannot list or alter unrelated vault values. Credential rotation is an end-to-end dependency workflow, not merely the creation of a new vault value. A rehearsal rotates both sides with no unauthorized exposure and restores service on validation failure.

D:

The recovered secret is available to authorized callers and its access audit is recorded. Credential rotation is an end-to-end dependency workflow, not merely the creation of a new vault value. A rehearsal rotates both sides with no unauthorized exposure and restores service on validation failure.

Question 112

An event-driven Azure Function invokes PostgreSQL and Redis, but log messages use unrelated IDs and investigators cannot follow a request end to end. Which evidence would MOST directly substantiate the reported gap?

  1. Application logs show individual component errors without a shared correlation or trace identifier.
  2. Before the swap, slot settings differ but the deployment treats the connection as ordinary swappable configuration.
  3. Function host logs report storage configuration or lease errors before any user function is invoked.
  4. Storage creates blob events but the function only executes on a periodic schedule.

Explanation

Correct Answer

A:

Application logs show individual component errors without a shared correlation or trace identifier. Distributed application diagnostics depend on context propagation rather than timestamps alone.

Incorrect Answers

B:

Before the swap, slot settings differ but the deployment treats the connection as ordinary swappable configuration. Distributed application diagnostics depend on context propagation rather than timestamps alone. Application logs show individual component errors without a shared correlation or trace identifier.

C:

Function host logs report storage configuration or lease errors before any user function is invoked. Distributed application diagnostics depend on context propagation rather than timestamps alone. Application logs show individual component errors without a shared correlation or trace identifier.

D:

Storage creates blob events but the function only executes on a periodic schedule. Distributed application diagnostics depend on context propagation rather than timestamps alone. Application logs show individual component errors without a shared correlation or trace identifier.

Question 113

A chatbot frequently asks for the same static product policy and repeatedly recomputes expensive retrieval results. Select TWO statements: the most appropriate corrective action and its direct verification result.

  1. Cache a versioned answer or retrieval result in Azure Managed Redis with appropriate TTL and key composition.
  2. A repeated authorized request hits cache, reduces response latency, and expires when policy requires refresh.
  3. A test query returns only permitted department entries while retaining semantic ranking.
  4. Use safe pipelining or batched operations where supported while preserving ordering and failure handling.
  5. Use a supported request coalescing, bounded lock, or stale-while-revalidate strategy with short expiration protection.

Explanation

Correct Answers

A:

Cache a versioned answer or retrieval result in Azure Managed Redis with appropriate TTL and key composition. A repeated authorized request hits cache, reduces response latency, and expires when policy requires refresh.

B:

A repeated authorized request hits cache, reduces response latency, and expires when policy requires refresh. The corresponding check is whether cache a versioned answer or retrieval result in Azure Managed Redis with appropriate TTL and key composition.

Incorrect Answers

C:

A test query returns only permitted department entries while retaining semantic ranking. A repeated authorized request hits cache, reduces response latency, and expires when policy requires refresh. Cache a versioned answer or retrieval result in Azure Managed Redis with appropriate TTL and key composition.

D:

Use safe pipelining or batched operations where supported while preserving ordering and failure handling. A repeated authorized request hits cache, reduces response latency, and expires when policy requires refresh. Cache a versioned answer or retrieval result in Azure Managed Redis with appropriate TTL and key composition.

E:

Use a supported request coalescing, bounded lock, or stale-while-revalidate strategy with short expiration protection. A repeated authorized request hits cache, reduces response latency, and expires when policy requires refresh. Cache a versioned answer or retrieval result in Azure Managed Redis with appropriate TTL and key composition.

Question 114

A document cannot be processed until an upstream OCR result arrives in twenty minutes, and current workers repeatedly abandon and reread the same request. What technical distinction MOST accurately describes the control boundary?

  1. Dead-lettering protects recoverability when repeated push deliveries cannot reach an event handler.
  2. Scheduled and deferred messages offer different mechanisms for handling work that is not yet ready.
  3. Receiving an event over HTTPS does not by itself authenticate the publisher's authorization.
  4. Topic subscriptions give multiple consumer groups separate delivery and retry state.

Explanation

Correct Answer

B:

Scheduled and deferred messages offer different mechanisms for handling work that is not yet ready. A document cannot be processed until an upstream OCR result arrives in twenty minutes, and current workers repeatedly abandon and reread the same request.

Incorrect Answers

A:

Dead-lettering protects recoverability when repeated push deliveries cannot reach an event handler. A document cannot be processed until an upstream OCR result arrives in twenty minutes, and current workers repeatedly abandon and reread the same request. Scheduled and deferred messages offer different mechanisms for handling work that is not yet ready.

C:

Receiving an event over HTTPS does not by itself authenticate the publisher's authorization. A document cannot be processed until an upstream OCR result arrives in twenty minutes, and current workers repeatedly abandon and reread the same request. Scheduled and deferred messages offer different mechanisms for handling work that is not yet ready.

D:

Topic subscriptions give multiple consumer groups separate delivery and retry state. A document cannot be processed until an upstream OCR result arrives in twenty minutes, and current workers repeatedly abandon and reread the same request. Scheduled and deferred messages offer different mechanisms for handling work that is not yet ready.

Question 115

A queued generative AI request takes several minutes to complete, but the initial Service Bus message lock is short and the request is processed twice. How should the team confirm the targeted requirement has been met?

  1. A long-running controlled request completes once logically despite lock renewal or retry events.
  2. Both subscribed pipelines receive the allowed test event and settle their independent copies.
  3. The endpoint acknowledges promptly and a durable queue completes the work once logically.
  4. Repeated submissions inside the configured detection window yield one logical queued request.

Explanation

Correct Answer

A:

A long-running controlled request completes once logically despite lock renewal or retry events.

Incorrect Answers

B:

Both subscribed pipelines receive the allowed test event and settle their independent copies. A long-running controlled request completes once logically despite lock renewal or retry events.

C:

The endpoint acknowledges promptly and a durable queue completes the work once logically. A long-running controlled request completes once logically despite lock renewal or retry events.

D:

Repeated submissions inside the configured detection window yield one logical queued request. A long-running controlled request completes once logically despite lock renewal or retry events.

Question 116

After an editor changes an internal pricing policy, the AI assistant keeps returning the stale Redis-cached response. What evidence should be examined to narrow the cause?

  1. Two distinct tenant sessions map to the same cache key for an identical question.
  2. Similarity queries return an embedding match whose department metadata does not match the caller.
  3. Tracing shows identical requests repeatedly access the database and call the embedding service.
  4. The source policy revision is newer than the cached object's stored version.

Explanation

Correct Answer

D:

The source policy revision is newer than the cached object's stored version. Cache correctness requires invalidation logic, not merely fast lookups or long TTLs.

Incorrect Answers

A:

Two distinct tenant sessions map to the same cache key for an identical question. Cache correctness requires invalidation logic, not merely fast lookups or long TTLs. The source policy revision is newer than the cached object's stored version.

B:

Similarity queries return an embedding match whose department metadata does not match the caller. Cache correctness requires invalidation logic, not merely fast lookups or long TTLs. The source policy revision is newer than the cached object's stored version.

C:

Tracing shows identical requests repeatedly access the database and call the embedding service. Cache correctness requires invalidation logic, not merely fast lookups or long TTLs. The source policy revision is newer than the cached object's stored version.

Question 117

An application polls every blob in storage each minute to detect new audio transcripts before starting AI analysis. Select TWO statements: the most appropriate corrective action and its direct verification result.

  1. Use bounded automatic lock renewal or split long computation into durable stages and make the handler idempotent.
  2. Subscribe to the appropriate Event Grid storage events and deliver them to an authenticated function or event handler.
  3. A new test blob emits the expected event and initiates one logical processing operation.
  4. A deliberately failed test event appears in the designated dead-letter storage for controlled replay.
  5. Switch to an appropriate PeekLock workflow with completion after success and durable error handling.

Explanation

Correct Answers

B:

Subscribe to the appropriate Event Grid storage events and deliver them to an authenticated function or event handler. Event Grid supports push-style resource event notifications that reduce repetitive polling. A new test blob emits the expected event and initiates one logical processing operation.

C:

A new test blob emits the expected event and initiates one logical processing operation. Event Grid supports push-style resource event notifications that reduce repetitive polling. Subscribe to the appropriate Event Grid storage events and deliver them to an authenticated function or event handler.

Incorrect Answers

A:

Use bounded automatic lock renewal or split long computation into durable stages and make the handler idempotent. Event Grid supports push-style resource event notifications that reduce repetitive polling. Subscribe to the appropriate Event Grid storage events and deliver them to an authenticated function or event handler.

D:

A deliberately failed test event appears in the designated dead-letter storage for controlled replay. Event Grid supports push-style resource event notifications that reduce repetitive polling. Subscribe to the appropriate Event Grid storage events and deliver them to an authenticated function or event handler.

E:

Switch to an appropriate PeekLock workflow with completion after success and durable error handling. Event Grid supports push-style resource event notifications that reduce repetitive polling. Subscribe to the appropriate Event Grid storage events and deliver them to an authenticated function or event handler.

Question 118

An AI web app returns HTTP 500 only in Azure App Service, but developers see no stdout output from the container. What is the BEST next action for the specific Azure environment described?

  1. Create a scheduled Azure Container Registry Task and retain build and scan evidence before promotion.
  2. Enable supported App Service container logging, inspect application exceptions, and correlate startup and request logs.
  3. Configure the app's expected container port and ensure the server binds to the reachable interface and listening port.
  4. Configure supported ACR private endpoint, DNS resolution, and network restrictions while preserving least-privileged authentication.

Explanation

Correct Answer

B:

Enable supported App Service container logging, inspect application exceptions, and correlate startup and request logs. Platform health metrics alone cannot identify application-level failures without workload logs.

Incorrect Answers

A:

Create a scheduled Azure Container Registry Task and retain build and scan evidence before promotion. Platform health metrics alone cannot identify application-level failures without workload logs. Enable supported App Service container logging, inspect application exceptions, and correlate startup and request logs.

C:

Configure the app's expected container port and ensure the server binds to the reachable interface and listening port. Platform health metrics alone cannot identify application-level failures without workload logs. Enable supported App Service container logging, inspect application exceptions, and correlate startup and request logs.

D:

Configure supported ACR private endpoint, DNS resolution, and network restrictions while preserving least-privileged authentication. Platform health metrics alone cannot identify application-level failures without workload logs. Enable supported App Service container logging, inspect application exceptions, and correlate startup and request logs.

Question 119

A Python inference image contains an outdated base layer, but its application repository has no new commits to trigger a rebuild. Choose TWO: one appropriate technical intervention and one observable acceptance check for this case.

  1. A controlled base update launches the task and produces a new candidate image for review.
  2. Deploy the candidate to a staging slot with slot-specific settings and perform tested slot swap or safe promotion.
  3. Configure an ACR Task with an appropriate base-image update trigger and validate its downstream promotion gate.
  4. Remove the secret from build arguments and use a supported secret-safe build or runtime injection process.
  5. The ARM64 worker pulls a matching image variant and starts a health-checked inference process.

Explanation

Correct Answers

A:

A controlled base update launches the task and produces a new candidate image for review. Configure an ACR Task with an appropriate base-image update trigger and validate its downstream promotion gate.

C:

Configure an ACR Task with an appropriate base-image update trigger and validate its downstream promotion gate. A controlled base update launches the task and produces a new candidate image for review.

Incorrect Answers

B:

Deploy the candidate to a staging slot with slot-specific settings and perform tested slot swap or safe promotion. Configure an ACR Task with an appropriate base-image update trigger and validate its downstream promotion gate.

D:

Remove the secret from build arguments and use a supported secret-safe build or runtime injection process. Configure an ACR Task with an appropriate base-image update trigger and validate its downstream promotion gate. A controlled base update launches the task and produces a new candidate image for review.

E:

The ARM64 worker pulls a matching image variant and starts a health-checked inference process. A controlled base update launches the task and produces a new candidate image for review.

Question 120

A PostgreSQL pgvector table has 600000 vectors and ORDER BY embedding cosine distance is too slow without an approximate index. Which explanation accounts for the observed behavior and intended fix?

  1. Database storage exhaustion is independent of available CPU and query-index tuning.
  2. A hybrid relational and JSONB schema balances structure, flexibility, and indexable access patterns.
  3. HNSW supports approximate nearest neighbors, with build resources and recall affected by tuning settings.
  4. Relational indexing strategy should follow actual predicates, row distribution, and sort requirements.

Explanation

Correct Answer

C:

HNSW supports approximate nearest neighbors, with build resources and recall affected by tuning settings. A PostgreSQL pgvector table has 600000 vectors and ORDER BY embedding cosine distance is too slow without an approximate index.

Incorrect Answers

A:

Database storage exhaustion is independent of available CPU and query-index tuning. A PostgreSQL pgvector table has 600000 vectors and ORDER BY embedding cosine distance is too slow without an approximate index. HNSW supports approximate nearest neighbors, with build resources and recall affected by tuning settings.

B:

A hybrid relational and JSONB schema balances structure, flexibility, and indexable access patterns. A PostgreSQL pgvector table has 600000 vectors and ORDER BY embedding cosine distance is too slow without an approximate index. HNSW supports approximate nearest neighbors, with build resources and recall affected by tuning settings.

D:

Relational indexing strategy should follow actual predicates, row distribution, and sort requirements. A PostgreSQL pgvector table has 600000 vectors and ORDER BY embedding cosine distance is too slow without an approximate index. HNSW supports approximate nearest neighbors, with build resources and recall affected by tuning settings.

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