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

Question 130

A transcription processing handler sometimes needs hours to finish, but the Event Grid subscriber performs the entire job before acknowledging and delivery retries cascade. Choose TWO: one appropriate technical intervention and one observable acceptance check for this case.

  1. The endpoint acknowledges promptly and a durable queue completes the work once logically.
  2. A test image creation invokes the worker while a nonmatching blob event does not.
  3. Publish a well-defined custom Event Grid event using a supported topic or namespace mechanism with schema and identity controls.
  4. Build a reviewed DLQ workflow that inspects original message metadata and failure reason before selective remediation.
  5. Have the Event Grid endpoint validate and enqueue durable work quickly, then process using a suitable queue worker.

Explanation

Correct Answers

A:

The endpoint acknowledges promptly and a durable queue completes the work once logically. Have the Event Grid endpoint validate and enqueue durable work quickly, then process using a suitable queue worker.

E:

Have the Event Grid endpoint validate and enqueue durable work quickly, then process using a suitable queue worker. The endpoint acknowledges promptly and a durable queue completes the work once logically.

Incorrect Answers

B:

A test image creation invokes the worker while a nonmatching blob event does not. The endpoint acknowledges promptly and a durable queue completes the work once logically.

C:

Publish a well-defined custom Event Grid event using a supported topic or namespace mechanism with schema and identity controls. The endpoint acknowledges promptly and a durable queue completes the work once logically.

D:

Build a reviewed DLQ workflow that inspects original message metadata and failure reason before selective remediation. The endpoint acknowledges promptly and a durable queue completes the work once logically.

Question 131

A production AI application still connects to its test database after a deployment because its configuration remained embedded in the image. What technical distinction MOST accurately describes the control boundary?

  1. Scheduled image builds are independent of commits and base-image change triggers.
  2. Artifact lifecycle control must respect active deployment references and operational recovery windows.
  3. Build-time secrets must not be persisted in container layers or exposed in image metadata.
  4. Externalized application configuration separates deployable code artifacts from environment settings.

Explanation

Correct Answer

D:

Externalized application configuration separates deployable code artifacts from environment settings. The completion signal is: Production and staging revisions use their intended endpoints without rebuilding the same immutable image.

Incorrect Answers

A:

Scheduled image builds are independent of commits and base-image change triggers. The completion signal is: Production and staging revisions use their intended endpoints without rebuilding the same immutable image. Externalized application configuration separates deployable code artifacts from environment settings.

B:

Artifact lifecycle control must respect active deployment references and operational recovery windows. The completion signal is: Production and staging revisions use their intended endpoints without rebuilding the same immutable image. Externalized application configuration separates deployable code artifacts from environment settings.

C:

Build-time secrets must not be persisted in container layers or exposed in image metadata. The completion signal is: Production and staging revisions use their intended endpoints without rebuilding the same immutable image. Externalized application configuration separates deployable code artifacts from environment settings.

Question 132

A worker receives a Service Bus message in PeekLock mode, then crashes before completing it; the operator incorrectly assumes it was removed. 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 deliberately failed test event appears in the designated dead-letter storage for controlled replay.
  3. Both subscribed pipelines receive the allowed test event and settle their independent copies.
  4. A deliberate crash causes safe redelivery and one logical output record.

Explanation

Correct Answer

D:

A deliberate crash causes safe redelivery and one logical output record. The original evidence to compare against is: Delivery history shows the same message reappears after its lock expires without settlement.

Incorrect Answers

A:

An approved event is accepted and an unauthorized simulated sender is rejected. The original evidence to compare against is: Delivery history shows the same message reappears after its lock expires without settlement. A deliberate crash causes safe redelivery and one logical output record.

B:

A deliberately failed test event appears in the designated dead-letter storage for controlled replay. The original evidence to compare against is: Delivery history shows the same message reappears after its lock expires without settlement. A deliberate crash causes safe redelivery and one logical output record.

C:

Both subscribed pipelines receive the allowed test event and settle their independent copies. The original evidence to compare against is: Delivery history shows the same message reappears after its lock expires without settlement. A deliberate crash causes safe redelivery and one logical output record.

Question 133

A Python API concatenates a user-provided order ID into a Cosmos DB SQL query and the review flags query text manipulation risks. Which explanation accounts for the observed behavior and intended fix?

  1. Provisioned throughput governs RU capacity; autoscaling does not eliminate hot-partition or retry considerations.
  2. Parameterized queries separate data values from query syntax and reduce injection exposure.
  3. Top-k query bounds avoid returning an unnecessarily large vector result set.
  4. Approximate vector indexing can trade some recall for faster similarity retrieval and lower query cost at scale.

Explanation

Correct Answer

B:

Parameterized queries separate data values from query syntax and reduce injection exposure.

Incorrect Answers

A:

Provisioned throughput governs RU capacity; autoscaling does not eliminate hot-partition or retry considerations. Parameterized queries separate data values from query syntax and reduce injection exposure.

C:

Top-k query bounds avoid returning an unnecessarily large vector result set. Parameterized queries separate data values from query syntax and reduce injection exposure.

D:

Approximate vector indexing can trade some recall for faster similarity retrieval and lower query cost at scale. Parameterized queries separate data values from query syntax and reduce injection exposure.

Question 134

An Azure Event Grid subscription triggers image processing for every storage change, including unrelated file types and deleted objects. What evidence should be examined to narrow the cause?

  1. The main queue's delivery count reaches its limit and the message appears in the dead-letter subqueue.
  2. Delivery logs include delete events and non-image uploads that the handler immediately rejects.
  3. The receiver processes unsigned arbitrary requests without confirming subscription identity or authorized sender.
  4. Worker logs show lock-lost exceptions and simultaneous redelivery during inference.

Explanation

Correct Answer

B:

Delivery logs include delete events and non-image uploads that the handler immediately rejects. Event Grid filters reduce unnecessary event delivery when matching on documented event fields.

Incorrect Answers

A:

The main queue's delivery count reaches its limit and the message appears in the dead-letter subqueue. Event Grid filters reduce unnecessary event delivery when matching on documented event fields. Delivery logs include delete events and non-image uploads that the handler immediately rejects.

C:

The receiver processes unsigned arbitrary requests without confirming subscription identity or authorized sender. Event Grid filters reduce unnecessary event delivery when matching on documented event fields. Delivery logs include delete events and non-image uploads that the handler immediately rejects.

D:

Worker logs show lock-lost exceptions and simultaneous redelivery during inference. Event Grid filters reduce unnecessary event delivery when matching on documented event fields. Delivery logs include delete events and non-image uploads that the handler immediately rejects.

Question 135

An AI request traverses API Gateway, Azure Functions, PostgreSQL, and Redis, but each log stream uses unrelated operation IDs. Which security principle best explains why the proposed response fits the case?

  1. KQL filtering selects the relevant table, time range, and condition before aggregation.
  2. Tracing should represent operational failure accurately while avoiding sensitive payload leakage.
  3. Joining correlated telemetry reveals a causal path more reliably than comparing global error counts.
  4. Distributed tracing requires consistent context propagation, not just a tracing library installed in each service.

Explanation

Correct Answer

D:

Distributed tracing requires consistent context propagation, not just a tracing library installed in each service.

Incorrect Answers

A:

KQL filtering selects the relevant table, time range, and condition before aggregation. Distributed tracing requires consistent context propagation, not just a tracing library installed in each service.

B:

Tracing should represent operational failure accurately while avoiding sensitive payload leakage. Distributed tracing requires consistent context propagation, not just a tracing library installed in each service.

C:

Joining correlated telemetry reveals a causal path more reliably than comparing global error counts. Distributed tracing requires consistent context propagation, not just a tracing library installed in each service.

Question 136

A knowledge base requires stable user IDs and timestamps plus flexible optional document tags that vary by organization. Which implementation choice most directly resolves this service problem?

  1. Use typed relational columns for predictable keys and appropriate JSONB for genuinely flexible metadata, with needed indexes.
  2. Use parameterized database commands and maintain authenticated tenant filters in every read and write.
  3. Combine pgvector nearest-neighbor ranking with an enforced workspace predicate and appropriate relational and vector indexing.
  4. Evaluate the supported DiskANN index option on Azure Database for PostgreSQL Flexible Server and benchmark recall, memory, and QPS.

Explanation

Correct Answer

A:

Use typed relational columns for predictable keys and appropriate JSONB for genuinely flexible metadata, with needed indexes. The case reports: A knowledge base requires stable user IDs and timestamps plus flexible optional document tags that vary by organization.

Incorrect Answers

B:

Use parameterized database commands and maintain authenticated tenant filters in every read and write. The case reports: A knowledge base requires stable user IDs and timestamps plus flexible optional document tags that vary by organization. Use typed relational columns for predictable keys and appropriate JSONB for genuinely flexible metadata, with needed indexes.

C:

Combine pgvector nearest-neighbor ranking with an enforced workspace predicate and appropriate relational and vector indexing. The case reports: A knowledge base requires stable user IDs and timestamps plus flexible optional document tags that vary by organization. Use typed relational columns for predictable keys and appropriate JSONB for genuinely flexible metadata, with needed indexes.

D:

Evaluate the supported DiskANN index option on Azure Database for PostgreSQL Flexible Server and benchmark recall, memory, and QPS. The case reports: A knowledge base requires stable user IDs and timestamps plus flexible optional document tags that vary by organization. Use typed relational columns for predictable keys and appropriate JSONB for genuinely flexible metadata, with needed indexes.

Question 137

A chatbot frequently asks for the same static product policy and repeatedly recomputes expensive retrieval results. Which security principle best explains why the proposed response fits the case?

  1. TTL-based caching trades freshness for reduced repeated computation and must include relevant context in keys.
  2. Redis vector search requires a declared index and compatible vector representation, not just storing raw bytes.
  3. A vector distance metric is part of the search contract and affects relevance even with identical vectors.
  4. Cache availability and durability characteristics must match recovery requirements and the authoritative data design.

Explanation

Correct Answer

A:

TTL-based caching trades freshness for reduced repeated computation and must include relevant context in keys. The completion signal is: A repeated authorized request hits cache, reduces response latency, and expires when policy requires refresh.

Incorrect Answers

B:

Redis vector search requires a declared index and compatible vector representation, not just storing raw bytes. The completion signal is: A repeated authorized request hits cache, reduces response latency, and expires when policy requires refresh. TTL-based caching trades freshness for reduced repeated computation and must include relevant context in keys.

C:

A vector distance metric is part of the search contract and affects relevance even with identical vectors. The completion signal is: A repeated authorized request hits cache, reduces response latency, and expires when policy requires refresh. TTL-based caching trades freshness for reduced repeated computation and must include relevant context in keys.

D:

Cache availability and durability characteristics must match recovery requirements and the authoritative data design. The completion signal is: A repeated authorized request hits cache, reduces response latency, and expires when policy requires refresh. TTL-based caching trades freshness for reduced repeated computation and must include relevant context in keys.

Question 138

An event topic contains both translation and summarization jobs, but every subscription receives all messages and discards most of them. How should the team confirm the targeted requirement has been met?

  1. A replayed event produces one logical embedding update and the endpoint returns a successful response.
  2. A simulated receiver crash results in a replayable message instead of losing the operation.
  3. A deliberately failed test event appears in the designated dead-letter storage for controlled replay.
  4. Only the translation subscription receives translated-job tests and the summarization subscription receives its matches.

Explanation

Correct Answer

D:

Only the translation subscription receives translated-job tests and the summarization subscription receives its matches.

Incorrect Answers

A:

A replayed event produces one logical embedding update and the endpoint returns a successful response. Only the translation subscription receives translated-job tests and the summarization subscription receives its matches.

B:

A simulated receiver crash results in a replayable message instead of losing the operation. Only the translation subscription receives translated-job tests and the summarization subscription receives its matches.

C:

A deliberately failed test event appears in the designated dead-letter storage for controlled replay. Only the translation subscription receives translated-job tests and the summarization subscription receives its matches.

Question 139

A Container Apps worker restarts because a storage token was referenced as a literal value instead of as a named application secret. Which explanation accounts for the observed behavior and intended fix?

  1. Container App secret references must connect secret names and workload environment bindings correctly.
  2. Finite batch processing is better represented by a job execution than an always-on request endpoint.
  3. Azure Container Apps revisions can separate application versions while ingress weights govern rollout traffic.
  4. ConfigMaps are not intended for credentials and should be separated from protected secret material.

Explanation

Correct Answer

A:

Container App secret references must connect secret names and workload environment bindings correctly. The completion signal is: The worker reads the intended secret after restart without any raw token in its image definition.

Incorrect Answers

B:

Finite batch processing is better represented by a job execution than an always-on request endpoint. The completion signal is: The worker reads the intended secret after restart without any raw token in its image definition. Container App secret references must connect secret names and workload environment bindings correctly.

C:

Azure Container Apps revisions can separate application versions while ingress weights govern rollout traffic. The completion signal is: The worker reads the intended secret after restart without any raw token in its image definition. Container App secret references must connect secret names and workload environment bindings correctly.

D:

ConfigMaps are not intended for credentials and should be separated from protected secret material. The completion signal is: The worker reads the intended secret after restart without any raw token in its image definition. Container App secret references must connect secret names and workload environment bindings correctly.

Question 140

An Azure Event Grid subscription triggers image processing for every storage change, including unrelated file types and deleted objects. What is the BEST next action for the specific Azure environment described?

  1. Configure supported event type and advanced filters on subject or payload fields to narrow delivery to eligible inputs.
  2. Use a session-enabled Service Bus entity with a stable SessionId per conversation and session-aware consumers.
  3. Use bounded automatic lock renewal or split long computation into durable stages and make the handler idempotent.
  4. Publish to a Service Bus topic and create distinct subscriptions with suitable filters for each consumer.

Explanation

Correct Answer

A:

Configure supported event type and advanced filters on subject or payload fields to narrow delivery to eligible inputs. The developer should confirm: A test image creation invokes the worker while a nonmatching blob event does not.

Incorrect Answers

B:

Use a session-enabled Service Bus entity with a stable SessionId per conversation and session-aware consumers. The developer should confirm: A test image creation invokes the worker while a nonmatching blob event does not. Configure supported event type and advanced filters on subject or payload fields to narrow delivery to eligible inputs.

C:

Use bounded automatic lock renewal or split long computation into durable stages and make the handler idempotent. The developer should confirm: A test image creation invokes the worker while a nonmatching blob event does not. Configure supported event type and advanced filters on subject or payload fields to narrow delivery to eligible inputs.

D:

Publish to a Service Bus topic and create distinct subscriptions with suitable filters for each consumer. The developer should confirm: A test image creation invokes the worker while a nonmatching blob event does not. Configure supported event type and advanced filters on subject or payload fields to narrow delivery to eligible inputs.

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