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

Question 300

A vector ingestion service approaches its flexible server storage capacity and scheduled ingestion begins failing despite healthy CPU. Which security principle best explains why the proposed response fits the case?

  1. Vector column dimensions must align with the embedding model; mixing model spaces is not a valid search upgrade.
  2. Vector relevance ranking does not replace relational authorization predicates and tenant isolation.
  3. Database storage exhaustion is independent of available CPU and query-index tuning.
  4. High-churn PostgreSQL tables need statistics and vacuum maintenance alongside vector index design.

Explanation

Correct Answer

C:

Database storage exhaustion is independent of available CPU and query-index tuning. The specific corrective measure is: Configure an appropriate storage-growth strategy and alerts with capacity headroom, then validate space and quota limits.

Incorrect Answers

A:

Vector column dimensions must align with the embedding model; mixing model spaces is not a valid search upgrade. The specific corrective measure is: Configure an appropriate storage-growth strategy and alerts with capacity headroom, then validate space and quota limits. Database storage exhaustion is independent of available CPU and query-index tuning.

B:

Vector relevance ranking does not replace relational authorization predicates and tenant isolation. The specific corrective measure is: Configure an appropriate storage-growth strategy and alerts with capacity headroom, then validate space and quota limits. Database storage exhaustion is independent of available CPU and query-index tuning.

D:

High-churn PostgreSQL tables need statistics and vacuum maintenance alongside vector index design. The specific corrective measure is: Configure an appropriate storage-growth strategy and alerts with capacity headroom, then validate space and quota limits. Database storage exhaustion is independent of available CPU and query-index tuning.

Question 301

An embedding cache periodically loses popular values and the AI service recomputes them, while Redis memory usage remains at its configured maximum. Which recorded observation would most clearly support the suspected issue?

  1. Recovery test shows Redis restart removes the only copies of information needed to reconstruct search context.
  2. Redis metrics show evicted keys rising at memory pressure while the application records falling cache hit ratio.
  3. Distributed traces show many identical cache misses and concurrent calls to the same expensive model operation.
  4. Traces show many serial client-server round trips with minimal Redis execution time.

Explanation

Correct Answer

B:

Redis metrics show evicted keys rising at memory pressure while the application records falling cache hit ratio. An in-memory cache's eviction policy and capacity determine how frequently cached results survive.

Incorrect Answers

A:

Recovery test shows Redis restart removes the only copies of information needed to reconstruct search context. An in-memory cache's eviction policy and capacity determine how frequently cached results survive. Redis metrics show evicted keys rising at memory pressure while the application records falling cache hit ratio.

C:

Distributed traces show many identical cache misses and concurrent calls to the same expensive model operation. An in-memory cache's eviction policy and capacity determine how frequently cached results survive. Redis metrics show evicted keys rising at memory pressure while the application records falling cache hit ratio.

D:

Traces show many serial client-server round trips with minimal Redis execution time. An in-memory cache's eviction policy and capacity determine how frequently cached results survive. Redis metrics show evicted keys rising at memory pressure while the application records falling cache hit ratio.

Question 302

A service has Azure Monitor request logs, and analysts want to find failed API requests from the last fifteen minutes without scanning every workspace table manually. Which outcome would demonstrate that the control meets its stated goal?

  1. A p95 time series reproduces known slow test requests and tracks the agreed SLO.
  2. The query returns a timestamped cross-table timeline with correct source labels and no unrelated records.
  3. A test failure appears in a scoped recent-failure result set with operation ID.
  4. A controlled backlog test triggers a workload-relevant alert before the processing deadline is missed.

Explanation

Correct Answer

C:

A test failure appears in a scoped recent-failure result set with operation ID.

Incorrect Answers

A:

A p95 time series reproduces known slow test requests and tracks the agreed SLO. A test failure appears in a scoped recent-failure result set with operation ID.

B:

The query returns a timestamped cross-table timeline with correct source labels and no unrelated records. A test failure appears in a scoped recent-failure result set with operation ID.

D:

A controlled backlog test triggers a workload-relevant alert before the processing deadline is missed. A test failure appears in a scoped recent-failure result set with operation ID.

Question 303

A Redis semantic cache has an HNSW index configured for L2 but its embedding evaluation assumes cosine distance and ranks tests unexpectedly. Which TWO choices together identify the recommended action and a meaningful success test?

  1. The next authorized request reflects the revised policy and stale cache keys are absent.
  2. Include the authorized tenant, model version, and relevant retrieval scope in cache keys and enforce access checks before reuse.
  3. Combine vector KNN ranking with the appropriate RediSearch tag or numeric filters and application authorization.
  4. Recreate or configure a vector index with the appropriate supported metric and evaluate neighbors against the embedding model.
  5. Controlled query rankings agree with the chosen metric and the KNN application threshold is retuned.

Explanation

Correct Answers

D:

Recreate or configure a vector index with the appropriate supported metric and evaluate neighbors against the embedding model. The diagnostic evidence is: The index schema reports L2 while the reference ranking benchmark uses cosine similarity.

E:

Controlled query rankings agree with the chosen metric and the KNN application threshold is retuned. The diagnostic evidence is: The index schema reports L2 while the reference ranking benchmark uses cosine similarity.

Incorrect Answers

A:

The next authorized request reflects the revised policy and stale cache keys are absent. The diagnostic evidence is: The index schema reports L2 while the reference ranking benchmark uses cosine similarity. Recreate or configure a vector index with the appropriate supported metric and evaluate neighbors against the embedding model.

B:

Include the authorized tenant, model version, and relevant retrieval scope in cache keys and enforce access checks before reuse. The diagnostic evidence is: The index schema reports L2 while the reference ranking benchmark uses cosine similarity. Recreate or configure a vector index with the appropriate supported metric and evaluate neighbors against the embedding model.

C:

Combine vector KNN ranking with the appropriate RediSearch tag or numeric filters and application authorization. The diagnostic evidence is: The index schema reports L2 while the reference ranking benchmark uses cosine similarity. Recreate or configure a vector index with the appropriate supported metric and evaluate neighbors against the embedding model.

Question 304

A function receives new model inference results but its output binding targets the wrong storage container and silently sends records elsewhere. Which TWO selections jointly address the reported risk and demonstrate success?

  1. Correct the output binding path and connection configuration and validate its resource identity and permissions.
  2. The poison message is isolated with diagnostics and valid jobs continue to complete.
  3. Package a compatible requirements.txt and supported runtime environment, then redeploy or perform a clean build.
  4. Use an appropriate Event Grid trigger and the correct subscription filters and endpoint configuration.
  5. A controlled invocation stores output in the intended partition or blob with the expected payload.

Explanation

Correct Answers

A:

Correct the output binding path and connection configuration and validate its resource identity and permissions. A controlled invocation stores output in the intended partition or blob with the expected payload.

E:

A controlled invocation stores output in the intended partition or blob with the expected payload. Correct the output binding path and connection configuration and validate its resource identity and permissions.

Incorrect Answers

B:

The poison message is isolated with diagnostics and valid jobs continue to complete. A controlled invocation stores output in the intended partition or blob with the expected payload.

C:

Package a compatible requirements.txt and supported runtime environment, then redeploy or perform a clean build. A controlled invocation stores output in the intended partition or blob with the expected payload.

D:

Use an appropriate Event Grid trigger and the correct subscription filters and endpoint configuration. Correct the output binding path and connection configuration and validate its resource identity and permissions.

Question 305

An AI backend reads a database password from Key Vault only during process startup, so it continues using an expired old version after vault rotation. Which design change MOST directly addresses the organization's stated security requirement?

  1. Design a supported secret refresh or rotation notification mechanism and update dependent client connection handling.
  2. Use an appropriately versioned secret reference or controlled secret alias strategy with explicit promotion checks.
  3. Use a managed identity with least-privilege Key Vault access and retrieve the secret through a supported SDK or secure reference.
  4. Enable appropriate Key Vault diagnostic logging and route access events to an approved protected Log Analytics destination.

Explanation

Correct Answer

A:

Design a supported secret refresh or rotation notification mechanism and update dependent client connection handling. The developer should confirm: After a controlled rotation, the application authenticates with the new secret without a code redeployment.

Incorrect Answers

B:

Use an appropriately versioned secret reference or controlled secret alias strategy with explicit promotion checks. The developer should confirm: After a controlled rotation, the application authenticates with the new secret without a code redeployment. Design a supported secret refresh or rotation notification mechanism and update dependent client connection handling.

C:

Use a managed identity with least-privilege Key Vault access and retrieve the secret through a supported SDK or secure reference. The developer should confirm: After a controlled rotation, the application authenticates with the new secret without a code redeployment. Design a supported secret refresh or rotation notification mechanism and update dependent client connection handling.

D:

Enable appropriate Key Vault diagnostic logging and route access events to an approved protected Log Analytics destination. The developer should confirm: After a controlled rotation, the application authenticates with the new secret without a code redeployment. Design a supported secret refresh or rotation notification mechanism and update dependent client connection handling.

Question 306

A document cannot be processed until an upstream OCR result arrives in twenty minutes, and current workers repeatedly abandon and reread the same request. Which TWO choices together identify the recommended action and a meaningful success test?

  1. The document runs after the scheduled dependency point without exhausting deliveries or losing traceability.
  2. Switch to an appropriate PeekLock workflow with completion after success and durable error handling.
  3. Use supported Service Bus message scheduling or a controlled deferred-message workflow with explicit retrieval rules.
  4. Per-conversation outputs appear in order while different session IDs process concurrently.
  5. Use supported delivery authentication, subscription validation, and network restrictions or identity validation for the endpoint.

Explanation

Correct Answers

A:

The document runs after the scheduled dependency point without exhausting deliveries or losing traceability. This selection supplies the implementation action for: A document cannot be processed until an upstream OCR result arrives in twenty minutes, and current workers repeatedly abandon and reread the same request.

C:

Use supported Service Bus message scheduling or a controlled deferred-message workflow with explicit retrieval rules. This selection supplies the implementation action for: 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

B:

Switch to an appropriate PeekLock workflow with completion after success and durable error handling. This selection supplies the implementation action for: A document cannot be processed until an upstream OCR result arrives in twenty minutes, and current workers repeatedly abandon and reread the same request. The document runs after the scheduled dependency point without exhausting deliveries or losing traceability.

D:

Per-conversation outputs appear in order while different session IDs process concurrently. This selection supplies the implementation action for: A document cannot be processed until an upstream OCR result arrives in twenty minutes, and current workers repeatedly abandon and reread the same request. The document runs after the scheduled dependency point without exhausting deliveries or losing traceability.

E:

Use supported delivery authentication, subscription validation, and network restrictions or identity validation for the endpoint. This selection supplies the implementation action for: A document cannot be processed until an upstream OCR result arrives in twenty minutes, and current workers repeatedly abandon and reread the same request. Use supported Service Bus message scheduling or a controlled deferred-message workflow with explicit retrieval rules.

Question 307

An application polls every blob in storage each minute to detect new audio transcripts before starting AI analysis. Which design change MOST directly addresses the organization's stated security requirement?

  1. Subscribe to the appropriate Event Grid storage events and deliver them to an authenticated function or event handler.
  2. Use supported delivery authentication, subscription validation, and network restrictions or identity validation for the endpoint.
  3. Use a Service Bus queue with competing receivers and explicitly settle each processed message.
  4. Implement idempotency keyed on stable event identity or resource version and acknowledge events after a durable accepted operation.

Explanation

Correct Answer

A:

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.

Incorrect Answers

B:

Use supported delivery authentication, subscription validation, and network restrictions or identity validation for the endpoint. 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.

C:

Use a Service Bus queue with competing receivers and explicitly settle each processed message. 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:

Implement idempotency keyed on stable event identity or resource version and acknowledge events after a durable accepted 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.

Question 308

A poison document message repeatedly fails JSON validation and blocks a processing worker until its lock attempts are exhausted. Which security principle best explains why the proposed response fits the case?

  1. ReceiveAndDelete settles delivery at transfer and can lose work if processing fails afterward.
  2. Dead-lettering isolates messages that repeatedly fail processing while preserving evidence and retry options.
  3. Broker-side subscription filtering reduces unnecessary delivery and consumer-side discards.
  4. Scheduled and deferred messages offer different mechanisms for handling work that is not yet ready.

Explanation

Correct Answer

B:

Dead-lettering isolates messages that repeatedly fail processing while preserving evidence and retry options. The completion signal is: A corrected synthetic message completes and the bad payload remains available for diagnostics rather than looping forever.

Incorrect Answers

A:

ReceiveAndDelete settles delivery at transfer and can lose work if processing fails afterward. The completion signal is: A corrected synthetic message completes and the bad payload remains available for diagnostics rather than looping forever. Dead-lettering isolates messages that repeatedly fail processing while preserving evidence and retry options.

C:

Broker-side subscription filtering reduces unnecessary delivery and consumer-side discards. The completion signal is: A corrected synthetic message completes and the bad payload remains available for diagnostics rather than looping forever. Dead-lettering isolates messages that repeatedly fail processing while preserving evidence and retry options.

D:

Scheduled and deferred messages offer different mechanisms for handling work that is not yet ready. The completion signal is: A corrected synthetic message completes and the bad payload remains available for diagnostics rather than looping forever. Dead-lettering isolates messages that repeatedly fail processing while preserving evidence and retry options.

Question 309

An embedding table has frequent document revisions and its query performance degrades as dead tuples and index size grow. Which evidence would MOST directly substantiate the reported gap?

  1. Monitoring shows elevated dead tuples, stale statistics, and index growth after repeated updates.
  2. Index creation rejects the vector dimension even though the table successfully stores the vectors.
  3. The current SQL ranks vectors across all workspaces and filters ownership only in application code.
  4. Database response size grows with the entire table even though only five results are sent to clients.

Explanation

Correct Answer

A:

Monitoring shows elevated dead tuples, stale statistics, and index growth after repeated updates. High-churn PostgreSQL tables need statistics and vacuum maintenance alongside vector index design.

Incorrect Answers

B:

Index creation rejects the vector dimension even though the table successfully stores the vectors. High-churn PostgreSQL tables need statistics and vacuum maintenance alongside vector index design. Monitoring shows elevated dead tuples, stale statistics, and index growth after repeated updates.

C:

The current SQL ranks vectors across all workspaces and filters ownership only in application code. High-churn PostgreSQL tables need statistics and vacuum maintenance alongside vector index design. Monitoring shows elevated dead tuples, stale statistics, and index growth after repeated updates.

D:

Database response size grows with the entire table even though only five results are sent to clients. High-churn PostgreSQL tables need statistics and vacuum maintenance alongside vector index design. Monitoring shows elevated dead tuples, stale statistics, and index growth after repeated updates.

Question 310

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 would be the strongest observable evidence of successful remediation?

  1. An approved event is accepted and an unauthorized simulated sender is rejected.
  2. A test image creation invokes the worker while a nonmatching blob event does not.
  3. A corrected synthetic message completes and the bad payload remains available for diagnostics rather than looping forever.
  4. The document runs after the scheduled dependency point without exhausting deliveries or losing traceability.

Explanation

Correct Answer

D:

The document runs after the scheduled dependency point without exhausting deliveries or losing traceability.

Incorrect Answers

A:

An approved event is accepted and an unauthorized simulated sender is rejected. The document runs after the scheduled dependency point without exhausting deliveries or losing traceability.

B:

A test image creation invokes the worker while a nonmatching blob event does not. The document runs after the scheduled dependency point without exhausting deliveries or losing traceability.

C:

A corrected synthetic message completes and the bad payload remains available for diagnostics rather than looping forever. The document runs after the scheduled dependency point without exhausting deliveries or losing traceability.

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