McAfee Secured

Exam Code: AI-200

Exam Name: Developing AI Cloud Solutions on Azure

Certification Provider: Microsoft

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!

174 Questions & Answers with Testing Engine

"Developing AI Cloud Solutions on Azure Exam", also known as AI-200 exam, is a Microsoft certification exam.

Pass your tests with the always up-to-date AI-200 Exam Engine. Your AI-200 training materials keep you at the head of the pack!

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
Was: $137.49
Now: $124.99

Microsoft AI-200 Practice Test 59

Question 580

A deployed Python Function has a valid trigger but fails during import after the container build omitted its required Azure SDK dependency. What is the most targeted next step after confirming the cause?

  1. Restore the correctly named Service Bus connection configuration and redeploy or restart the function host.
  2. Call the HTTP trigger with appropriate authorization or explicitly redesign its access controls for intended clients.
  3. Add the required package to the deployment dependency manifest, rebuild, and validate Python worker startup.
  4. Correct the named output binding connection to the intended storage service and test a full invocation-to-write path.

Explanation

Correct Answer

C:

Add the required package to the deployment dependency manifest, rebuild, and validate Python worker startup. Host startup logs show ModuleNotFoundError for a package used by the function module before any handler runs.

Incorrect Answers

A:

Restore the correctly named Service Bus connection configuration and redeploy or restart the function host. This would address Azure Functions Service Bus trigger connection, not Azure Functions Python worker dependency failure.

B:

Call the HTTP trigger with appropriate authorization or explicitly redesign its access controls for intended clients. This would address Azure Functions HTTP authorization level, not Azure Functions Python worker dependency failure.

D:

Correct the named output binding connection to the intended storage service and test a full invocation-to-write path. This would address Azure Functions output binding configuration, not Azure Functions Python worker dependency failure.

Question 581

An Azure Function intended to react to Cosmos DB document updates remains inactive after deployment because its change-feed lease container is misconfigured. Which corrective action is most appropriate for this situation?

  1. Use the supported Event Grid trigger endpoint integration or implement a properly validated HTTP webhook contract.
  2. Configure the correct lease container and permissions for the Cosmos DB change-feed trigger.
  3. Declare and configure a Service Bus trigger for incoming queue messages and retain the output binding only for sends.
  4. Align the API gateway route with the function's configured HTTP trigger route and method.

Explanation

Correct Answer

B:

Configure the correct lease container and permissions for the Cosmos DB change-feed trigger. The Functions host logs a Cosmos DB trigger lease-container access or configuration error rather than an empty source feed.

Incorrect Answers

A:

Use the supported Event Grid trigger endpoint integration or implement a properly validated HTTP webhook contract. This would address Azure Functions Event Grid trigger schema, not Azure Functions Cosmos DB trigger lease.

C:

Declare and configure a Service Bus trigger for incoming queue messages and retain the output binding only for sends. This would address Azure Functions Service Bus trigger versus output, not Azure Functions Cosmos DB trigger lease.

D:

Align the API gateway route with the function's configured HTTP trigger route and method. This would address Azure Functions HTTP route template mismatch, not Azure Functions Cosmos DB trigger lease.

Question 582

An Event Grid event subscription sends notifications to a function's generic HTTP route, but the function was implemented as an Event Grid trigger with a different endpoint contract. What is the most targeted next step after confirming the cause?

  1. Configure the correct lease container and permissions for the Cosmos DB change-feed trigger.
  2. Declare and configure a Service Bus trigger for incoming queue messages and retain the output binding only for sends.
  3. Align the API gateway route with the function's configured HTTP trigger route and method.
  4. Use the supported Event Grid trigger endpoint integration or implement a properly validated HTTP webhook contract.

Explanation

Correct Answer

D:

Use the supported Event Grid trigger endpoint integration or implement a properly validated HTTP webhook contract. Subscription delivery logs show a route or validation mismatch rather than a business-handler exception.

Incorrect Answers

A:

Configure the correct lease container and permissions for the Cosmos DB change-feed trigger. This would address Azure Functions Cosmos DB trigger lease, not Azure Functions Event Grid trigger schema.

B:

Declare and configure a Service Bus trigger for incoming queue messages and retain the output binding only for sends. This would address Azure Functions Service Bus trigger versus output, not Azure Functions Event Grid trigger schema.

C:

Align the API gateway route with the function's configured HTTP trigger route and method. This would address Azure Functions HTTP route template mismatch, not Azure Functions Event Grid trigger schema.

Question 583

A developer expects a function to start when a message arrives, but its code declares only a Service Bus output binding and no event trigger. Which corrective action is most appropriate for this situation?

  1. Declare and configure a Service Bus trigger for incoming queue messages and retain the output binding only for sends.
  2. Align the API gateway route with the function's configured HTTP trigger route and method.
  3. Configure the correct lease container and permissions for the Cosmos DB change-feed trigger.
  4. Use the supported Event Grid trigger endpoint integration or implement a properly validated HTTP webhook contract.

Explanation

Correct Answer

A:

Declare and configure a Service Bus trigger for incoming queue messages and retain the output binding only for sends. Function metadata lists the Service Bus binding as output and has no trigger bound to the queue.

Incorrect Answers

B:

Align the API gateway route with the function's configured HTTP trigger route and method. This would address Azure Functions HTTP route template mismatch, not Azure Functions Service Bus trigger versus output.

C:

Configure the correct lease container and permissions for the Cosmos DB change-feed trigger. This would address Azure Functions Cosmos DB trigger lease, not Azure Functions Service Bus trigger versus output.

D:

Use the supported Event Grid trigger endpoint integration or implement a properly validated HTTP webhook contract. This would address Azure Functions Event Grid trigger schema, not Azure Functions Service Bus trigger versus output.

Question 584

An inference API deployed as an HTTP-triggered Azure Function works on the function's generated route but returns 404 at the gateway's configured URL. What is the most targeted next step after confirming the cause?

  1. Configure the correct lease container and permissions for the Cosmos DB change-feed trigger.
  2. Align the API gateway route with the function's configured HTTP trigger route and method.
  3. Use the supported Event Grid trigger endpoint integration or implement a properly validated HTTP webhook contract.
  4. Declare and configure a Service Bus trigger for incoming queue messages and retain the output binding only for sends.

Explanation

Correct Answer

B:

Align the API gateway route with the function's configured HTTP trigger route and method. The function route template differs from the gateway's path and the host logs no invocation for failing requests.

Incorrect Answers

A:

Configure the correct lease container and permissions for the Cosmos DB change-feed trigger. This would address Azure Functions Cosmos DB trigger lease, not Azure Functions HTTP route template mismatch.

C:

Use the supported Event Grid trigger endpoint integration or implement a properly validated HTTP webhook contract. This would address Azure Functions Event Grid trigger schema, not Azure Functions HTTP route template mismatch.

D:

Declare and configure a Service Bus trigger for incoming queue messages and retain the output binding only for sends. This would address Azure Functions Service Bus trigger versus output, not Azure Functions HTTP route template mismatch.

Question 585

A Python Function App starts with errors after configuration cleanup removes its required runtime storage account connection. Which corrective action is most appropriate for this situation?

  1. Mark environment-specific settings as slot settings and validate the next controlled swap.
  2. Package the function project's expected root structure with host.json in the correct location and redeploy.
  3. Choose a supported Python runtime and rebuild dependencies for the deployed platform architecture.
  4. Restore a supported host storage connection configuration and restart the Functions runtime.

Explanation

Correct Answer

D:

Restore a supported host storage connection configuration and restart the Functions runtime. Host startup diagnostics identify a missing or invalid AzureWebJobsStorage setting for a hosting plan that requires it.

Incorrect Answers

A:

Mark environment-specific settings as slot settings and validate the next controlled swap. This would address Azure Functions environment setting slot mismatch, not Azure Functions missing host storage setting.

B:

Package the function project's expected root structure with host.json in the correct location and redeploy. This would address Azure Functions package layout error, not Azure Functions missing host storage setting.

C:

Choose a supported Python runtime and rebuild dependencies for the deployed platform architecture. This would address Azure Functions Python runtime incompatibility, not Azure Functions missing host storage setting.

Question 586

A Function App is configured for a Python runtime version unsupported by its packaged dependency wheels and fails before handlers load. What is the most targeted next step after confirming the cause?

  1. Mark environment-specific settings as slot settings and validate the next controlled swap.
  2. Restore a supported host storage connection configuration and restart the Functions runtime.
  3. Package the function project's expected root structure with host.json in the correct location and redeploy.
  4. Choose a supported Python runtime and rebuild dependencies for the deployed platform architecture.

Explanation

Correct Answer

D:

Choose a supported Python runtime and rebuild dependencies for the deployed platform architecture. Worker error logs report an interpreter or package ABI incompatibility after the runtime stack change.

Incorrect Answers

A:

Mark environment-specific settings as slot settings and validate the next controlled swap. This would address Azure Functions environment setting slot mismatch, not Azure Functions Python runtime incompatibility.

B:

Restore a supported host storage connection configuration and restart the Functions runtime. This would address Azure Functions missing host storage setting, not Azure Functions Python runtime incompatibility.

C:

Package the function project's expected root structure with host.json in the correct location and redeploy. This would address Azure Functions package layout error, not Azure Functions Python runtime incompatibility.

Question 587

A zip-deployed Function App shows zero discovered functions after a build job put host.json inside an extra top-level directory. Which corrective action is most appropriate for this situation?

  1. Mark environment-specific settings as slot settings and validate the next controlled swap.
  2. Choose a supported Python runtime and rebuild dependencies for the deployed platform architecture.
  3. Restore a supported host storage connection configuration and restart the Functions runtime.
  4. Package the function project's expected root structure with host.json in the correct location and redeploy.

Explanation

Correct Answer

D:

Package the function project's expected root structure with host.json in the correct location and redeploy. Inspection of the deployment archive shows host.json under nested project/ rather than at the deployment root.

Incorrect Answers

A:

Mark environment-specific settings as slot settings and validate the next controlled swap. This would address Azure Functions environment setting slot mismatch, not Azure Functions package layout error.

B:

Choose a supported Python runtime and rebuild dependencies for the deployed platform architecture. This would address Azure Functions Python runtime incompatibility, not Azure Functions package layout error.

C:

Restore a supported host storage connection configuration and restart the Functions runtime. This would address Azure Functions missing host storage setting, not Azure Functions package layout error.

Question 588

A staging Function App works against a test queue, but after deployment slot swap the production app unexpectedly reads the staging queue connection. What is the most targeted next step after confirming the cause?

  1. Package the function project's expected root structure with host.json in the correct location and redeploy.
  2. Restore a supported host storage connection configuration and restart the Functions runtime.
  3. Choose a supported Python runtime and rebuild dependencies for the deployed platform architecture.
  4. Mark environment-specific settings as slot settings and validate the next controlled swap.

Explanation

Correct Answer

D:

Mark environment-specific settings as slot settings and validate the next controlled swap. The queue connection application setting is not marked as deployment-slot-specific in the Function App configuration.

Incorrect Answers

A:

Package the function project's expected root structure with host.json in the correct location and redeploy. This would address Azure Functions package layout error, not Azure Functions environment setting slot mismatch.

B:

Restore a supported host storage connection configuration and restart the Functions runtime. This would address Azure Functions missing host storage setting, not Azure Functions environment setting slot mismatch.

C:

Choose a supported Python runtime and rebuild dependencies for the deployed platform architecture. This would address Azure Functions Python runtime incompatibility, not Azure Functions environment setting slot mismatch.

Question 589

A nightly summarization Azure Function does not fire at its expected schedule after a deployment enabled a function-specific disabled flag. Which corrective action is most appropriate for this situation?

  1. Monitor and process the poison queue deliberately, fixing malformed payloads before controlled replay.
  2. Remove the disabled configuration for the timer function and validate its next scheduled invocation.
  3. Tune the Service Bus trigger concurrency and worker capacity against measured embedding memory and throughput.
  4. Split work into durable asynchronous stages or select a supported execution model and timeout within plan limits.

Explanation

Correct Answer

B:

Remove the disabled configuration for the timer function and validate its next scheduled invocation. The Functions host lists the timer function as disabled even though its cron schedule expression is valid.

Incorrect Answers

A:

Monitor and process the poison queue deliberately, fixing malformed payloads before controlled replay. This would address Azure Functions poison queue message handling, not Azure Functions timer schedule disabled.

C:

Tune the Service Bus trigger concurrency and worker capacity against measured embedding memory and throughput. This would address Azure Functions Service Bus overconcurrency, not Azure Functions timer schedule disabled.

D:

Split work into durable asynchronous stages or select a supported execution model and timeout within plan limits. This would address Azure Functions execution timeout, not Azure Functions timer schedule disabled.

Question 590

A Service Bus-triggered Azure Function scales out during a large embedding batch, but too many concurrent Python invocations exhaust each worker memory and fail intermittently. What is the most targeted next step after confirming the cause?

  1. Split work into durable asynchronous stages or select a supported execution model and timeout within plan limits.
  2. Monitor and process the poison queue deliberately, fixing malformed payloads before controlled replay.
  3. Tune the Service Bus trigger concurrency and worker capacity against measured embedding memory and throughput.
  4. Remove the disabled configuration for the timer function and validate its next scheduled invocation.

Explanation

Correct Answer

C:

Tune the Service Bus trigger concurrency and worker capacity against measured embedding memory and throughput. Host settings allow an excessive number of concurrent Service Bus handler invocations relative to observed per-request memory usage.

Incorrect Answers

A:

Split work into durable asynchronous stages or select a supported execution model and timeout within plan limits. This would address Azure Functions execution timeout, not Azure Functions Service Bus overconcurrency.

B:

Monitor and process the poison queue deliberately, fixing malformed payloads before controlled replay. This would address Azure Functions poison queue message handling, not Azure Functions Service Bus overconcurrency.

D:

Remove the disabled configuration for the timer function and validate its next scheduled invocation. This would address Azure Functions timer schedule disabled, not Azure Functions Service Bus overconcurrency.

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