Microsoft AI-200 Practice Test 15 - Prepaway
Practice Exams:

Pass Microsoft AI-200 Exam in First Attempt Guaranteed!

Get 100% Latest Exam Questions, Accurate & Verified Answers!

30 Days Free Updates, Instant Download!

Verified By Experts
Premium Bundle
$14.99
$94.99 $109.98

AI-200 Premium Bundle


  • Premium File 174 Questions & Answers. Last update: Nov 28, 2026
  • Study Guide 153 Pages

Microsoft AI-200 Practice Test 15

Question 140

An Azure Event Grid subscription triggers image processing for every storage change, including unrelated file types and deleted objects. What is the BEST next action for the specific Azure environment described?

  1. Configure supported event type and advanced filters on subject or payload fields to narrow delivery to eligible inputs.
  2. Use a session-enabled Service Bus entity with a stable SessionId per conversation and session-aware consumers.
  3. Use bounded automatic lock renewal or split long computation into durable stages and make the handler idempotent.
  4. Publish to a Service Bus topic and create distinct subscriptions with suitable filters for each consumer.

Explanation

Correct Answer

A:

Configure supported event type and advanced filters on subject or payload fields to narrow delivery to eligible inputs. The developer should confirm: A test image creation invokes the worker while a nonmatching blob event does not.

Incorrect Answers

B:

Use a session-enabled Service Bus entity with a stable SessionId per conversation and session-aware consumers. The developer should confirm: A test image creation invokes the worker while a nonmatching blob event does not. Configure supported event type and advanced filters on subject or payload fields to narrow delivery to eligible inputs.

C:

Use bounded automatic lock renewal or split long computation into durable stages and make the handler idempotent. The developer should confirm: A test image creation invokes the worker while a nonmatching blob event does not. Configure supported event type and advanced filters on subject or payload fields to narrow delivery to eligible inputs.

D:

Publish to a Service Bus topic and create distinct subscriptions with suitable filters for each consumer. The developer should confirm: A test image creation invokes the worker while a nonmatching blob event does not. Configure supported event type and advanced filters on subject or payload fields to narrow delivery to eligible inputs.

Question 141

A compliance team requires a container image to be rebuilt weekly even when source code and dependency references have not changed. Which TWO selections jointly address the reported risk and demonstrate success?

  1. A planned time causes one recorded build and its resulting artifact is available for validation.
  2. Create a scheduled Azure Container Registry Task and retain build and scan evidence before promotion.
  3. Enable supported App Service container logging, inspect application exceptions, and correlate startup and request logs.
  4. Configure the app's expected container port and ensure the server binds to the reachable interface and listening port.
  5. A cleanup removes eligible stale artifacts while rollback and running images remain pullable.

Explanation

Correct Answers

A:

A planned time causes one recorded build and its resulting artifact is available for validation. A compliance team requires a container image to be rebuilt weekly even when source code and dependency references have not changed.

B:

Create a scheduled Azure Container Registry Task and retain build and scan evidence before promotion. A compliance team requires a container image to be rebuilt weekly even when source code and dependency references have not changed.

Incorrect Answers

C:

Enable supported App Service container logging, inspect application exceptions, and correlate startup and request logs. A compliance team requires a container image to be rebuilt weekly even when source code and dependency references have not changed. Create a scheduled Azure Container Registry Task and retain build and scan evidence before promotion.

D:

Configure the app's expected container port and ensure the server binds to the reachable interface and listening port. A compliance team requires a container image to be rebuilt weekly even when source code and dependency references have not changed. Create a scheduled Azure Container Registry Task and retain build and scan evidence before promotion.

E:

A cleanup removes eligible stale artifacts while rollback and running images remain pullable. A compliance team requires a container image to be rebuilt weekly even when source code and dependency references have not changed. A planned time causes one recorded build and its resulting artifact is available for validation.

Question 142

A multi-tenant RAG service uses only the prompt text as a Redis cache key and risks returning one customer's retrieved context to another. How should the team confirm the targeted requirement has been met?

  1. A cross-tenant test never reuses the other tenant's cached context or generated answer.
  2. A test KNN query returns expected neighbors with latency inside the cache service objective.
  3. A recovery drill rebuilds or restores search state from governed authoritative records.
  4. A synchronized expiration causes one controlled refresh while other requests remain responsive.

Explanation

Correct Answer

A:

A cross-tenant test never reuses the other tenant's cached context or generated answer.

Incorrect Answers

B:

A test KNN query returns expected neighbors with latency inside the cache service goal. A cross-tenant test never reuses the other tenant's cached context or generated answer.

C:

A recovery drill rebuilds or restores search state from governed authoritative records. A cross-tenant test never reuses the other tenant's cached context or generated answer.

D:

A synchronized expiration causes one controlled refresh while other requests remain responsive. A cross-tenant test never reuses the other tenant's cached context or generated answer.

Question 143

An AKS pod enters ImagePullBackOff after the organization migrates images from a public registry to private ACR. Choose TWO: one appropriate technical intervention and one observable acceptance check for this case.

  1. The Deployment starts the intended image without storing persistent registry passwords in pod specs.
  2. Tune Container Apps min and max replica settings and a supported event-driven scaling rule for the backing queue.
  3. Grant the cluster's appropriate kubelet identity registry-pull rights and check the image reference and network path.
  4. Tune the Container Apps HTTP scale rule concurrency threshold and resource limits after load testing.
  5. The pod handles slow requests without a restart loop while actual deadlocks still trigger recovery.

Explanation

Correct Answers

A:

The Deployment starts the intended image without storing persistent registry passwords in pod specs.

C:

Grant the cluster's appropriate kubelet identity registry-pull rights and check the image reference and network path. The Deployment starts the intended image without storing persistent registry passwords in pod specs.

Incorrect Answers

B:

Tune Container Apps min and max replica settings and a supported event-driven scaling rule for the backing queue. The Deployment starts the intended image without storing persistent registry passwords in pod specs. Grant the cluster's appropriate kubelet identity registry-pull rights and check the image reference and network path.

D:

Tune the Container Apps HTTP scale rule concurrency threshold and resource limits after load testing. The Deployment starts the intended image without storing persistent registry passwords in pod specs. Grant the cluster's appropriate kubelet identity registry-pull rights and check the image reference and network path.

E:

The pod handles slow requests without a restart loop while actual deadlocks still trigger recovery. The Deployment starts the intended image without storing persistent registry passwords in pod specs.

Question 144

Container Apps logs include a JSON metadata field containing tenant and modelVersion, but analysts cannot filter per-model failures correctly. Select TWO statements: the most appropriate corrective action and its direct verification result.

  1. Use a KQL query filtering a relevant requests table by timestamp, result code, and success status.
  2. A diagnostic chart displays failure counts grouped by endpoint and five-minute interval.
  3. Use KQL dynamic-field extraction or parse_json on the relevant column before filtering and projecting fields.
  4. Constrain the KQL time range early and project only required columns, then measure execution cost.
  5. A query produces model-version-specific error counts without exposing customer payloads.

Explanation

Correct Answers

C:

Use KQL dynamic-field extraction or parse_json on the relevant column before filtering and projecting fields. Container Apps logs include a JSON metadata field containing tenant and modelVersion, but analysts cannot filter per-model failures correctly.

E:

A query produces model-version-specific error counts without exposing customer payloads. Container Apps logs include a JSON metadata field containing tenant and modelVersion, but analysts cannot filter per-model failures correctly.

Incorrect Answers

A:

Use a KQL query filtering a relevant requests table by timestamp, result code, and success status. Container Apps logs include a JSON metadata field containing tenant and modelVersion, but analysts cannot filter per-model failures correctly. Use KQL dynamic-field extraction or parse_json on the relevant column before filtering and projecting fields.

B:

A diagnostic chart displays failure counts grouped by endpoint and five-minute interval. Container Apps logs include a JSON metadata field containing tenant and modelVersion, but analysts cannot filter per-model failures correctly. A query produces model-version-specific error counts without exposing customer payloads.

D:

Constrain the KQL time range early and project only required columns, then measure execution cost. Container Apps logs include a JSON metadata field containing tenant and modelVersion, but analysts cannot filter per-model failures correctly. A query produces model-version-specific error counts without exposing customer payloads.

Question 145

A Python model API running in Container Apps stores a vendor API token in its source repository because its deployment lacks a secret-management integration. What evidence should be examined to narrow the cause?

  1. Different instances report mixed values after a multi-key configuration change.
  2. Vault access is functional but no data-plane audit records are retained for investigation.
  3. The vault hostname resolves publicly inside the restricted workload subnet and connection attempts are denied.
  4. Repository history exposes a reusable token and the workload identity has no vault data-plane assignment.

Explanation

Correct Answer

D:

Repository history exposes a reusable token and the workload identity has no vault data-plane assignment. Managed identity plus Key Vault separates workload identity from reusable secret values.

Incorrect Answers

A:

Different instances report mixed values after a multi-key configuration change. Managed identity plus Key Vault separates workload identity from reusable secret values. Repository history exposes a reusable token and the workload identity has no vault data-plane assignment.

B:

Vault access is functional but no data-plane audit records are retained for investigation. Managed identity plus Key Vault separates workload identity from reusable secret values. Repository history exposes a reusable token and the workload identity has no vault data-plane assignment.

C:

The vault hostname resolves publicly inside the restricted workload subnet and connection attempts are denied. Managed identity plus Key Vault separates workload identity from reusable secret values. Repository history exposes a reusable token and the workload identity has no vault data-plane assignment.

Question 146

A function receives new model inference results but its output binding targets the wrong storage container and silently sends records elsewhere. What should the Azure developer recommend FIRST in this situation?

  1. Configure supported retry and poison or dead-letter handling while logging the source event and sanitized error.
  2. Package a compatible requirements.txt and supported runtime environment, then redeploy or perform a clean build.
  3. Implement a supported Service Bus trigger and configure the connection and delivery settlement behavior correctly.
  4. Correct the output binding path and connection configuration and validate its resource identity and permissions.

Explanation

Correct Answer

D:

Correct the output binding path and connection configuration and validate its resource identity and permissions.

Incorrect Answers

A:

Configure supported retry and poison or dead-letter handling while logging the source event and sanitized error. Correct the output binding path and connection configuration and validate its resource identity and permissions.

B:

Package a compatible requirements.txt and supported runtime environment, then redeploy or perform a clean build. Correct the output binding path and connection configuration and validate its resource identity and permissions.

C:

Implement a supported Service Bus trigger and configure the connection and delivery settlement behavior correctly. Correct the output binding path and connection configuration and validate its resource identity and permissions.

Question 147

A container build passes a database password through a Dockerfile ARG and leaves its value exposed in image build history. Select TWO statements: the most appropriate corrective action and its direct verification result.

  1. Inspection of the rebuilt image reveals no credential and the application retrieves it at runtime securely.
  2. Configure an ACR Task with an appropriate base-image update trigger and validate its downstream promotion gate.
  3. Configure the app's expected container port and ensure the server binds to the reachable interface and listening port.
  4. Remove the secret from build arguments and use a supported secret-safe build or runtime injection process.
  5. Production and staging revisions use their intended endpoints without rebuilding the same immutable image.

Explanation

Correct Answers

A:

Inspection of the rebuilt image reveals no credential and the application retrieves it at runtime securely. Build-time secrets must not be persisted in container layers or exposed in image metadata. Remove the secret from build arguments and use a supported secret-safe build or runtime injection process.

D:

Remove the secret from build arguments and use a supported secret-safe build or runtime injection process. Build-time secrets must not be persisted in container layers or exposed in image metadata. Inspection of the rebuilt image reveals no credential and the application retrieves it at runtime securely.

Incorrect Answers

B:

Configure an ACR Task with an appropriate base-image update trigger and validate its downstream promotion gate. Build-time secrets must not be persisted in container layers or exposed in image metadata. Remove the secret from build arguments and use a supported secret-safe build or runtime injection process.

C:

Configure the app's expected container port and ensure the server binds to the reachable interface and listening port. Build-time secrets must not be persisted in container layers or exposed in image metadata. Remove the secret from build arguments and use a supported secret-safe build or runtime injection process.

E:

Production and staging revisions use their intended endpoints without rebuilding the same immutable image. Build-time secrets must not be persisted in container layers or exposed in image metadata. Inspection of the rebuilt image reveals no credential and the application retrieves it at runtime securely.

Question 148

An embedding API needs forty seconds to initialize its model, and App Service restarts it repeatedly during startup. Which design change MOST directly addresses the organization's stated security requirement?

  1. Configure a reviewed image retention or purge process that excludes active and rollback images and tests tag references.
  2. Deploy the candidate to a staging slot with slot-specific settings and perform tested slot swap or safe promotion.
  3. Configure supported ACR private endpoint, DNS resolution, and network restrictions while preserving least-privileged authentication.
  4. Adjust supported container startup time limits and readiness behavior while correcting avoidable initialization overhead.

Explanation

Correct Answer

D:

Adjust supported container startup time limits and readiness behavior while correcting avoidable initialization overhead.

Incorrect Answers

A:

Configure a reviewed image retention or purge process that excludes active and rollback images and tests tag references. Adjust supported container startup time limits and readiness behavior while correcting avoidable initialization overhead.

B:

Deploy the candidate to a staging slot with slot-specific settings and perform tested slot swap or safe promotion. Adjust supported container startup time limits and readiness behavior while correcting avoidable initialization overhead.

C:

Configure supported ACR private endpoint, DNS resolution, and network restrictions while preserving least-privileged authentication. Adjust supported container startup time limits and readiness behavior while correcting avoidable initialization overhead.

Question 149

An automated secret rotation succeeds in writing a new credential to Key Vault but fails to update the backend database, breaking all inference requests. What concept is most relevant to understanding the decision?

  1. Credential rotation is an end-to-end dependency workflow, not merely the creation of a new vault value.
  2. Secret storage security includes evidence of use, not only whether reads are allowed.
  3. App Configuration labels separate related configuration variants without duplicating source code.
  4. Configuration services should be accessed by scoped workload identity where supported.

Explanation

Correct Answer

A:

Credential rotation is an end-to-end dependency workflow, not merely the creation of a new vault value.

Incorrect Answers

B:

Secret storage security includes evidence of use, not only whether reads are allowed. Credential rotation is an end-to-end dependency workflow, not merely the creation of a new vault value.

C:

App Configuration labels separate related configuration variants without duplicating source code. Credential rotation is an end-to-end dependency workflow, not merely the creation of a new vault value.

D:

Configuration services should be accessed by scoped workload identity where supported. Credential rotation is an end-to-end dependency workflow, not merely the creation of a new vault value.

Question 150

A regulated AI scoring service needs the exact set of feature settings used for each independently audited release. Which result best verifies the intended technical behavior?

  1. A rehearsal rotates both sides with no unauthorized exposure and restores service on validation failure.
  2. The app reads approved flags without a static connection string and cannot modify settings.
  3. The application reads its scoped secret without any credential committed to code or logged in output.
  4. The audited release can reload the original configuration selection and produce matching results.

Explanation

Correct Answer

D:

The audited release can reload the original configuration selection and produce matching results. The original evidence to compare against is: Postdeployment changes overwrite configuration keys and investigators cannot reconstruct prior settings.

Incorrect Answers

A:

A rehearsal rotates both sides with no unauthorized exposure and restores service on validation failure. The original evidence to compare against is: Postdeployment changes overwrite configuration keys and investigators cannot reconstruct prior settings. The audited release can reload the original configuration selection and produce matching results.

B:

The app reads approved flags without a static connection string and cannot modify settings. The original evidence to compare against is: Postdeployment changes overwrite configuration keys and investigators cannot reconstruct prior settings. The audited release can reload the original configuration selection and produce matching results.

C:

The application reads its scoped secret without any credential committed to code or logged in output. The original evidence to compare against is: Postdeployment changes overwrite configuration keys and investigators cannot reconstruct prior settings. The audited release can reload the original configuration selection and produce matching results.

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