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 12

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.

Question 111

A large Cosmos DB query returns only the first page of knowledge snippets even though additional items match. Which engineering change is the most direct response to the stated failure and constraint?

  1. Reuse an appropriately configured long-lived CosmosClient with controlled lifecycle
  2. Supply the item's correct logical partition key together with its item ID
  3. Use supported Microsoft Entra identity authentication with suitable Cosmos DB data-plane roles
  4. Iterate the SDK query pages or continuation token until the result budget is reached

Explanation

Correct Answer

D:

This remedy fits the observed case: A large Cosmos DB query returns only the first page of knowledge snippets even though additional items match. Iterate the SDK query pages or continuation token until the result budget is reached. The underlying issue is The client treats a single response page as the entire logical query result. Direct acceptance evidence is The combined page set includes the expected later items without duplicate IDs.

Incorrect Answers

A:

Repeated client construction defeats intended SDK connection reuse. By contrast, the relevant technical condition here is: The client treats a single response page as the entire logical query result. The appropriate selection is: Iterate the SDK query pages or continuation token until the result budget is reached.

B:

That option concerns: Cosmos DB point reads require both item ID and the item's partition-key value. The current question instead depends on: The client treats a single response page as the entire logical query result. The directly supported result is: Iterate the SDK query pages or continuation token until the result budget is reached.

C:

A long-lived account key is unnecessarily embedded in application configuration. This is a separate requirement; the current case instead hinges on: The client treats a single response page as the entire logical query result. The matching answer is: Iterate the SDK query pages or continuation token until the result budget is reached.

Question 112

A configuration deployment overwrites a newer setting because two operators edited the same key simultaneously. Which engineering change is the most direct response to the stated failure and constraint?

  1. Use ETag conditional updates or another supported optimistic-concurrency check
  2. Use the provider's configurable refresh interval and local cache
  3. Use App Configuration feature-management filters with the supported targeted rollout policy
  4. Separate feature-flag evaluations by intended store, label and environment context

Explanation

Correct Answer

A:

This remedy fits the observed case: A configuration deployment overwrites a newer setting because two operators edited the same key simultaneously. Use ETag conditional updates or another supported optimistic-concurrency check. The underlying issue is Unconditional last-writer-wins updates discard another operator's newer edit. Direct acceptance evidence is The stale update is rejected while the newest intended value remains available.

Incorrect Answers

B:

Unbounded per-request polling creates excessive network and service load. This is a separate requirement; the current case instead hinges on: Unconditional last-writer-wins updates discard another operator's newer edit. The matching answer is: Use ETag conditional updates or another supported optimistic-concurrency check.

C:

The alternative addresses: A global boolean flag cannot target a measured subset of users. The reported constraint here is different: Unconditional last-writer-wins updates discard another operator's newer edit. The case-specific choice is: Use ETag conditional updates or another supported optimistic-concurrency check.

D:

Cross-environment caching mixes policy contexts. By contrast, the relevant technical condition here is: Unconditional last-writer-wins updates discard another operator's newer edit. The appropriate selection is: Use ETag conditional updates or another supported optimistic-concurrency check.

Question 113

A high-throughput Python service constructs a new Azure Cosmos DB SDK client on every HTTP request and sees connection churn. Which engineering change is the most direct response to the stated failure and constraint?

  1. Use supported Microsoft Entra identity authentication with suitable Cosmos DB data-plane roles
  2. Reuse an appropriately configured long-lived CosmosClient with controlled lifecycle
  3. Iterate the SDK query pages or continuation token until the result budget is reached
  4. Respect SDK retry-after guidance and bounded retries while right-sizing provisioned throughput

Explanation

Correct Answer

B:

This remedy fits the observed case: A high-throughput Python service constructs a new Azure Cosmos DB SDK client on every HTTP request and sees connection churn. Reuse an appropriately configured long-lived CosmosClient with controlled lifecycle. The underlying issue is Repeated client construction defeats intended SDK connection reuse. Direct acceptance evidence is Client connection reuse reduces setup overhead without cross-tenant data exposure.

Incorrect Answers

A:

A long-lived account key is unnecessarily embedded in application configuration. This is a separate requirement; the current case instead hinges on: Repeated client construction defeats intended SDK connection reuse. The matching answer is: Reuse an appropriately configured long-lived CosmosClient with controlled lifecycle.

C:

The client treats a single response page as the entire logical query result. By contrast, the relevant technical condition here is: Repeated client construction defeats intended SDK connection reuse. The appropriate selection is: Reuse an appropriately configured long-lived CosmosClient with controlled lifecycle.

D:

That option concerns: The request rate briefly exceeds available RU/s capacity. The current question instead depends on: Repeated client construction defeats intended SDK connection reuse. The directly supported result is: Reuse an appropriately configured long-lived CosmosClient with controlled lifecycle.

Question 114

A Function app deploys but its Service Bus trigger cannot find the named connection prefix in app settings. Which engineering change is the most direct response to the stated failure and constraint?

  1. Package the supported project layout including host.json, function_app.py and dependencies at the app root
  2. Select an appropriate Functions hosting plan with configured always-ready or prewarmed capacity
  3. Define matching binding connection keys or identity-based connection settings in the deployment environment
  4. Align application language version, Functions runtime and dependency package versions

Explanation

Correct Answer

C:

This remedy fits the observed case: A Function app deploys but its Service Bus trigger cannot find the named connection prefix in app settings. Define matching binding connection keys or identity-based connection settings in the deployment environment. The underlying issue is The trigger's connection property does not match configured application settings. Direct acceptance evidence is The trigger listener starts and receives a test message from the correct queue.

Incorrect Answers

A:

The alternative addresses: The deployment artifact lacks the discoverable Python app entry point. The reported constraint here is different: The trigger's connection property does not match configured application settings. The case-specific choice is: Define matching binding connection keys or identity-based connection settings in the deployment environment.

B:

A scale-to-zero hosting plan cannot guarantee warm instances for every invocation. By contrast, the relevant technical condition here is: The trigger's connection property does not match configured application settings. The appropriate selection is: Define matching binding connection keys or identity-based connection settings in the deployment environment.

D:

A language/runtime incompatibility causes module import failures. This is a separate requirement; the current case instead hinges on: The trigger's connection property does not match configured application settings. The matching answer is: Define matching binding connection keys or identity-based connection settings in the deployment environment.

Question 115

A container deployed to App Service cannot read its expected APP_MODE setting because operations edited a local .env file outside the hosted service. Which engineering change is the most direct response to the stated failure and constraint?

  1. Enable managed-identity-based registry pulls and grant the App Service identity authorized AcrPull access
  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. Set APP_MODE as an App Service application setting and restart or redeploy the configured container as needed

Explanation

Correct Answer

D:

This remedy fits the observed case: A container deployed to App Service cannot read its expected APP_MODE setting because operations edited a local .env file outside the hosted service. Set APP_MODE as an App Service application setting and restart or redeploy the configured container as needed. The underlying issue is Local development .env files are not automatically injected into App Service production containers. Direct acceptance evidence is The running container receives the intended environment variable from the platform.

Incorrect Answers

A:

The image pull used a now-invalid administrator credential instead of workload authorization. By contrast, the relevant technical condition here is: This remedy fits the observed case: A container deployed to App Service cannot read its expected APP_MODE setting because operations edited a local .env file outside the hosted service. The appropriate selection is: Set APP_MODE as an App Service application setting and restart or redeploy the configured container as needed.

B:

That option concerns: App outbound connectivity is not routed or resolved through the private network path. The current question instead depends on: This remedy fits the observed case: A container deployed to App Service cannot read its expected APP_MODE setting because operations edited a local .env file outside the hosted service. The directly supported result is: Set APP_MODE as an App Service application setting and restart or redeploy the configured container as needed.

C:

A wildcard cross-origin policy is incompatible with credentialed browser requests. This is a separate requirement; the current case instead hinges on: This remedy fits the observed case: A container deployed to App Service cannot read its expected APP_MODE setting because operations edited a local .env file outside the hosted service. The matching answer is: Set APP_MODE as an App Service application setting and restart or redeploy the configured container as needed.

Question 116

A queue receives thousands of files but a single consumer cannot process them quickly enough. Which engineering change is the most direct response to the stated failure and constraint?

  1. Run multiple competing receivers with peek-lock processing and safe message settlement
  2. Reduce the number of auto-forward hops to the supported limit and inspect transfer DLQ reasons
  3. Replace overly broad topic subscription rules with an appropriate SQL or correlation filter
  4. Publish to a Service Bus topic with a dedicated subscription for each consumer

Explanation

Correct Answer

A:

This remedy fits the observed case: A queue receives thousands of files but a single consumer cannot process them quickly enough. Run multiple competing receivers with peek-lock processing and safe message settlement. The underlying issue is One consumer constrains throughput and visibility locks require correct settlement. Direct acceptance evidence is Backlog drains faster while each successfully completed work item is logically applied once.

Incorrect Answers

B:

Auto-forward routing exceeds the allowed transfer hop count. This is a separate requirement; the current case instead hinges on: One consumer constrains throughput and visibility locks require correct settlement. The matching answer is: Run multiple competing receivers with peek-lock processing and safe message settlement.

C:

The alternative addresses: The subscription's default or current filter matches more properties than intended. The reported constraint here is different: One consumer constrains throughput and visibility locks require correct settlement. The case-specific choice is: Run multiple competing receivers with peek-lock processing and safe message settlement.

D:

A single queue distributes messages among competing consumers rather than fan-out. By contrast, the relevant technical condition here is: One consumer constrains throughput and visibility locks require correct settlement. The appropriate selection is: Run multiple competing receivers with peek-lock processing and safe message settlement.

Question 117

A GPU inference pod remains Pending despite free regular CPU nodes because a required GPU node selector has no matches. Which engineering change is the most direct response to the stated failure and constraint?

  1. Configure a CPU HPA with valid pod resource requests and a functioning metrics pipeline
  2. Adjust nodepool labels, selectors, and required tolerations to match eligible GPU capacity
  3. Configure AKS workload identity with a least-privileged Key Vault retrieval path or supported secrets-store CSI provider
  4. Grant the cluster image-pull identity the required registry pull authorization and correct the image reference

Explanation

Correct Answer

B:

This remedy fits the observed case: A GPU inference pod remains Pending despite free regular CPU nodes because a required GPU node selector has no matches. Adjust nodepool labels, selectors, and required tolerations to match eligible GPU capacity. The underlying issue is The scheduling constraints exclude all currently available eligible nodes. Direct acceptance evidence is The pod is scheduled on an appropriately labeled GPU node and sees the requested device.

Incorrect Answers

A:

HPA cannot compute meaningful utilization when required metrics or resource requests are absent. This is a separate requirement; the current case instead hinges on: The scheduling constraints exclude all currently available eligible nodes. The matching answer is: Adjust nodepool labels, selectors, and required tolerations to match eligible GPU capacity.

C:

Static credentials and missing workload identity create unnecessary secret exposure. By contrast, the relevant technical condition here is: The scheduling constraints exclude all currently available eligible nodes. The appropriate selection is: Adjust nodepool labels, selectors, and required tolerations to match eligible GPU capacity.

D:

That option concerns: The node or kubelet image-pull path lacks authorization to the private registry. The current question instead depends on: The scheduling constraints exclude all currently available eligible nodes. The directly supported result is: Adjust nodepool labels, selectors, and required tolerations to match eligible GPU capacity.

Question 118

An API stores a Cosmos DB account key in a Python config file and wants the app to authenticate without static account keys. Which engineering change is the most direct response to the stated failure and constraint?

  1. Configure the supported private endpoint and private DNS path used by the Azure-hosted workload
  2. Reuse an appropriately configured long-lived CosmosClient with controlled lifecycle
  3. Use supported Microsoft Entra identity authentication with suitable Cosmos DB data-plane roles
  4. Iterate the SDK query pages or continuation token until the result budget is reached

Explanation

Correct Answer

C:

This remedy fits the observed case: An API stores a Cosmos DB account key in a Python config file and wants the app to authenticate without static account keys. Use supported Microsoft Entra identity authentication with suitable Cosmos DB data-plane roles. The underlying issue is A long-lived account key is unnecessarily embedded in application configuration. Direct acceptance evidence is The app queries only its authorized containers using an identity token and no account key.

Incorrect Answers

A:

The alternative addresses: Network and DNS restrictions prevent reaching the configured account endpoint. The reported constraint here is different: A long-lived account key is unnecessarily embedded in application configuration. The case-specific choice is: Use supported Microsoft Entra identity authentication with suitable Cosmos DB data-plane roles.

B:

Repeated client construction defeats intended SDK connection reuse. By contrast, the relevant technical condition here is: A long-lived account key is unnecessarily embedded in application configuration. The appropriate selection is: Use supported Microsoft Entra identity authentication with suitable Cosmos DB data-plane roles.

D:

The client treats a single response page as the entire logical query result. This is a separate requirement; the current case instead hinges on: A long-lived account key is unnecessarily embedded in application configuration. The matching answer is: Use supported Microsoft Entra identity authentication with suitable Cosmos DB data-plane roles.

Question 119

A retrieval table uses TEXT for a strictly structured UUID identifier and joins repeatedly cast both sides. Which engineering change is the most direct response to the stated failure and constraint?

  1. Use a supported GIN index or expression index aligned with the actual JSONB predicates
  2. Use timestamp with time zone semantics and UTC-normalized application inputs
  3. Add or adjust an index supporting the account filter while considering real selectivity
  4. Store document identifiers in PostgreSQL UUID columns and update the query parameters to match

Explanation

Correct Answer

D:

This remedy fits the observed case: A retrieval table uses TEXT for a strictly structured UUID identifier and joins repeatedly cast both sides. Store document identifiers in PostgreSQL UUID columns and update the query parameters to match. The underlying issue is Mismatched identifier data types force conversions and impede index matching. Direct acceptance evidence is Joins avoid repetitive casts and use correctly typed indexes.

Incorrect Answers

A:

Without a suitable index, repeated metadata predicates scan too many documents. By contrast, the relevant technical condition here is: Mismatched identifier data types force conversions and impede index matching. The appropriate selection is: Store document identifiers in PostgreSQL UUID columns and update the query parameters to match.

B:

That option concerns: Lexicographic strings with inconsistent offsets are not a reliable chronological model. The current question instead depends on: Mismatched identifier data types force conversions and impede index matching. The directly supported result is: Store document identifiers in PostgreSQL UUID columns and update the query parameters to match.

C:

The available index does not match the dominant selective predicate. This is a separate requirement; the current case instead hinges on: Mismatched identifier data types force conversions and impede index matching. The matching answer is: Store document identifiers in PostgreSQL UUID columns and update the query parameters to match.

Question 120

A publisher changes the shape of custom event data and older consumers begin raising parsing errors. Which engineering change is the most direct response to the stated failure and constraint?

  1. Version the event contract or event type and maintain backward compatibility during transition
  2. Implement the supported subscription validation handshake or use a native Azure destination
  3. Return a retryable server error for genuine transient failures and a 2xx only after safe acceptance
  4. Renew and correctly bind the certificate on the HTTPS webhook endpoint

Explanation

Correct Answer

A:

This remedy fits the observed case: A publisher changes the shape of custom event data and older consumers begin raising parsing errors. Version the event contract or event type and maintain backward compatibility during transition. The underlying issue is A breaking payload change was introduced without contract evolution. Direct acceptance evidence is Both old and upgraded consumers process their explicitly supported schema versions.

Incorrect Answers

B:

The destination does not honor the handshake required to prove endpoint ownership. This is a separate requirement; the current case instead hinges on: A breaking payload change was introduced without contract evolution. The matching answer is: Version the event contract or event type and maintain backward compatibility during transition.

C:

The alternative addresses: Some nonretryable 4xx responses are dead-lettered or dropped rather than retried. The reported constraint here is different: A breaking payload change was introduced without contract evolution. The case-specific choice is: Version the event contract or event type and maintain backward compatibility during transition.

D:

The endpoint's certificate trust or hostname validation fails before request processing. By contrast, the relevant technical condition here is: A breaking payload change was introduced without contract evolution. The appropriate selection is: Version the event contract or event type and maintain backward compatibility during transition.