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 24

Question 230

Legal and search teams must independently receive each document-approved event without one team's receipt removing it from the other's queue. Which engineering change is the most direct response to the stated failure and constraint?

  1. Make database writes idempotent using a durable logical work ID before completing the message
  2. Reduce the number of auto-forward hops to the supported limit and inspect transfer DLQ reasons
  3. Publish to a Service Bus topic with a dedicated subscription for each consumer
  4. Renew the peek-lock appropriately or redesign the handler around checkpointed bounded work

Explanation

Correct Answer

C:

This remedy fits the observed case: Legal and search teams must independently receive each document-approved event without one team's receipt removing it from the other's queue. Publish to a Service Bus topic with a dedicated subscription for each consumer. The underlying issue is A single queue distributes messages among competing consumers rather than fan-out. Direct acceptance evidence is Both subscriptions receive a copy of every matching message independently.

Incorrect Answers

A:

The alternative addresses: Peek-lock delivery can be retried after a crash even if the side effect already committed. The reported constraint here is different: A single queue distributes messages among competing consumers rather than fan-out. The case-specific choice is: Publish to a Service Bus topic with a dedicated subscription for each consumer.

B:

Auto-forward routing exceeds the allowed transfer hop count. By contrast, the relevant technical condition here is: A single queue distributes messages among competing consumers rather than fan-out. The appropriate selection is: Publish to a Service Bus topic with a dedicated subscription for each consumer.

D:

The message lock expires while the first consumer is still processing. This is a separate requirement; the current case instead hinges on: A single queue distributes messages among competing consumers rather than fan-out. The matching answer is: Publish to a Service Bus topic with a dedicated subscription for each consumer.

Question 231

A search API needs a slot-based production rollout while staging uses a nonproduction database credential. Which engineering change is the most direct response to the stated failure and constraint?

  1. Set the custom container port setting to the actual listener and verify the container starts on that port
  2. Configure regional virtual network integration with private DNS resolution for the database endpoint
  3. Configure precise CORS origins and credential policy for the permitted frontend instead of a wildcard
  4. Use App Service deployment slots and mark environment-specific connection settings as slot settings

Explanation

Correct Answer

D:

This remedy fits the observed case: A search API needs a slot-based production rollout while staging uses a nonproduction database credential. Use App Service deployment slots and mark environment-specific connection settings as slot settings. The underlying issue is Nonsticky application settings would carry the staging credential into production. Direct acceptance evidence is After slot swap, app binaries move but the production slot retains its production database endpoint.

Incorrect Answers

A:

The host-to-container port mapping does not match the application's listening socket. By contrast, the relevant technical condition here is: Nonsticky application settings would carry the staging credential into production. The appropriate selection is: Use App Service deployment slots and mark environment-specific connection settings as slot settings.

B:

That option concerns: App outbound connectivity is not routed or resolved through the private network path. The current question instead depends on: Nonsticky application settings would carry the staging credential into production. The directly supported result is: Use App Service deployment slots and mark environment-specific connection settings as slot settings.

C:

A wildcard cross-origin policy is incompatible with credentialed browser requests. This is a separate requirement; the current case instead hinges on: Nonsticky application settings would carry the staging credential into production. The matching answer is: Use App Service deployment slots and mark environment-specific connection settings as slot settings.

Question 232

A performance team names every span after a full URL containing random query IDs and creates excessive cardinality. Which engineering change is the most direct response to the stated failure and constraint?

  1. Use stable route templates as span names and store bounded detail in sanitized attributes
  2. Replace sensitive baggage with approved opaque correlation identifiers
  3. Align the exporter protocol, OTLP endpoint and collector receiver configuration
  4. Configure a supported exporter and valid destination connection or identity authorization

Explanation

Correct Answer

A:

This remedy fits the observed case: A performance team names every span after a full URL containing random query IDs and creates excessive cardinality. Use stable route templates as span names and store bounded detail in sanitized attributes. The underlying issue is Highly dynamic span names explode cardinality and complicate analysis. Direct acceptance evidence is Route-level latency aggregations remain stable across distinct request IDs.

Incorrect Answers

B:

Baggage travels across trust boundaries and can expose sensitive data. This is a separate requirement; the current case instead hinges on: Highly dynamic span names explode cardinality and complicate analysis. The matching answer is: Use stable route templates as span names and store bounded detail in sanitized attributes.

C:

The alternative addresses: Exporter transport settings do not match the receiving collector listener. The reported constraint here is different: Highly dynamic span names explode cardinality and complicate analysis. The case-specific choice is: Use stable route templates as span names and store bounded detail in sanitized attributes.

D:

The SDK records spans but no working exporter sends them to the collector. By contrast, the relevant technical condition here is: Highly dynamic span names explode cardinality and complicate analysis. The appropriate selection is: Use stable route templates as span names and store bounded detail in sanitized attributes.

Question 233

A Python inference container is repeatedly OOMKilled and restarted when batch size increases. Which engineering change is the most direct response to the stated failure and constraint?

  1. Inspect Service selectors and pod labels and repair the selector mismatch
  2. Read memory and restart events, reduce peak allocation or adjust a measured memory limit and workload sizing
  3. Inspect ingress TLS host rules, certificate secret and DNS mapping, then bind a certificate valid for the hostname
  4. Inspect revision console logs and ingress configuration to isolate crash, port or readiness faults

Explanation

Correct Answer

B:

This remedy fits the observed case: A Python inference container is repeatedly OOMKilled and restarted when batch size increases. Read memory and restart events, reduce peak allocation or adjust a measured memory limit and workload sizing. The underlying issue is Memory consumption exceeds the container limit and the kernel terminates the process. Direct acceptance evidence is OOMKilled events stop while memory use stays below configured limits under peak-sized input.

Incorrect Answers

A:

The Service selector no longer matches the labels on the deployed pods. This is a separate requirement; the current case instead hinges on: Memory consumption exceeds the container limit and the kernel terminates the process. The matching answer is: Read memory and restart events, reduce peak allocation or adjust a measured memory limit and workload sizing.

C:

The ingress serves a certificate whose DNS names do not match the requested hostname. By contrast, the relevant technical condition here is: Memory consumption exceeds the container limit and the kernel terminates the process. The appropriate selection is: Read memory and restart events, reduce peak allocation or adjust a measured memory limit and workload sizing.

D:

That option concerns: The new revision is not serving healthy traffic through its configured ingress path. The current question instead depends on: Memory consumption exceeds the container limit and the kernel terminates the process. The directly supported result is: Read memory and restart events, reduce peak allocation or adjust a measured memory limit and workload sizing.

Question 234

A Redis vector search retrieves semantically similar records from disallowed catalog categories. Which engineering change is the most direct response to the stated failure and constraint?

  1. Select a vector distance metric consistent with the model and verified relevance tests
  2. Build and populate a compatible replacement index then switch readers when verified
  3. Combine nearest-neighbor lookup with indexed TAG or metadata filters in the supported query syntax
  4. Limit K and filter/select only needed fields, then benchmark index strategy under actual request rates

Explanation

Correct Answer

C:

This remedy fits the observed case: A Redis vector search retrieves semantically similar records from disallowed catalog categories. Combine nearest-neighbor lookup with indexed TAG or metadata filters in the supported query syntax. The underlying issue is Similarity score does not enforce categorical business filters. Direct acceptance evidence is All returned hits match the allowed category even when unrelated vectors are closer.

Incorrect Answers

A:

The alternative addresses: A mismatched distance metric can change semantic neighbor ordering. The reported constraint here is different: Similarity score does not enforce categorical business filters. The case-specific choice is: Combine nearest-neighbor lookup with indexed TAG or metadata filters in the supported query syntax.

B:

Stored index schema is tied to the previous model's vector dimensions. By contrast, the relevant technical condition here is: Similarity score does not enforce categorical business filters. The appropriate selection is: Combine nearest-neighbor lookup with indexed TAG or metadata filters in the supported query syntax.

D:

Oversized result sets and vector scoring inflate query workload. This is a separate requirement; the current case instead hinges on: Similarity score does not enforce categorical business filters. The matching answer is: Combine nearest-neighbor lookup with indexed TAG or metadata filters in the supported query syntax.

Question 235

A nearest-neighbor endpoint in Redis slows dramatically when every request asks for hundreds of high-dimensional candidates. Which engineering change is the most direct response to the stated failure and constraint?

  1. Create a supported RediSearch vector index for the populated field and query it using the matching vector dialect
  2. Select a vector distance metric consistent with the model and verified relevance tests
  3. Build and populate a compatible replacement index then switch readers when verified
  4. Limit K and filter/select only needed fields, then benchmark index strategy under actual request rates

Explanation

Correct Answer

D:

This remedy fits the observed case: A nearest-neighbor endpoint in Redis slows dramatically when every request asks for hundreds of high-dimensional candidates. Limit K and filter/select only needed fields, then benchmark index strategy under actual request rates. The underlying issue is Oversized result sets and vector scoring inflate query workload. Direct acceptance evidence is p95 query time falls while minimum relevance/recall is retained for intended K.

Incorrect Answers

A:

Unindexed vector values are not automatically queryable through the intended KNN index. By contrast, the relevant technical condition here is: Oversized result sets and vector scoring inflate query workload. The appropriate selection is: Limit K and filter/select only needed fields, then benchmark index strategy under actual request rates.

B:

That option concerns: A mismatched distance metric can change semantic neighbor ordering. The current question instead depends on: Oversized result sets and vector scoring inflate query workload. The directly supported result is: Limit K and filter/select only needed fields, then benchmark index strategy under actual request rates.

C:

Stored index schema is tied to the previous model's vector dimensions. This is a separate requirement; the current case instead hinges on: Oversized result sets and vector scoring inflate query workload. The matching answer is: Limit K and filter/select only needed fields, then benchmark index strategy under actual request rates.

Question 236

An Azure Functions ZIP deployment puts every file under an extra parent directory and triggers disappear. Which engineering change is the most direct response to the stated failure and constraint?

  1. Deploy the contents with host.json at the expected application root
  2. Use supported deployment slots for the applicable hosting plan and keep environment-specific settings sticky
  3. Use environment-specific task hub identifiers and authorized storage resources
  4. Select an appropriate Functions hosting plan with configured always-ready or prewarmed capacity

Explanation

Correct Answer

A:

This remedy fits the observed case: An Azure Functions ZIP deployment puts every file under an extra parent directory and triggers disappear. Deploy the contents with host.json at the expected application root. The underlying issue is The deployment package's root directory is one level too deep. Direct acceptance evidence is The platform finds host.json and imports the intended function entry point.

Incorrect Answers

B:

Swapping non-sticky configuration could bind production code to staging resources. This is a separate requirement; the current case instead hinges on: The deployment package's root directory is one level too deep. The matching answer is: Deploy the contents with host.json at the expected application root.

C:

The alternative addresses: Colliding task hub configuration allows distinct environments to interfere. The reported constraint here is different: The deployment package's root directory is one level too deep. The case-specific choice is: Deploy the contents with host.json at the expected application root.

D:

A scale-to-zero hosting plan cannot guarantee warm instances for every invocation. By contrast, the relevant technical condition here is: The deployment package's root directory is one level too deep. The appropriate selection is: Deploy the contents with host.json at the expected application root.

Question 237

A custom Linux App Service container listens on port 8090 but returns 502 because the host expects a different container port. Which engineering change is the most direct response to the stated failure and constraint?

  1. Configure supported App Service plan scale-out and autoscale rules based on measured load
  2. Set the custom container port setting to the actual listener and verify the container starts on that port
  3. Configure regional virtual network integration with private DNS resolution for the database endpoint
  4. Configure precise CORS origins and credential policy for the permitted frontend instead of a wildcard

Explanation

Correct Answer

B:

This remedy fits the observed case: A custom Linux App Service container listens on port 8090 but returns 502 because the host expects a different container port. Set the custom container port setting to the actual listener and verify the container starts on that port. The underlying issue is The host-to-container port mapping does not match the application's listening socket. Direct acceptance evidence is A warmup and HTTP request through App Service reach the process on port 8090.

Incorrect Answers

A:

Fixed instance capacity cannot meet sustained concurrent CPU demand. This is a separate requirement; the current case instead hinges on: The host-to-container port mapping does not match the application's listening socket. The matching answer is: Set the custom container port setting to the actual listener and verify the container starts on that port.

C:

App outbound connectivity is not routed or resolved through the private network path. By contrast, the relevant technical condition here is: The host-to-container port mapping does not match the application's listening socket. The appropriate selection is: Set the custom container port setting to the actual listener and verify the container starts on that port.

D:

That option concerns: A wildcard cross-origin policy is incompatible with credentialed browser requests. The current question instead depends on: The host-to-container port mapping does not match the application's listening socket. The directly supported result is: Set the custom container port setting to the actual listener and verify the container starts on that port.

Question 238

An Azure Functions worker currently uses a Service Bus namespace-wide connection string checked into configuration. Which engineering change is the most direct response to the stated failure and constraint?

  1. Replace overly broad topic subscription rules with an appropriate SQL or correlation filter
  2. Set a policy-appropriate TTL and add recovery capacity or DLQ review when retention expires
  3. Use Microsoft Entra managed identity with Service Bus data-plane receiver authorization
  4. Coordinate idempotent external writes with an outbox/saga pattern and settle the message only after durable success

Explanation

Correct Answer

C:

This remedy fits the observed case: An Azure Functions worker currently uses a Service Bus namespace-wide connection string checked into configuration. Use Microsoft Entra managed identity with Service Bus data-plane receiver authorization. The underlying issue is Embedded namespace credentials permit broad access and difficult rotation. Direct acceptance evidence is The worker receives from the intended entity while source contains no shared key.

Incorrect Answers

A:

The alternative addresses: The subscription's default or current filter matches more properties than intended. The reported constraint here is different: Embedded namespace credentials permit broad access and difficult rotation. The case-specific choice is: Use Microsoft Entra managed identity with Service Bus data-plane receiver authorization.

B:

The configured TTL is shorter than operational recovery needs. By contrast, the relevant technical condition here is: Embedded namespace credentials permit broad access and difficult rotation. The appropriate selection is: Use Microsoft Entra managed identity with Service Bus data-plane receiver authorization.

D:

Completing the message before durable side effects can silently lose processing. This is a separate requirement; the current case instead hinges on: Embedded namespace credentials permit broad access and difficult rotation. The matching answer is: Use Microsoft Entra managed identity with Service Bus data-plane receiver authorization.

Question 239

An AKS Service has no ready endpoints after a Deployment update even though every pod is healthy. Which engineering change is the most direct response to the stated failure and constraint?

  1. Inspect selected NetworkPolicies and add the minimum required namespace and port allowance
  2. Read memory and restart events, reduce peak allocation or adjust a measured memory limit and workload sizing
  3. Inspect ingress TLS host rules, certificate secret and DNS mapping, then bind a certificate valid for the hostname
  4. Inspect Service selectors and pod labels and repair the selector mismatch

Explanation

Correct Answer

D:

This remedy fits the observed case: An AKS Service has no ready endpoints after a Deployment update even though every pod is healthy. Inspect Service selectors and pod labels and repair the selector mismatch. The underlying issue is The Service selector no longer matches the labels on the deployed pods. Direct acceptance evidence is The Service endpoint set lists expected Ready pod IPs and requests succeed.

Incorrect Answers

A:

Ingress or egress policy blocks traffic after DNS resolution. By contrast, the relevant technical condition here is: The Service selector no longer matches the labels on the deployed pods. The appropriate selection is: Inspect Service selectors and pod labels and repair the selector mismatch.

B:

That option concerns: Memory consumption exceeds the container limit and the kernel terminates the process. The current question instead depends on: The Service selector no longer matches the labels on the deployed pods. The directly supported result is: Inspect Service selectors and pod labels and repair the selector mismatch.

C:

The ingress serves a certificate whose DNS names do not match the requested hostname. This is a separate requirement; the current case instead hinges on: The Service selector no longer matches the labels on the deployed pods. The matching answer is: Inspect Service selectors and pod labels and repair the selector mismatch.

Question 240

Two concurrent Redis refresh workers overwrite a newer product price with an older value during a cache miss race. Which engineering change is the most direct response to the stated failure and constraint?

  1. Use source versions and conditional compare-and-set or an atomic update policy for stale writes
  2. Use jittered TTLs with bounded single-flight or request coalescing for cache misses
  3. Prefix keys with environment and application identity and enforce separation
  4. Invalidate or refresh the affected Redis keys on change with a bounded TTL safety net

Explanation

Correct Answer

A:

This remedy fits the observed case: Two concurrent Redis refresh workers overwrite a newer product price with an older value during a cache miss race. Use source versions and conditional compare-and-set or an atomic update policy for stale writes. The underlying issue is Uncoordinated last-writer-wins cache updates allow older data to replace newer data. Direct acceptance evidence is The final cached version never regresses behind a newer committed source version.

Incorrect Answers

B:

Simultaneous expiry sends many duplicate reads to the database. This is a separate requirement; the current case instead hinges on: Uncoordinated last-writer-wins cache updates allow older data to replace newer data. The matching answer is: Use source versions and conditional compare-and-set or an atomic update policy for stale writes.

C:

The alternative addresses: Shared key namespaces mix unrelated environments. The reported constraint here is different: Uncoordinated last-writer-wins cache updates allow older data to replace newer data. The case-specific choice is: Use source versions and conditional compare-and-set or an atomic update policy for stale writes.

D:

TTL-only staleness outlasts acceptable source-change propagation. By contrast, the relevant technical condition here is: Uncoordinated last-writer-wins cache updates allow older data to replace newer data. The appropriate selection is: Use source versions and conditional compare-and-set or an atomic update policy for stale writes.