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 21

Question 200

An Event Grid document-approved event must invoke an Azure Function without writing a custom polling loop. 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. Use a timer-triggered Azure Function with a UTC-aware CRON schedule
  3. Use a suitable Blob input binding or an authorized Blob SDK lookup tied to that reference
  4. Use Durable Functions orchestration with activity fan-out and fan-in patterns

Explanation

Correct Answer

A:

This remedy fits the observed case: An Event Grid document-approved event must invoke an Azure Function without writing a custom polling loop. Use an Event Grid trigger with a correctly configured event subscription endpoint. The underlying issue is Polling does not subscribe to Event Grid's push delivery mechanism. Direct acceptance evidence is A validated event delivery invokes the function with the expected event body.

Incorrect Answers

B:

A queue trigger cannot express the required fixed schedule on idle days. This is a separate requirement; the current case instead hinges on: Polling does not subscribe to Event Grid's push delivery mechanism. The matching answer is: Use an Event Grid trigger with a correctly configured event subscription endpoint.

C:

The alternative addresses: The handler has no configured storage binding or retrieval logic for the input object. The reported constraint here is different: Polling does not subscribe to Event Grid's push delivery mechanism. The case-specific choice is: Use an Event Grid trigger with a correctly configured event subscription endpoint.

D:

Ordinary function invocations do not provide durable orchestration state across failures. By contrast, the relevant technical condition here is: Polling does not subscribe to Event Grid's push delivery mechanism. The appropriate selection is: Use an Event Grid trigger with a correctly configured event subscription endpoint.

Question 201

A product-update feed is expected to perform real-time refresh but one partition shows growing update lag. Which engineering change is the most direct response to the stated failure and constraint?

  1. Select a supported change feed mode that provides the needed deletion semantics or implement explicit delete markers
  2. Inspect processor lag and rebalance worker capacity against lease distribution
  3. Handle poison documents with bounded retries, a quarantine path and documented checkpoint policy
  4. Handle new and updated document versions with idempotent upsert semantics

Explanation

Correct Answer

B:

This remedy fits the observed case: A product-update feed is expected to perform real-time refresh but one partition shows growing update lag. Inspect processor lag and rebalance worker capacity against lease distribution. The underlying issue is Insufficient processors or a hot lease/feed range delays downstream materialization. Direct acceptance evidence is Lag shrinks and newly written changes appear in the downstream index within SLA.

Incorrect Answers

A:

Not every change feed mode exposes deletion events in the same way. This is a separate requirement; the current case instead hinges on: Insufficient processors or a hot lease/feed range delays downstream materialization. The matching answer is: Inspect processor lag and rebalance worker capacity against lease distribution.

C:

Unbounded retry on one malformed payload blocks forward processing. By contrast, the relevant technical condition here is: Insufficient processors or a hot lease/feed range delays downstream materialization. The appropriate selection is: Inspect processor lag and rebalance worker capacity against lease distribution.

D:

That option concerns: The handler assumes a change feed represents inserts only. The current question instead depends on: Insufficient processors or a hot lease/feed range delays downstream materialization. The directly supported result is: Inspect processor lag and rebalance worker capacity against lease distribution.

Question 202

A Node.js Functions app works locally but fails to load after deployment to an incompatible supported runtime version. Which engineering change is the most direct response to the stated failure and constraint?

  1. Configure supported VNet integration, routing and private DNS for the function hosting plan
  2. Provide a supported, authorized host storage configuration for the chosen hosting plan
  3. Align application language version, Functions runtime and dependency package versions
  4. Apply an appropriate plan and controlled scaling configuration with load-tested downstream budgets

Explanation

Correct Answer

C:

This remedy fits the observed case: A Node.js Functions app works locally but fails to load after deployment to an incompatible supported runtime version. Align application language version, Functions runtime and dependency package versions. The underlying issue is A language/runtime incompatibility causes module import failures. Direct acceptance evidence is The host loads dependencies and all configured triggers in staging.

Incorrect Answers

A:

The alternative addresses: Network path or DNS is not configured for private database access. The reported constraint here is different: A language/runtime incompatibility causes module import failures. The case-specific choice is: Align application language version, Functions runtime and dependency package versions.

B:

Required host storage or its permissions are unavailable. By contrast, the relevant technical condition here is: A language/runtime incompatibility causes module import failures. The appropriate selection is: Align application language version, Functions runtime and dependency package versions.

D:

Scale-out amplifies per-instance resource demand beyond external service quotas. This is a separate requirement; the current case instead hinges on: A language/runtime incompatibility causes module import failures. The matching answer is: Align application language version, Functions runtime and dependency package versions.

Question 203

A poisoned work item repeatedly fails a Function queue trigger and creates noisy endless retries. Which engineering change is the most direct response to the stated failure and constraint?

  1. Use a Service Bus trigger with the proper entity name, connection authorization and message handler
  2. Use a supported Cosmos DB output binding or SDK with an identity-authorized connection
  3. Configure identity-based connection properties and grant the Function identity receiver authorization
  4. Use supported retry/dequeue limits with poison-queue review and targeted remediation

Explanation

Correct Answer

D:

This remedy fits the observed case: A poisoned work item repeatedly fails a Function queue trigger and creates noisy endless retries. Use supported retry/dequeue limits with poison-queue review and targeted remediation. The underlying issue is Unlimited handler retries cannot make invalid payloads process successfully. Direct acceptance evidence is A malformed item reaches a quarantined queue and healthy messages still complete.

Incorrect Answers

A:

A timer or HTTP trigger does not subscribe to the Service Bus message stream. By contrast, the relevant technical condition here is: Unlimited handler retries cannot make invalid payloads process successfully. The appropriate selection is: Use supported retry/dequeue limits with poison-queue review and targeted remediation.

B:

That option concerns: No output path has been configured to persist the computed result. The current question instead depends on: Unlimited handler retries cannot make invalid payloads process successfully. The directly supported result is: Use supported retry/dequeue limits with poison-queue review and targeted remediation.

C:

A shared-key setting is unavailable or violates the requirement to eliminate static credentials. This is a separate requirement; the current case instead hinges on: Unlimited handler retries cannot make invalid payloads process successfully. The matching answer is: Use supported retry/dequeue limits with poison-queue review and targeted remediation.

Question 204

A PostgreSQL cosine query refuses to use a vector index created with the L2 operator class. Which engineering change is the most direct response to the stated failure and constraint?

  1. Rebuild the index with an operator class matching the distance operator in the query
  2. Tune the supported HNSW search parameter to increase candidate exploration
  3. Store a known supported vector dimension in the column type or an appropriate indexed expression
  4. Load sufficient representative data and rebuild or tune the IVFFlat index and probe settings

Explanation

Correct Answer

A:

This remedy fits the observed case: A PostgreSQL cosine query refuses to use a vector index created with the L2 operator class. Rebuild the index with an operator class matching the distance operator in the query. The underlying issue is Query distance and index operator class are incompatible for index selection. Direct acceptance evidence is EXPLAIN shows the intended index access and search ranking uses the chosen metric.

Incorrect Answers

B:

The candidate-search breadth is too narrow for desired approximate recall. This is a separate requirement; the current case instead hinges on: Query distance and index operator class are incompatible for index selection. The matching answer is: Rebuild the index with an operator class matching the distance operator in the query.

C:

The alternative addresses: ANN index creation requires a fixed supported vector dimension. The reported constraint here is different: Query distance and index operator class are incompatible for index selection. The case-specific choice is: Rebuild the index with an operator class matching the distance operator in the query.

D:

IVFFlat clustering was built without representative data distribution. By contrast, the relevant technical condition here is: Query distance and index operator class are incompatible for index selection. The appropriate selection is: Rebuild the index with an operator class matching the distance operator in the query.

Question 205

An order pipeline requires two sequential storage writes to succeed or else it must not complete a Service Bus message. Which engineering change is the most direct response to the stated failure and constraint?

  1. Publish to a Service Bus topic with a dedicated subscription for each consumer
  2. Coordinate idempotent external writes with an outbox/saga pattern and settle the message only after durable success
  3. Renew the peek-lock appropriately or redesign the handler around checkpointed bounded work
  4. Reduce prefetch count to align with processing throughput and lock duration

Explanation

Correct Answer

B:

This remedy fits the observed case: An order pipeline requires two sequential storage writes to succeed or else it must not complete a Service Bus message. Coordinate idempotent external writes with an outbox/saga pattern and settle the message only after durable success. The underlying issue is Completing the message before durable side effects can silently lose processing. Direct acceptance evidence is A simulated failure produces no permanently lost order and replay converges safely.

Incorrect Answers

A:

A single queue distributes messages among competing consumers rather than fan-out. This is a separate requirement; the current case instead hinges on: Completing the message before durable side effects can silently lose processing. The matching answer is: Coordinate idempotent external writes with an outbox/saga pattern and settle the message only after durable success.

C:

The message lock expires while the first consumer is still processing. By contrast, the relevant technical condition here is: Completing the message before durable side effects can silently lose processing. The appropriate selection is: Coordinate idempotent external writes with an outbox/saga pattern and settle the message only after durable success.

D:

That option concerns: Aggressive prefetch starts lock timing ahead of available worker capacity. The current question instead depends on: Completing the message before durable side effects can silently lose processing. The directly supported result is: Coordinate idempotent external writes with an outbox/saga pattern and settle the message only after durable success.

Question 206

An Azure Queue Storage worker running in Container Apps stays idle despite a large storage queue backlog because it has an HTTP scaler. Which engineering change is the most direct response to the stated failure and constraint?

  1. Use a supported KEDA event rule with minimum replicas zero and a nonzero scale target
  2. Tune an HTTP concurrent-request scaling rule based on actual per-replica latency and concurrency
  3. Use a KEDA Azure Queue Storage scaler bound to the correct queue and supported authentication
  4. Lower KEDA scale aggressiveness or cap maximum replicas according to database connection budget

Explanation

Correct Answer

C:

This remedy fits the observed case: An Azure Queue Storage worker running in Container Apps stays idle despite a large storage queue backlog because it has an HTTP scaler. Use a KEDA Azure Queue Storage scaler bound to the correct queue and supported authentication. The underlying issue is HTTP-concurrency scaling does not observe storage-queue depth. Direct acceptance evidence is Replica counts increase as pending storage queue messages appear and decrease after drain.

Incorrect Answers

A:

The alternative addresses: A permanently fixed replica floor keeps capacity allocated without work. The reported constraint here is different: HTTP-concurrency scaling does not observe storage-queue depth. The case-specific choice is: Use a KEDA Azure Queue Storage scaler bound to the correct queue and supported authentication.

B:

The existing concurrency threshold allows queueing beyond healthy replica capacity. By contrast, the relevant technical condition here is: HTTP-concurrency scaling does not observe storage-queue depth. The appropriate selection is: Use a KEDA Azure Queue Storage scaler bound to the correct queue and supported authentication.

D:

The autoscaler ignores finite downstream connection capacity. This is a separate requirement; the current case instead hinges on: HTTP-concurrency scaling does not observe storage-queue depth. The matching answer is: Use a KEDA Azure Queue Storage scaler bound to the correct queue and supported authentication.

Question 207

A registry task fails while pulling a private base image from a second registry in the same tenant. Which engineering change is the most direct response to the stated failure and constraint?

  1. Restrict the source trigger to the approved protected release branch and publish to a staging repository first
  2. Invoke ACR's remote quick-build workflow with a supported source context and image tag
  3. Define a multi-step ACR Task YAML with ordered build, test and push actions
  4. Grant the task execution identity authorized pull access to the dependent registry and verify its reference

Explanation

Correct Answer

D:

This remedy fits the observed case: A registry task fails while pulling a private base image from a second registry in the same tenant. Grant the task execution identity authorized pull access to the dependent registry and verify its reference. The underlying issue is The task identity cannot authenticate to the cross-registry base-image repository. Direct acceptance evidence is A task succeeds in retrieving the private base image without administrator credentials.

Incorrect Answers

A:

The source trigger pattern is broader than the release governance requirement. By contrast, the relevant technical condition here is: The task identity cannot authenticate to the cross-registry base-image repository. The appropriate selection is: Grant the task execution identity authorized pull access to the dependent registry and verify its reference.

B:

That option concerns: The existing CI design unnecessarily depends on a privileged local Docker service. The current question instead depends on: The task identity cannot authenticate to the cross-registry base-image repository. The directly supported result is: Grant the task execution identity authorized pull access to the dependent registry and verify its reference.

C:

Independent ad hoc scripts cannot reliably enforce the required build-before-promote dependency. This is a separate requirement; the current case instead hinges on: The task identity cannot authenticate to the cross-registry base-image repository. The matching answer is: Grant the task execution identity authorized pull access to the dependent registry and verify its reference.

Question 208

Two change feed workers repeatedly steal work and fail to share partitions consistently. Which engineering change is the most direct response to the stated failure and constraint?

  1. Configure a common lease container and stable processor group identity appropriate to the deployment
  2. Handle new and updated document versions with idempotent upsert semantics
  3. Handle poison documents with bounded retries, a quarantine path and documented checkpoint policy
  4. Select a supported change feed mode that provides the needed deletion semantics or implement explicit delete markers

Explanation

Correct Answer

A:

This remedy fits the observed case: Two change feed workers repeatedly steal work and fail to share partitions consistently. Configure a common lease container and stable processor group identity appropriate to the deployment. The underlying issue is Incorrect lease configuration prevents coordinated load balancing and checkpoints. Direct acceptance evidence is Lease ownership becomes stable and each feed range is serviced by one active owner at a time.

Incorrect Answers

B:

The handler assumes a change feed represents inserts only. This is a separate requirement; the current case instead hinges on: Incorrect lease configuration prevents coordinated load balancing and checkpoints. The matching answer is: Configure a common lease container and stable processor group identity appropriate to the deployment.

C:

The alternative addresses: Unbounded retry on one malformed payload blocks forward processing. The reported constraint here is different: Incorrect lease configuration prevents coordinated load balancing and checkpoints. The case-specific choice is: Configure a common lease container and stable processor group identity appropriate to the deployment.

D:

Not every change feed mode exposes deletion events in the same way. By contrast, the relevant technical condition here is: Incorrect lease configuration prevents coordinated load balancing and checkpoints. The appropriate selection is: Configure a common lease container and stable processor group identity appropriate to the deployment.

Question 209

A queue-triggered Container App no longer scales after administrators rotate the message broker credentials. Which engineering change is the most direct response to the stated failure and constraint?

  1. Tune an HTTP concurrent-request scaling rule based on actual per-replica latency and concurrency
  2. Update the scaler authentication to managed identity or a current authorized secret
  3. Lower KEDA scale aggressiveness or cap maximum replicas according to database connection budget
  4. Use a supported KEDA event rule with minimum replicas zero and a nonzero scale target

Explanation

Correct Answer

B:

This remedy fits the observed case: A queue-triggered Container App no longer scales after administrators rotate the message broker credentials. Update the scaler authentication to managed identity or a current authorized secret. The underlying issue is The scaler uses expired or invalid broker credentials to read queue metrics. Direct acceptance evidence is Scaler events show successful authorization and queue length drives replicas again.

Incorrect Answers

A:

The existing concurrency threshold allows queueing beyond healthy replica capacity. This is a separate requirement; the current case instead hinges on: The scaler uses expired or invalid broker credentials to read queue metrics. The matching answer is: Update the scaler authentication to managed identity or a current authorized secret.

C:

The autoscaler ignores finite downstream connection capacity. By contrast, the relevant technical condition here is: The scaler uses expired or invalid broker credentials to read queue metrics. The appropriate selection is: Update the scaler authentication to managed identity or a current authorized secret.

D:

That option concerns: A permanently fixed replica floor keeps capacity allocated without work. The current question instead depends on: The scaler uses expired or invalid broker credentials to read queue metrics. The directly supported result is: Update the scaler authentication to managed identity or a current authorized secret.

Question 210

A new TLS hostname on an AKS ingress shows browser certificate mismatch though the Service is reachable. Which engineering change is the most direct response to the stated failure and constraint?

  1. Inspect pod events and adjust the readiness path to the endpoint that reflects application readiness
  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. Use pod scheduling events and node resource requests to identify insufficient capacity, then restore eligible nodes

Explanation

Correct Answer

C:

This remedy fits the observed case: A new TLS hostname on an AKS ingress shows browser certificate mismatch though the Service is reachable. Inspect ingress TLS host rules, certificate secret and DNS mapping, then bind a certificate valid for the hostname. The underlying issue is The ingress serves a certificate whose DNS names do not match the requested hostname. Direct acceptance evidence is TLS negotiation succeeds for the intended host and rejects unrelated names.

Incorrect Answers

A:

The alternative addresses: A mismatched readiness URL makes the orchestrator treat a healthy listener as unready. The reported constraint here is different: The ingress serves a certificate whose DNS names do not match the requested hostname. The case-specific choice is: Inspect ingress TLS host rules, certificate secret and DNS mapping, then bind a certificate valid for the hostname.

B:

Memory consumption exceeds the container limit and the kernel terminates the process. By contrast, the relevant technical condition here is: The ingress serves a certificate whose DNS names do not match the requested hostname. The appropriate selection is: Inspect ingress TLS host rules, certificate secret and DNS mapping, then bind a certificate valid for the hostname.

D:

Requested CPU or memory exceeds schedulable node resources. This is a separate requirement; the current case instead hinges on: The ingress serves a certificate whose DNS names do not match the requested hostname. The matching answer is: Inspect ingress TLS host rules, certificate secret and DNS mapping, then bind a certificate valid for the hostname.