Pass Your Microsoft AI-200 Exam Easy!

Microsoft AI-200 Exam Questions & Answers, Accurate & Verified By IT Experts

Instant Download, Free Fast Updates, 99.6% Pass Rate

AI-200 Premium Bundle

$95.00

Microsoft AI-200 Premium Bundle

AI-200 Premium File: 174 Questions & Answers

Last Update: Oct 30, 2026

AI-200 PDF Study Guide: 153 Pages

AI-200 Bundle gives you unlimited access to "AI-200" files. However, this does not replace the need for a .vce exam simulator. To download VCE exam simulator click here
Microsoft AI-200 Premium Bundle
Microsoft AI-200 Premium Bundle

AI-200 Premium File: 174 Questions & Answers

Last Update: Oct 30, 2026

AI-200 PDF Study Guide: 153 Pages

$95.00

AI-200 Bundle gives you unlimited access to "AI-200" files. However, this does not replace the need for a .vce exam simulator. To download your .vce exam simulator click here

Microsoft AI-200 Practice Test 16

Question 150

A document update modifies one small field but the application always replaces the entire large JSON payload. Which solution should the developer choose?

  1. Use ETag-based conditional writes with If-Match concurrency control.
  2. Use a Cosmos DB transactional batch scoped to one partition key.
  3. Use a point read with the document id and partition key.
  4. Use a suitable Cosmos DB partial document patch operation.

Explanation

Correct Answer

D:

Targeted patching changes selected fields without resubmitting the full document body.

Incorrect Answers

A:

Use ETag-based conditional writes with If-Match concurrency control: conditional writes reject an update when another writer has changed the observed version.

B:

Use a Cosmos DB transactional batch scoped to one partition key: use a Cosmos DB transactional batch scoped to one partition key: transactional batch offers atomic execution for operations sharing the partition-key scope.

C:

Use a point read with the document id and partition key: use a point read with the document id and partition key: point reads avoid the RU cost of a general query when both the id and partition key are known; Use a suitable Cosmos DB partial document patch operation.

Question 151

An API token supplied as a Docker build argument appears in image history during a release audit. Which configuration BEST satisfies these constraints?

  1. Compare the running deployment digest to the remediated image digest and roll out the approved build.
  2. Use a multi-stage Docker build with a lean runtime stage.
  3. Use supported ephemeral build secrets rather than embedding sensitive values in image layers.
  4. Configure the image and runtime to use a dedicated non-root identity.

Explanation

Correct Answer

C:

Layer and build metadata can retain argument values; ephemeral secret mounts avoid persisting them in artifacts.

Incorrect Answers

A:

Compare the running deployment digest to the remediated image digest and roll out the approved build: compare the running deployment digest to the remediated image digest and roll out the approved build: image scanning changes no already running workload until its image reference is updated.

B:

Use a multi-stage Docker build with a lean runtime stage: the runtime image need not inherit build tools and temporary artifacts from its builder stage.

D:

Configure the image and runtime to use a dedicated non-root identity: configure the image and runtime to use a dedicated non-root identity: reduced container privileges limit the damage of a compromised application process.

Question 152

Container Apps workloads have no central log destination, preventing engineers from correlating failed revision starts. Which approach most directly fixes this problem?

  1. Deploy the Container Apps environment with the supported virtual-network configuration and routes.
  2. Configure a KEDA Azure Service Bus queue scaler with suitable authentication and message thresholds.
  3. Connect the Container Apps environment to a suitable Log Analytics workspace.
  4. Configure internal ingress for the backend app and external ingress only for the gateway.

Explanation

Correct Answer

C:

Environment logging makes platform and console events available for centralized investigation.

Incorrect Answers

A:

Deploy the Container Apps environment with the supported virtual-network configuration and routes: deploy the Container Apps environment with the supported virtual-network configuration and routes: environment-level network integration determines permitted workload paths beyond application code.

B:

Configure a KEDA Azure Service Bus queue scaler with suitable authentication and message thresholds: configure a KEDA Azure Service Bus queue scaler with suitable authentication and message thresholds: queue length can drive event-based replica counts without a constantly running idle worker.

D:

Configure internal ingress for the backend app and external ingress only for the gateway: internal ingress limits direct public exposure while allowing approved environment-level routing.

Question 153

A timer Function fires one hour later than expected after daylight-saving changes because operators assumed local time. Which approach most directly fixes this problem?

  1. Use supported deployment slots or versioned deployment artifacts with a documented rollback.
  2. Make the scheduled operation idempotent with a durable execution checkpoint.
  3. Configure a timer-triggered Azure Function with an appropriate NCRONTAB expression.
  4. Document the timezone convention and configure a correct UTC or supported timezone schedule.

Explanation

Correct Answer

D:

Timer schedules must use the intended time basis rather than an unstated local offset.

Incorrect Answers

A:

Use supported deployment slots or versioned deployment artifacts with a documented rollback: use supported deployment slots or versioned deployment artifacts with a documented rollback: controlled release history makes rollback possible without hand-editing live function files; Document the timezone convention and configure a correct UTC or supported timezone schedule.

B:

Make the scheduled operation idempotent with a durable execution checkpoint: make the scheduled operation idempotent with a durable execution checkpoint: scheduling can be disrupted or retried, so business effects need deduplication beyond the clock.

C:

Configure a timer-triggered Azure Function with an appropriate NCRONTAB expression: configure a timer-triggered Azure Function with an appropriate NCRONTAB expression: timer triggers schedule executions using runtime-managed schedules rather than a polling loop.

Question 154

A queue worker prefetches hundreds of messages while processing only one at a time and sees lock expirations. What should the team do first?

  1. Configure automatic lock renewal within limits and keep the handler idempotent.
  2. Lower prefetch to match processing concurrency and lock duration.
  3. Receive in PeekLock mode and Complete only after processing succeeds.
  4. Treat lost-lock settlement as uncertain and rely on idempotent retry semantics.

Explanation

Correct Answer

B:

Prefetched messages may already be locked before the application begins handling them.

Incorrect Answers

A:

Configure automatic lock renewal within limits and keep the handler idempotent: renewed locks extend a valid processing window; idempotence protects against unavoidable redelivery.

C:

Receive in PeekLock mode and Complete only after processing succeeds: receive in PeekLock mode and Complete only after processing succeeds: an unsettled locked message can be made available again when the lock expires.

D:

Treat lost-lock settlement as uncertain and rely on idempotent retry semantics: treat lost-lock settlement as uncertain and rely on idempotent retry semantics: a stale lock token cannot prove that the broker accepted completion.

Question 155

A pgvector query orders by the negated cosine-distance expression, placing the least similar chunks first. What should the team do first?

  1. Order by the vector distance expression and restrict results with LIMIT.
  2. Run a bounded exact vector search without the ANN index for recall comparison.
  3. Add an appropriate JSONB or expression index for the actual predicate.
  4. Sort the cosine-distance expression in the correct ascending direction.

Explanation

Correct Answer

D:

Smaller cosine distance represents closer vectors for a matching operator.

Incorrect Answers

A:

Order by the vector distance expression and restrict results with LIMIT: order by the vector distance expression and restrict results with LIMIT: nearest-neighbor search requires distance ranking rather than arbitrary row order.

B:

Run a bounded exact vector search without the ANN index for recall comparison: run a bounded exact vector search without the ANN index for recall comparison: exact nearest neighbors provide ground truth against which approximate-index recall can be measured.

C:

Add an appropriate JSONB or expression index for the actual predicate: add an appropriate JSONB or expression index for the actual predicate: index choice should match operators used to filter frequently queried metadata; Sort the cosine-distance expression in the correct ascending direction.

Question 156

A release job pulls images directly from an anonymous public registry despite a requirement for internally approved artifacts. Which approach most directly fixes this problem?

  1. Assign the job identity an ACR pull-only permission at the correct scope.
  2. Gate promotion on approved vulnerability-scanning results for the exact image digest.
  3. Compare the running deployment digest to the remediated image digest and roll out the approved build.
  4. Mirror approved images into ACR and deploy only from the controlled repository.

Explanation

Correct Answer

D:

A vetted registry path makes artifact provenance and retention enforceable.

Incorrect Answers

A:

Assign the job identity an ACR pull-only permission at the correct scope: assign the job identity an ACR pull-only permission at the correct scope: pull-only access permits downloads without authorizing image modification; Mirror approved images into ACR and deploy only from the controlled repository.

B:

Gate promotion on approved vulnerability-scanning results for the exact image digest: blocking a vulnerable digest before deployment reduces known package exposure in production.

C:

Compare the running deployment digest to the remediated image digest and roll out the approved build: compare the running deployment digest to the remediated image digest and roll out the approved build: image scanning changes no already running workload until its image reference is updated; Mirror approved images into ACR and deploy only from the controlled repository.

Question 157

A worker Function uses a global storage-account key to list all containers although it only needs one blob container. Which implementation BEST meets the requirement?

  1. Enable the Function's managed identity and grant scoped secret-read permission.
  2. Implement bounded secret caching and refresh on rotation or authentication failures.
  3. Use least-privilege data-plane authorization for the required blob scope.
  4. Set the appropriate HTTP trigger authorization level and manage keys securely.

Explanation

Correct Answer

C:

Scoped role assignment limits a compromised function to the resources it actually processes.

Incorrect Answers

A:

Enable the Function's managed identity and grant scoped secret-read permission: managed identity supplies short-lived tokens without embedding a separate service principal password.

B:

Implement bounded secret caching and refresh on rotation or authentication failures: implement bounded secret caching and refresh on rotation or authentication failures: a long-lived process may retain stale credentials even when Key Vault has a newer version.

D:

Set the appropriate HTTP trigger authorization level and manage keys securely: set the appropriate HTTP trigger authorization level and manage keys securely: trigger auth level controls whether a function or host key is required on supported calls; Use least-privilege data-plane authorization for the required blob scope.

Question 158

A deployed Python HTTP Function returns 404 because the client calls the default /api route while the declared route is different. What is the MOST appropriate next step?

  1. Define the HTTP trigger and bindings in the Python v2 decorator model.
  2. Set the appropriate HTTP trigger authorization level and manage keys securely.
  3. Match the request URL to the configured HTTP trigger route and route prefix.
  4. Configure an Event Grid trigger and matching event subscription.

Explanation

Correct Answer

C:

Function routing depends on the trigger's declared path rather than the Python function's display name alone.

Incorrect Answers

A:

Define the HTTP trigger and bindings in the Python v2 decorator model: define the HTTP trigger and bindings in the Python v2 decorator model: the v2 programming model discovers function metadata from decorators instead of separate hand-authored function.json files.

B:

Set the appropriate HTTP trigger authorization level and manage keys securely: set the appropriate HTTP trigger authorization level and manage keys securely: trigger auth level controls whether a function or host key is required on supported calls; Match the request URL to the configured HTTP trigger route and route prefix.

D:

Configure an Event Grid trigger and matching event subscription: configure an Event Grid trigger and matching event subscription: event Grid delivery can invoke the Function in response to published source events.

Question 159

A vault must protect critical keys from immediate permanent deletion by an overprivileged operator. What should the engineer change?

  1. Configure an appropriate App Configuration feature flag evaluated by the client.
  2. Enable and retain appropriate Key Vault purge protection.
  3. Recover the soft-deleted secret within its retention window.
  4. Inspect the soft-deleted vault state and use the authorized recovery or purge lifecycle.

Explanation

Correct Answer

B:

Purge protection prevents bypassing the retention period to destroy deleted vault objects.

Incorrect Answers

A:

Configure an appropriate App Configuration feature flag evaluated by the client: configure an appropriate App Configuration feature flag evaluated by the client: feature flags allow controlled runtime behavior changes separate from a code deployment.

C:

Recover the soft-deleted secret within its retention window: soft-delete recovery can restore a deleted secret before permanent purge.

D:

Inspect the soft-deleted vault state and use the authorized recovery or purge lifecycle: inspect the soft-deleted vault state and use the authorized recovery or purge lifecycle: soft-deleted vaults can retain their names until the retention process is resolved.

Question 160

A swapped App Service deployment reaches the wrong database because a staging connection string moved to production. What should the engineer change?

  1. Swap back to the known-good slot and investigate the failed release.
  2. Separate the App Service application settings and environment resources for each deployment stage.
  3. Mark environment-specific connection settings as deployment-slot settings.
  4. Deploy to a staging slot, validate it, and perform a controlled slot swap.

Explanation

Correct Answer

C:

Sticky slot settings remain with the intended environment when application content swaps.

Incorrect Answers

A:

Swap back to the known-good slot and investigate the failed release: swap back to the known-good slot and investigate the failed release: a reverse slot swap can restore the previous content while preserving evidence for diagnosis.

B:

Separate the App Service application settings and environment resources for each deployment stage: separate the App Service application settings and environment resources for each deployment stage: environment isolation prevents development workloads from inheriting production connection values; Mark environment-specific connection settings as deployment-slot settings.

D:

Deploy to a staging slot, validate it, and perform a controlled slot swap: slots support preproduction testing and controlled traffic cutover without rebuilding the same image.


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

Purchase Individually

AI-200 Premium File

Premium File
AI-200 Premium File
174 Q&A
$98.99$89.99

AI-200 Study Guide

Study Guide
AI-200 Study Guide
153 PDF Pages
$27.49$24.99

Site Search:

 

VISA, MasterCard, AmericanExpress, UnionPay

SPECIAL OFFER: GET 10% OFF

ExamCollection Premium

ExamCollection Premium Files

Pass your Exam with ExamCollection's PREMIUM files!

  • ExamCollection Certified Safe Files
  • Guaranteed to have ACTUAL Exam Questions
  • Up-to-Date Exam Study Material - Verified by Experts
  • Instant Downloads
Enter Your Email Address to Receive Your 10% Off Discount Code
A Confirmation Link will be sent to this email address to verify your login
We value your privacy. We will not rent or sell your email address

SPECIAL OFFER: GET 10% OFF

Use Discount Code:

MIN10OFF

A confirmation link was sent to your e-mail.
Please check your mailbox for a message from support@examcollection.com and follow the directions.

Next

Download Free Demo of VCE Exam Simulator

Experience Avanset VCE Exam Simulator for yourself.

Simply submit your e-mail address below to get started with our interactive software demo of your free trial.

Free Demo Limits: In the demo version you will be able to access only first 5 questions from exam.