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

Question 350

A support-chat summarizer scans every Cosmos DB conversation document every minute to identify only newly changed items. Which TWO selections jointly address the reported risk and demonstrate success?

  1. A new or updated item triggers one useful downstream operation under normal processing and retries cause no duplicated result.
  2. Use SDK-supported parameterized queries with an explicit partition scope and validate authorized inputs.
  3. Supply both the document id and correct partition key for point reads rather than assuming id is globally unique.
  4. Implement a change feed processor with appropriate leases, checkpoint handling, and idempotent downstream actions.
  5. A test vector inserts successfully and VectorDistance returns expected nearest neighbors.

Explanation

Correct Answers

A:

A new or updated item triggers one useful downstream operation under normal processing and retries cause no duplicated result. Cosmos DB change feed provides incremental change processing but consumers must handle at-least-once effects.

D:

Implement a change feed processor with appropriate leases, checkpoint handling, and idempotent downstream actions. Cosmos DB change feed provides incremental change processing but consumers must handle at-least-once effects. A new or updated item triggers one useful downstream operation under normal processing and retries cause no duplicated result.

Incorrect Answers

B:

Use SDK-supported parameterized queries with an explicit partition scope and validate authorized inputs. Cosmos DB change feed provides incremental change processing but consumers must handle at-least-once effects. Implement a change feed processor with appropriate leases, checkpoint handling, and idempotent downstream actions.

C:

Supply both the document id and correct partition key for point reads rather than assuming id is globally unique. Cosmos DB change feed provides incremental change processing but consumers must handle at-least-once effects. A new or updated item triggers one useful downstream operation under normal processing and retries cause no duplicated result.

E:

A test vector inserts successfully and VectorDistance returns expected nearest neighbors. Cosmos DB change feed provides incremental change processing but consumers must handle at-least-once effects. A new or updated item triggers one useful downstream operation under normal processing and retries cause no duplicated result.

Question 351

A large telemetry document stores embedding metadata and verbose immutable text, but indexing every property makes high-volume writes expensive. How should the team confirm the targeted requirement has been met?

  1. The query yields the intended top-ten set with reduced response size and RU usage.
  2. A test session expires according to policy without deleting non-expiring protected records.
  3. A controlled bulk insert uses fewer RUs and required production queries keep acceptable latency.
  4. A valid index is created for the selected dimensions and a controlled nearest-neighbor query succeeds.

Explanation

Correct Answer

C:

A controlled bulk insert uses fewer RUs and required production queries keep acceptable latency.

Incorrect Answers

A:

The query yields the intended top-ten set with reduced response size and RU usage. A controlled bulk insert uses fewer RUs and required production queries keep acceptable latency.

B:

A test session expires according to policy without deleting non-expiring protected records. A controlled bulk insert uses fewer RUs and required production queries keep acceptable latency.

D:

A valid index is created for the selected dimensions and a controlled nearest-neighbor query succeeds. A controlled bulk insert uses fewer RUs and required production queries keep acceptable latency.

Question 352

A low-traffic embedding worker should consume no compute between scheduled messages, but it retains multiple idle replicas. Which recorded observation would most clearly support the suspected issue?

  1. The deployment's minimum replicas are configured above zero despite a working event trigger.
  2. Pod events show recurring failed liveness probes and increasing restarts despite successful eventual requests.
  3. The ConfigMap is readable as ordinary deployment configuration and contains a live credential.
  4. Service manifest sets type LoadBalancer and reports a public external address.

Explanation

Correct Answer

A:

The deployment's minimum replicas are configured above zero despite a working event trigger. Event-driven scale-to-zero requires a compatible trigger and a minimum-replica setting that permits zero.

Incorrect Answers

B:

Pod events show recurring failed liveness probes and increasing restarts despite successful eventual requests. Event-driven scale-to-zero requires a compatible trigger and a minimum-replica setting that permits zero. The deployment's minimum replicas are configured above zero despite a working event trigger.

C:

The ConfigMap is readable as ordinary deployment configuration and contains a live credential. Event-driven scale-to-zero requires a compatible trigger and a minimum-replica setting that permits zero. The deployment's minimum replicas are configured above zero despite a working event trigger.

D:

Service manifest sets type LoadBalancer and reports a public external address. Event-driven scale-to-zero requires a compatible trigger and a minimum-replica setting that permits zero. The deployment's minimum replicas are configured above zero despite a working event trigger.

Question 353

A Python inference endpoint inserts user-provided project identifiers directly into a PostgreSQL WHERE clause and a review flags unsafe query concatenation. How should the team confirm the targeted requirement has been met?

  1. The revised query plan uses a selective index and p95 latency falls on representative data.
  2. Synthetic SQL control characters are stored or compared as data without altering query structure.
  3. The revised maintenance window preserves application latency and produces an up-to-date usable index.
  4. The database returns five ranked results per request and application memory remains bounded.

Explanation

Correct Answer

B:

Synthetic SQL control characters are stored or compared as data without altering query structure.

Incorrect Answers

A:

The revised query plan uses a selective index and p95 latency falls on representative data. Synthetic SQL control characters are stored or compared as data without altering query structure.

C:

The revised maintenance window preserves application latency and produces an up-to-date usable index. Synthetic SQL control characters are stored or compared as data without altering query structure.

D:

The database returns five ranked results per request and application memory remains bounded. Synthetic SQL control characters are stored or compared as data without altering query structure.

Question 354

An AKS inference pod is repeatedly killed when a slow embedding query exceeds the liveness probe timeout. Select TWO statements: the most appropriate corrective action and its direct verification result.

  1. Use an internal ClusterIP Service and route only the authorized in-cluster consumers to it.
  2. The worker scales to zero while idle and resumes on a new test message with acceptable startup latency.
  3. The pod handles slow requests without a restart loop while actual deadlocks still trigger recovery.
  4. Use an Azure Container Apps Job with a scheduled trigger and explicit execution completion behavior.
  5. Separate liveness from readiness and startup probes and tune thresholds after identifying the slow operation.

Explanation

Correct Answers

C:

The pod handles slow requests without a restart loop while actual deadlocks still trigger recovery. The accompanying action is to separate liveness from readiness and startup probes and tune thresholds after identifying the slow operation.

E:

Separate liveness from readiness and startup probes and tune thresholds after identifying the slow operation. The pod handles slow requests without a restart loop while actual deadlocks still trigger recovery.

Incorrect Answers

A:

Use an internal ClusterIP Service and route only the authorized in-cluster consumers to it. The pod handles slow requests without a restart loop while actual deadlocks still trigger recovery. Separate liveness from readiness and startup probes and tune thresholds after identifying the slow operation.

B:

The worker scales to zero while idle and resumes on a new test message with acceptable startup latency. The pod handles slow requests without a restart loop while actual deadlocks still trigger recovery. The corresponding check is whether the pod handles slow requests without a restart loop while actual deadlocks still trigger recovery.

D:

Use an Azure Container Apps Job with a scheduled trigger and explicit execution completion behavior. The pod handles slow requests without a restart loop while actual deadlocks still trigger recovery. Separate liveness from readiness and startup probes and tune thresholds after identifying the slow operation.

Question 355

A monthly data-reembedding workload is accidentally deployed as a continually running HTTP service instead of a finite background job. Which explanation accounts for the observed behavior and intended fix?

  1. Finite batch processing is better represented by a job execution than an always-on request endpoint.
  2. Event-driven scale-to-zero requires a compatible trigger and a minimum-replica setting that permits zero.
  3. HTTP autoscaling responds to request concurrency and differs from event-source queue depth scaling.
  4. Event-triggered jobs handle finite workloads and still require idempotent processing of duplicate signals.

Explanation

Correct Answer

A:

Finite batch processing is better represented by a job execution than an always-on request endpoint. The completion signal is: A scheduled test run starts once, finishes, and records exit status without persistent replicas.

Incorrect Answers

B:

Event-driven scale-to-zero requires a compatible trigger and a minimum-replica setting that permits zero. The completion signal is: A scheduled test run starts once, finishes, and records exit status without persistent replicas. Finite batch processing is better represented by a job execution than an always-on request endpoint.

C:

HTTP autoscaling responds to request concurrency and differs from event-source queue depth scaling. The completion signal is: A scheduled test run starts once, finishes, and records exit status without persistent replicas. Finite batch processing is better represented by a job execution than an always-on request endpoint.

D:

Event-triggered jobs handle finite workloads and still require idempotent processing of duplicate signals. The completion signal is: A scheduled test run starts once, finishes, and records exit status without persistent replicas. Finite batch processing is better represented by a job execution than an always-on request endpoint.

Question 356

A large telemetry document stores embedding metadata and verbose immutable text, but indexing every property makes high-volume writes expensive. Which evidence would MOST directly substantiate the reported gap?

  1. The query string includes unsanitized request parameters before being sent to the data service.
  2. Write RU diagnostics remain high while query plans never filter or sort on the verbose field.
  3. Update logs show both workers read the same item version before unconditional replacement.
  4. The flat index policy exceeds its documented dimension limit for the embedding model.

Explanation

Correct Answer

B:

Write RU diagnostics remain high while query plans never filter or sort on the verbose field. Cosmos DB indexing policies trade write cost and index maintenance against query access needs.

Incorrect Answers

A:

The query string includes unsanitized request parameters before being sent to the data service. Cosmos DB indexing policies trade write cost and index maintenance against query access needs. Write RU diagnostics remain high while query plans never filter or sort on the verbose field.

C:

Update logs show both workers read the same item version before unconditional replacement. Cosmos DB indexing policies trade write cost and index maintenance against query access needs. Write RU diagnostics remain high while query plans never filter or sort on the verbose field.

D:

The flat index policy exceeds its documented dimension limit for the embedding model. Cosmos DB indexing policies trade write cost and index maintenance against query access needs. Write RU diagnostics remain high while query plans never filter or sort on the verbose field.

Question 357

An event topic contains both translation and summarization jobs, but every subscription receives all messages and discards most of them. What concept is most relevant to understanding the decision?

  1. Broker-side subscription filtering reduces unnecessary delivery and consumer-side discards.
  2. Dead-lettering protects recoverability when repeated push deliveries cannot reach an event handler.
  3. Topic subscriptions give multiple consumer groups separate delivery and retry state.
  4. Event Grid distributes notifications; durable long-running work belongs in a compatible processing workflow.

Explanation

Correct Answer

A:

Broker-side subscription filtering reduces unnecessary delivery and consumer-side discards.

Incorrect Answers

B:

Dead-lettering protects recoverability when repeated push deliveries cannot reach an event handler. Broker-side subscription filtering reduces unnecessary delivery and consumer-side discards.

C:

Topic subscriptions give multiple consumer groups separate delivery and retry state. Broker-side subscription filtering reduces unnecessary delivery and consumer-side discards.

D:

Event Grid distributes notifications; durable long-running work belongs in a compatible processing workflow. Broker-side subscription filtering reduces unnecessary delivery and consumer-side discards.

Question 358

An AI web app returns HTTP 500 only in Azure App Service, but developers see no stdout output from the container. Which TWO choices together identify the recommended action and a meaningful success test?

  1. A cleanup removes eligible stale artifacts while rollback and running images remain pullable.
  2. Configure an ACR Task with an appropriate base-image update trigger and validate its downstream promotion gate.
  3. Enable supported App Service container logging, inspect application exceptions, and correlate startup and request logs.
  4. Configure the app's expected container port and ensure the server binds to the reachable interface and listening port.
  5. A synthetic failing request produces a timestamped stack trace linked to the application instance.

Explanation

Correct Answers

C:

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. A synthetic failing request produces a timestamped stack trace linked to the application instance.

E:

A synthetic failing request produces a timestamped stack trace linked to the application instance. 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.

Incorrect Answers

A:

A cleanup removes eligible stale artifacts while rollback and running images remain pullable. Platform health metrics alone cannot identify application-level failures without workload logs. A synthetic failing request produces a timestamped stack trace linked to the application instance.

B:

Configure an ACR Task with an appropriate base-image update trigger and validate its downstream promotion gate. 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 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. A synthetic failing request produces a timestamped stack trace linked to the application instance.

Question 359

An App Service reads public feature flags through a hard-coded App Configuration connection string in its deployment package. What concept is most relevant to understanding the decision?

  1. Managed identity plus Key Vault separates workload identity from reusable secret values.
  2. App Configuration labels separate related configuration variants without duplicating source code.
  3. Secret storage security includes evidence of use, not only whether reads are allowed.
  4. Configuration services should be accessed by scoped workload identity where supported.

Explanation

Correct Answer

D:

Configuration services should be accessed by scoped workload identity where supported. The completion signal is: The app reads approved flags without a static connection string and cannot modify settings.

Incorrect Answers

A:

Managed identity plus Key Vault separates workload identity from reusable secret values. The completion signal is: The app reads approved flags without a static connection string and cannot modify settings. Configuration services should be accessed by scoped workload identity where supported.

B:

App Configuration labels separate related configuration variants without duplicating source code. The completion signal is: The app reads approved flags without a static connection string and cannot modify settings. Configuration services should be accessed by scoped workload identity where supported.

C:

Secret storage security includes evidence of use, not only whether reads are allowed. The completion signal is: The app reads approved flags without a static connection string and cannot modify settings. Configuration services should be accessed by scoped workload identity where supported.

Question 360

A new Python Functions release raises ModuleNotFoundError only in Azure although local tests pass on developers' machines. Choose TWO: one appropriate technical intervention and one observable acceptance check for this case.

  1. Propagate an operation or trace context across function invocation, database, cache, and message handoffs.
  2. Package a compatible requirements.txt and supported runtime environment, then redeploy or perform a clean build.
  3. A tested deployment and rollback follow a plan-supported path with no lost trigger configuration.
  4. Profile execution, adjust supported plan timeout and concurrency settings, or offload long-running work to a durable queue workflow.
  5. The deployed function imports the pinned package and completes a representative invocation.

Explanation

Correct Answers

B:

Package a compatible requirements.txt and supported runtime environment, then redeploy or perform a clean build. Cloud function deployment must include declared dependencies rather than relying on local workstation state. The deployed function imports the pinned package and completes a representative invocation.

E:

The deployed function imports the pinned package and completes a representative invocation. Cloud function deployment must include declared dependencies rather than relying on local workstation state. Package a compatible requirements.txt and supported runtime environment, then redeploy or perform a clean build.

Incorrect Answers

A:

Propagate an operation or trace context across function invocation, database, cache, and message handoffs. Cloud function deployment must include declared dependencies rather than relying on local workstation state. Package a compatible requirements.txt and supported runtime environment, then redeploy or perform a clean build. The deployed function imports the pinned package and completes a representative invocation.

C:

A tested deployment and rollback follow a plan-supported path with no lost trigger configuration. Cloud function deployment must include declared dependencies rather than relying on local workstation state. Package a compatible requirements.txt and supported runtime environment, then redeploy or perform a clean build.

D:

Profile execution, adjust supported plan timeout and concurrency settings, or offload long-running work to a durable queue workflow. Cloud function deployment must include declared dependencies rather than relying on local workstation state. Package a compatible requirements.txt and supported runtime environment, then redeploy or perform a clean build.

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