McAfee Secure

Microsoft AI-200 Bundle

Exam Code: AI-200

Exam Name Developing AI Cloud Solutions on Azure

Certification Provider: Microsoft

Microsoft AI-200 Bundle $19.99

100% Microsoft AI-200 Guaranteed Success With Testking Training Materials

Get Real AI-200 Exam Questions & Expert Verified Answers as Experienced on the Real Exam!

  • Questions & Answers

    AI-200 Questions & Answers

    174 Questions & Answers

    The ultimate exam preparation tool, Questions & Answers mirrors the actual AI-200 exam while allowing you to hone and measure every aspect of your test-taking ability.

  • Study Guide

    AI-200 Study Guide

    153 PDF Pages

    Developed by industry experts, this 153-page guide spells out in painstaking detail all of the information you need to ace AI-200 exam.

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

Satisfaction Guaranteed

Money Back Guarantee

Testking provides hassle-free money back guarantee with our products. That is because we have 100% trust in the abilities of our professional and experience product team, and our record is a proof of that.

99.6% PASS RATE
Total Cost: $154.98
Bundle Price: $134.99

Purchase Individually

  • Questions & Answers

    Questions & Answers

    174 Questions

    $124.99
  • Study Guide

    Study Guide

    153 PDF Pages

    $29.99

Microsoft AI-200 Practice Test 11

Question 100

A recommendation API queries tenant-specific records without a partition predicate and sees expensive fan-out. Which engineering change is the most direct response to the stated failure and constraint?

  1. Add the trusted partition-key value to queries and align tenant routing with the partition design
  2. Propagate appropriate session consistency tokens for read-your-writes behavior
  3. Restore selective indexing of paths required by the actual query predicates
  4. Choose the least restrictive documented consistency option that satisfies the application's data contract

Explanation

Correct Answer

A:

This remedy fits the observed case: A recommendation API queries tenant-specific records without a partition predicate and sees expensive fan-out. Add the trusted partition-key value to queries and align tenant routing with the partition design. The underlying issue is Missing partition predicates force cross-partition scans. Direct acceptance evidence is Query metrics show fewer partition ranges and lower RU charge for equivalent results.

Incorrect Answers

B:

Losing the session context can violate expected session read-your-writes behavior. This is a separate requirement; the current case instead hinges on: Missing partition predicates force cross-partition scans. The matching answer is: Add the trusted partition-key value to queries and align tenant routing with the partition design.

C:

The alternative addresses: A no-index policy forces queries to scan without the necessary indexed paths. The reported constraint here is different: Missing partition predicates force cross-partition scans. The case-specific choice is: Add the trusted partition-key value to queries and align tenant routing with the partition design.

D:

Unnecessarily strong consistency can impose avoidable latency or throughput costs. By contrast, the relevant technical condition here is: Missing partition predicates force cross-partition scans. The appropriate selection is: Add the trusted partition-key value to queries and align tenant routing with the partition design.

Question 101

A long-running Azure Function does multi-minute transcription inside one HTTP call and routinely times out. Which engineering change is the most direct response to the stated failure and constraint?

  1. Use an Event Grid trigger with a correctly configured event subscription endpoint
  2. Return an accepted response and hand durable work to an asynchronous queue or orchestration
  3. Use a suitable Blob input binding or an authorized Blob SDK lookup tied to that reference
  4. Define and expose a supported FunctionApp instance with registered decorated functions

Explanation

Correct Answer

B:

This remedy fits the observed case: A long-running Azure Function does multi-minute transcription inside one HTTP call and routinely times out. Return an accepted response and hand durable work to an asynchronous queue or orchestration. The underlying issue is HTTP request lifetime is not suited to long-running CPU-intensive processing. Direct acceptance evidence is The HTTP request completes promptly and clients can check durable processing status.

Incorrect Answers

A:

Polling does not subscribe to Event Grid's push delivery mechanism. This is a separate requirement; the current case instead hinges on: HTTP request lifetime is not suited to long-running CPU-intensive processing. The matching answer is: Return an accepted response and hand durable work to an asynchronous queue or orchestration.

C:

The handler has no configured storage binding or retrieval logic for the input object. By contrast, the relevant technical condition here is: HTTP request lifetime is not suited to long-running CPU-intensive processing. The appropriate selection is: Return an accepted response and hand durable work to an asynchronous queue or orchestration.

D:

That option concerns: The Python worker cannot discover functions not registered through its expected entry point. The current question instead depends on: HTTP request lifetime is not suited to long-running CPU-intensive processing. The directly supported result is: Return an accepted response and hand durable work to an asynchronous queue or orchestration.

Question 102

A client using transaction-pooled PgBouncer assumes a session-local temporary table survives across transactions. Which engineering change is the most direct response to the stated failure and constraint?

  1. Reduce per-worker pool size and coordinate a connection budget across instances
  2. Close or return connections in finally or context managers even on failure paths
  3. Remove session-state dependencies or select pooling mode compatible with their semantics
  4. Configure connection validation and replacement behavior for broken or stale pooled sessions

Explanation

Correct Answer

C:

This remedy fits the observed case: A client using transaction-pooled PgBouncer assumes a session-local temporary table survives across transactions. Remove session-state dependencies or select pooling mode compatible with their semantics. The underlying issue is Transaction pooling can hand a subsequent transaction to a different backend session. Direct acceptance evidence is Repeated requests across pooled backends return correct results without missing session state.

Incorrect Answers

A:

The alternative addresses: Local pool settings multiply across replicas and exceed global database limits. The reported constraint here is different: Transaction pooling can hand a subsequent transaction to a different backend session. The case-specific choice is: Remove session-state dependencies or select pooling mode compatible with their semantics.

B:

Failure branches skip connection cleanup and starve the shared pool. By contrast, the relevant technical condition here is: Transaction pooling can hand a subsequent transaction to a different backend session. The appropriate selection is: Remove session-state dependencies or select pooling mode compatible with their semantics.

D:

The application assumes every cached connection remains valid across backend restart. This is a separate requirement; the current case instead hinges on: Transaction pooling can hand a subsequent transaction to a different backend session. The matching answer is: Remove session-state dependencies or select pooling mode compatible with their semantics.

Question 103

A Python Function project uses extension-based bindings but the deployment omits the compatible extension bundle configuration. Which engineering change is the most direct response to the stated failure and constraint?

  1. Select an appropriate Functions hosting plan with configured always-ready or prewarmed capacity
  2. Choose supported timeout settings and split durable work into bounded checkpoints where appropriate
  3. Use supported deployment slots for the applicable hosting plan and keep environment-specific settings sticky
  4. Add the supported extension bundle or package references required by the selected bindings

Explanation

Correct Answer

D:

This remedy fits the observed case: A Python Function project uses extension-based bindings but the deployment omits the compatible extension bundle configuration. Add the supported extension bundle or package references required by the selected bindings. The underlying issue is Missing or incompatible binding extensions prevent trigger listener initialization. Direct acceptance evidence is The host successfully loads trigger extensions and enumerates the worker functions.

Incorrect Answers

A:

A scale-to-zero hosting plan cannot guarantee warm instances for every invocation. By contrast, the relevant technical condition here is: Missing or incompatible binding extensions prevent trigger listener initialization. The appropriate selection is: Add the supported extension bundle or package references required by the selected bindings.

B:

That option concerns: The configured plan/function timeout is shorter than worst-case work duration. The current question instead depends on: Missing or incompatible binding extensions prevent trigger listener initialization. The directly supported result is: Add the supported extension bundle or package references required by the selected bindings.

C:

Swapping non-sticky configuration could bind production code to staging resources. This is a separate requirement; the current case instead hinges on: Missing or incompatible binding extensions prevent trigger listener initialization. The matching answer is: Add the supported extension bundle or package references required by the selected bindings.

Question 104

A compliance system only needs events where data.classification equals restricted but receives all classification levels. Which engineering change is the most direct response to the stated failure and constraint?

  1. Use an Event Grid advanced filter on the appropriate event data property
  2. Move publishing to a trusted backend and use supported identity or protected topic credentials
  3. Implement the supported subscription validation handshake or use a native Azure destination
  4. Return a retryable server error for genuine transient failures and a 2xx only after safe acceptance

Explanation

Correct Answer

A:

This remedy fits the observed case: A compliance system only needs events where data.classification equals restricted but receives all classification levels. Use an Event Grid advanced filter on the appropriate event data property. The underlying issue is A subject-only filter cannot discriminate the required nested event data property. Direct acceptance evidence is Restricted test events are delivered while unclassified test events are excluded.

Incorrect Answers

B:

A browser-accessible key allows untrusted clients to publish arbitrary topic events. This is a separate requirement; the current case instead hinges on: A subject-only filter cannot discriminate the required nested event data property. The matching answer is: Use an Event Grid advanced filter on the appropriate event data property.

C:

The alternative addresses: The destination does not honor the handshake required to prove endpoint ownership. The reported constraint here is different: A subject-only filter cannot discriminate the required nested event data property. The case-specific choice is: Use an Event Grid advanced filter on the appropriate event data property.

D:

Some nonretryable 4xx responses are dead-lettered or dropped rather than retried. By contrast, the relevant technical condition here is: A subject-only filter cannot discriminate the required nested event data property. The appropriate selection is: Use an Event Grid advanced filter on the appropriate event data property.

Question 105

A semantic search index uses Euclidean distance while the embedding pipeline expects cosine similarity. Which engineering change is the most direct response to the stated failure and constraint?

  1. Apply trusted tenant metadata filters alongside supported vector search semantics
  2. Set an index and query distance function consistent with the model's intended similarity metric
  3. Use vector similarity search with the appropriate embeddings and combine with metadata filtering
  4. Store model-version metadata and rebuild or separate embeddings by compatible model version

Explanation

Correct Answer

B:

This remedy fits the observed case: A semantic search index uses Euclidean distance while the embedding pipeline expects cosine similarity. Set an index and query distance function consistent with the model's intended similarity metric. The underlying issue is Different distance metrics can rank embeddings differently. Direct acceptance evidence is Known test-vector ranking matches expected cosine-based neighbor order.

Incorrect Answers

A:

Vector similarity alone does not enforce tenant authorization. This is a separate requirement; the current case instead hinges on: Different distance metrics can rank embeddings differently. The matching answer is: Set an index and query distance function consistent with the model's intended similarity metric.

C:

Lexical matching alone cannot represent semantic proximity of different wording. By contrast, the relevant technical condition here is: Different distance metrics can rank embeddings differently. The appropriate selection is: Set an index and query distance function consistent with the model's intended similarity metric.

D:

That option concerns: Scores from incompatible embedding spaces are not meaningfully comparable. The current question instead depends on: Different distance metrics can rank embeddings differently. The directly supported result is: Set an index and query distance function consistent with the model's intended similarity metric.

Question 106

An ACR Task builds unreviewed feature branches into the production image repository whenever a developer pushes. Which engineering change is the most direct response to the stated failure and constraint?

  1. Configure a scheduled ACR Task with the required cron schedule and build context
  2. Define a multi-step ACR Task YAML with ordered build, test and push actions
  3. Restrict the source trigger to the approved protected release branch and publish to a staging repository first
  4. Grant the task execution identity authorized pull access to the dependent registry and verify its reference

Explanation

Correct Answer

C:

This remedy fits the observed case: An ACR Task builds unreviewed feature branches into the production image repository whenever a developer pushes. Restrict the source trigger to the approved protected release branch and publish to a staging repository first. The underlying issue is The source trigger pattern is broader than the release governance requirement. Direct acceptance evidence is A feature branch push creates no production image while an approved release push triggers the designated build.

Incorrect Answers

A:

The alternative addresses: Source-only triggers cannot meet a calendar-based rebuild requirement. The reported constraint here is different: The source trigger pattern is broader than the release governance requirement. The case-specific choice is: Restrict the source trigger to the approved protected release branch and publish to a staging repository first.

B:

Independent ad hoc scripts cannot reliably enforce the required build-before-promote dependency. By contrast, the relevant technical condition here is: The source trigger pattern is broader than the release governance requirement. The appropriate selection is: Restrict the source trigger to the approved protected release branch and publish to a staging repository first.

D:

The task identity cannot authenticate to the cross-registry base-image repository. This is a separate requirement; the current case instead hinges on: The source trigger pattern is broader than the release governance requirement. The matching answer is: Restrict the source trigger to the approved protected release branch and publish to a staging repository first.

Question 107

A Python PostgreSQL worker leaks checked-out connections after exceptions and eventually stalls. Which engineering change is the most direct response to the stated failure and constraint?

  1. Configure connection validation and replacement behavior for broken or stale pooled sessions
  2. Configure bounded pool-acquire and query deadlines with explicit overload responses
  3. Reduce per-worker pool size and coordinate a connection budget across instances
  4. Close or return connections in finally or context managers even on failure paths

Explanation

Correct Answer

D:

This remedy fits the observed case: A Python PostgreSQL worker leaks checked-out connections after exceptions and eventually stalls. Close or return connections in finally or context managers even on failure paths. The underlying issue is Failure branches skip connection cleanup and starve the shared pool. Direct acceptance evidence is Injected exceptions leave pool in-use count stable over repeated tests.

Incorrect Answers

A:

The application assumes every cached connection remains valid across backend restart. By contrast, the relevant technical condition here is: Failure branches skip connection cleanup and starve the shared pool. The appropriate selection is: Close or return connections in finally or context managers even on failure paths.

B:

That option concerns: Missing queue and connection timeouts cause resource starvation under peak load. The current question instead depends on: Failure branches skip connection cleanup and starve the shared pool. The directly supported result is: Close or return connections in finally or context managers even on failure paths.

C:

Local pool settings multiply across replicas and exceed global database limits. This is a separate requirement; the current case instead hinges on: Failure branches skip connection cleanup and starve the shared pool. The matching answer is: Close or return connections in finally or context managers even on failure paths.

Question 108

A retrying Service Bus consumer creates a fresh trace unrelated to the original message processing attempt. Which engineering change is the most direct response to the stated failure and constraint?

  1. Carry message correlation and use child or linked spans that distinguish the retry attempt
  2. Choose an appropriate sampling policy and capture error telemetry needed for the incident rate
  3. Use stable route templates as span names and store bounded detail in sanitized attributes
  4. Synchronize host clocks and inspect UTC timestamps and exporter delays before interpreting traces

Explanation

Correct Answer

A:

This remedy fits the observed case: A retrying Service Bus consumer creates a fresh trace unrelated to the original message processing attempt. Carry message correlation and use child or linked spans that distinguish the retry attempt. The underlying issue is Retry middleware resets context and hides multiple attempts on one job. Direct acceptance evidence is A trace investigation shows repeated attempts tied to the same logical work ID.

Incorrect Answers

B:

Aggressive head sampling can discard the rare error traces that matter. This is a separate requirement; the current case instead hinges on: Retry middleware resets context and hides multiple attempts on one job. The matching answer is: Carry message correlation and use child or linked spans that distinguish the retry attempt.

C:

The alternative addresses: Highly dynamic span names explode cardinality and complicate analysis. The reported constraint here is different: Retry middleware resets context and hides multiple attempts on one job. The case-specific choice is: Carry message correlation and use child or linked spans that distinguish the retry attempt.

D:

Clock skew and timestamp handling corrupt the apparent event ordering. By contrast, the relevant technical condition here is: Retry middleware resets context and hides multiple attempts on one job. The appropriate selection is: Carry message correlation and use child or linked spans that distinguish the retry attempt.

Question 109

A versioned RAG feature release needs to roll back a group of configuration changes as one operational decision. Which engineering change is the most direct response to the stated failure and constraint?

  1. Configure an appropriate feature-flag refresh policy with a tested emergency disable path
  2. Use a controlled App Configuration snapshot or versioned config release mechanism supported by the store
  3. Use stable service-specific key prefixes and documented labels
  4. Use ETag conditional updates or another supported optimistic-concurrency check

Explanation

Correct Answer

B:

This remedy fits the observed case: A versioned RAG feature release needs to roll back a group of configuration changes as one operational decision. Use a controlled App Configuration snapshot or versioned config release mechanism supported by the store. The underlying issue is Independent ad hoc key edits cannot reliably restore a coherent known-good configuration. Direct acceptance evidence is The prior approved group of settings can be restored consistently in a test rollback.

Incorrect Answers

A:

Feature evaluation uses stale cached configuration without timely refresh. This is a separate requirement; the current case instead hinges on: Independent ad hoc key edits cannot reliably restore a coherent known-good configuration. The matching answer is: Use a controlled App Configuration snapshot or versioned config release mechanism supported by the store.

C:

A shared unqualified key collides across independent application namespaces. By contrast, the relevant technical condition here is: Independent ad hoc key edits cannot reliably restore a coherent known-good configuration. The appropriate selection is: Use a controlled App Configuration snapshot or versioned config release mechanism supported by the store.

D:

That option concerns: Unconditional last-writer-wins updates discard another operator's newer edit. The current question instead depends on: Independent ad hoc key edits cannot reliably restore a coherent known-good configuration. The directly supported result is: Use a controlled App Configuration snapshot or versioned config release mechanism supported by the store.

Question 110

A Function running batch inference exceeds its configured execution timeout and is terminated mid-job. Which engineering change is the most direct response to the stated failure and constraint?

  1. Provide a supported, authorized host storage configuration for the chosen hosting plan
  2. Select an appropriate Functions hosting plan with configured always-ready or prewarmed capacity
  3. Choose supported timeout settings and split durable work into bounded checkpoints where appropriate
  4. Align application language version, Functions runtime and dependency package versions

Explanation

Correct Answer

C:

This remedy fits the observed case: A Function running batch inference exceeds its configured execution timeout and is terminated mid-job. Choose supported timeout settings and split durable work into bounded checkpoints where appropriate. The underlying issue is The configured plan/function timeout is shorter than worst-case work duration. Direct acceptance evidence is A test task completes within execution limits or safely resumes from a checkpoint.

Incorrect Answers

A:

The alternative addresses: Required host storage or its permissions are unavailable. The reported constraint here is different: The configured plan/function timeout is shorter than worst-case work duration. The case-specific choice is: Choose supported timeout settings and split durable work into bounded checkpoints where appropriate.

B:

A scale-to-zero hosting plan cannot guarantee warm instances for every invocation. By contrast, the relevant technical condition here is: The configured plan/function timeout is shorter than worst-case work duration. The appropriate selection is: Choose supported timeout settings and split durable work into bounded checkpoints where appropriate.

D:

A language/runtime incompatibility causes module import failures. This is a separate requirement; the current case instead hinges on: The configured plan/function timeout is shorter than worst-case work duration. The matching answer is: Choose supported timeout settings and split durable work into bounded checkpoints where appropriate.