Microsoft AI-200 Practice Test 50 - 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 50

Question 490

A Functions queue-triggered process fails repeatedly on one malformed AI job and never records why the message was rejected. Which finding best differentiates this problem from nearby security concerns?

  1. Invocation completes successfully while writes appear in an unexpected destination container.
  2. Function host logs report storage configuration or lease errors before any user function is invoked.
  3. Application logs show individual component errors without a shared correlation or trace identifier.
  4. Function execution history shows repeated failures for the same message with no quarantine destination.

Explanation

Correct Answer

D:

Function execution history shows repeated failures for the same message with no quarantine destination. Trigger retries need bounded failure handling so malformed work does not cause endless repeated execution.

Incorrect Answers

A:

Invocation completes successfully while writes appear in an unexpected destination container. Trigger retries need bounded failure handling so malformed work does not cause endless repeated execution. Function execution history shows repeated failures for the same message with no quarantine destination.

B:

Function host logs report storage configuration or lease errors before any user function is invoked. Trigger retries need bounded failure handling so malformed work does not cause endless repeated execution. Function execution history shows repeated failures for the same message with no quarantine destination.

C:

Application logs show individual component errors without a shared correlation or trace identifier. Trigger retries need bounded failure handling so malformed work does not cause endless repeated execution. Function execution history shows repeated failures for the same message with no quarantine destination.

Question 491

A photo tagging function is meant to run when a new eligible object is uploaded, but its timer trigger misses urgent uploads between polling windows. Which finding best differentiates this problem from nearby security concerns?

  1. Function execution history shows repeated failures for the same message with no quarantine destination.
  2. Remote startup logs cannot import a package installed globally on the developer's laptop.
  3. Endpoint metadata shows anonymous access and the route responds to a request with no valid credential.
  4. Storage creates blob events but the function only executes on a periodic schedule.

Explanation

Correct Answer

D:

Storage creates blob events but the function only executes on a periodic schedule. Event-driven triggers map resource events to function executions rather than polling intervals.

Incorrect Answers

A:

Function execution history shows repeated failures for the same message with no quarantine destination. Event-driven triggers map resource events to function executions rather than polling intervals. Storage creates blob events but the function only executes on a periodic schedule.

B:

Remote startup logs cannot import a package installed globally on the developer's laptop. Event-driven triggers map resource events to function executions rather than polling intervals. Storage creates blob events but the function only executes on a periodic schedule.

C:

Endpoint metadata shows anonymous access and the route responds to a request with no valid credential. Event-driven triggers map resource events to function executions rather than polling intervals. Storage creates blob events but the function only executes on a periodic schedule.

Question 492

A production service must keep using an approved external API key during rollout, while staging may test a newer vault secret version. Which TWO choices together identify the recommended action and a meaningful success test?

  1. Use a versioned App Configuration snapshot or an equivalent immutable configuration release mechanism and record its identifier.
  2. Configure an appropriate App Configuration feature flag and targeting filter with approved rollout rules.
  3. Use an appropriately versioned secret reference or controlled secret alias strategy with explicit promotion checks.
  4. Production remains on the approved key until a tested promotion changes the intended version.
  5. The recovered secret is available to authorized callers and its access audit is recorded.

Explanation

Correct Answers

C:

Use an appropriately versioned secret reference or controlled secret alias strategy with explicit promotion checks. This selection supplies the implementation action for: A production service must keep using an approved external API key during rollout, while staging may test a newer vault secret version.

D:

Production remains on the approved key until a tested promotion changes the intended version. This selection supplies the implementation action for: A production service must keep using an approved external API key during rollout, while staging may test a newer vault secret version.

Incorrect Answers

A:

Use a versioned App Configuration snapshot or an equivalent immutable configuration release mechanism and record its identifier. This selection supplies the implementation action for: A production service must keep using an approved external API key during rollout, while staging may test a newer vault secret version. Use an appropriately versioned secret reference or controlled secret alias strategy with explicit promotion checks.

B:

Configure an appropriate App Configuration feature flag and targeting filter with approved rollout rules. This selection supplies the implementation action for: A production service must keep using an approved external API key during rollout, while staging may test a newer vault secret version. Use an appropriately versioned secret reference or controlled secret alias strategy with explicit promotion checks.

E:

The recovered secret is available to authorized callers and its access audit is recorded. This selection supplies the implementation action for: A production service must keep using an approved external API key during rollout, while staging may test a newer vault secret version. Production remains on the approved key until a tested promotion changes the intended version.

Question 493

A document-classification API is deployed with the mutable latest image tag, and an emergency redeployment unexpectedly starts different code. Which security principle best explains why the proposed response fits the case?

  1. Container hosting requires agreement between the application's listener and the platform's ingress configuration.
  2. A workload identity with scoped registry pull permission avoids embedded registry credentials.
  3. Reproducible container deployments depend on an identified artifact rather than a mutable tag.
  4. Private registry connectivity and registry authorization are separate requirements that must both be satisfied.

Explanation

Correct Answer

C:

Reproducible container deployments depend on an identified artifact rather than a mutable tag.

Incorrect Answers

A:

Container hosting requires agreement between the application's listener and the platform's ingress configuration. Reproducible container deployments depend on an identified artifact rather than a mutable tag.

B:

A workload identity with scoped registry pull permission avoids embedded registry credentials. Reproducible container deployments depend on an identified artifact rather than a mutable tag.

D:

Private registry connectivity and registry authorization are separate requirements that must both be satisfied. Reproducible container deployments depend on an identified artifact rather than a mutable tag.

Question 494

A web-hosted AI API stores its provider credential directly as plaintext in App Service settings, and security requires rotation without a code change. Choose TWO: one appropriate technical intervention and one observable acceptance check for this case.

  1. Use an authorized managed identity and Key Vault-backed configuration reference with a documented rotation-refresh strategy.
  2. After rotating the secret, a controlled application request uses the new value without exposing it in logs.
  3. Production and staging revisions use their intended endpoints without rebuilding the same immutable image.
  4. Enable a supported managed-identity image pull and grant only the AcrPull role on the appropriate registry scope.
  5. Configure supported ACR private endpoint, DNS resolution, and network restrictions while preserving least-privileged authentication.

Explanation

Correct Answers

A:

Use an authorized managed identity and Key Vault-backed configuration reference with a documented rotation-refresh strategy. A web-hosted AI API stores its provider credential directly as plaintext in App Service settings, and security requires rotation without a code change.

B:

After rotating the secret, a controlled application request uses the new value without exposing it in logs. A web-hosted AI API stores its provider credential directly as plaintext in App Service settings, and security requires rotation without a code change.

Incorrect Answers

C:

Production and staging revisions use their intended endpoints without rebuilding the same immutable image. A web-hosted AI API stores its provider credential directly as plaintext in App Service settings, and security requires rotation without a code change. After rotating the secret, a controlled application request uses the new value without exposing it in logs.

D:

Enable a supported managed-identity image pull and grant only the AcrPull role on the appropriate registry scope. A web-hosted AI API stores its provider credential directly as plaintext in App Service settings, and security requires rotation without a code change. Use an authorized managed identity and Key Vault-backed configuration reference with a documented rotation-refresh strategy.

E:

Configure supported ACR private endpoint, DNS resolution, and network restrictions while preserving least-privileged authentication. A web-hosted AI API stores its provider credential directly as plaintext in App Service settings, and security requires rotation without a code change. Use an authorized managed identity and Key Vault-backed configuration reference with a documented rotation-refresh strategy.

Question 495

An AKS pod enters ImagePullBackOff after the organization migrates images from a public registry to private ACR. Which explanation accounts for the observed behavior and intended fix?

  1. Event-triggered jobs handle finite workloads and still require idempotent processing of duplicate signals.
  2. Liveness probes should detect irrecoverable process failure, not transient dependence on a slow service.
  3. HTTP autoscaling responds to request concurrency and differs from event-source queue depth scaling.
  4. AKS image-pull authorization belongs to the node or configured identity integration and registry scope.

Explanation

Correct Answer

D:

AKS image-pull authorization belongs to the node or configured identity integration and registry scope. The completion signal is: The Deployment starts the intended image without storing persistent registry passwords in pod specs.

Incorrect Answers

A:

Event-triggered jobs handle finite workloads and still require idempotent processing of duplicate signals. The completion signal is: The Deployment starts the intended image without storing persistent registry passwords in pod specs. AKS image-pull authorization belongs to the node or configured identity integration and registry scope.

B:

Liveness probes should detect irrecoverable process failure, not transient dependence on a slow service. The completion signal is: The Deployment starts the intended image without storing persistent registry passwords in pod specs. AKS image-pull authorization belongs to the node or configured identity integration and registry scope.

C:

HTTP autoscaling responds to request concurrency and differs from event-source queue depth scaling. The completion signal is: The Deployment starts the intended image without storing persistent registry passwords in pod specs. AKS image-pull authorization belongs to the node or configured identity integration and registry scope.

Question 496

An AI product stores only customer document embeddings in Redis and loses them after a cache reinitialization with no source documents available to rebuild. What is the BEST next action for the specific Azure environment described?

  1. Retain authoritative source and embeddings in appropriate durable data storage, using Redis as an intentional cache or managed vector layer with persistence planning.
  2. Cache a versioned answer or retrieval result in Azure Managed Redis with appropriate TTL and key composition.
  3. Combine vector KNN ranking with the appropriate RediSearch tag or numeric filters and application authorization.
  4. Include the authorized tenant, model version, and relevant retrieval scope in cache keys and enforce access checks before reuse.

Explanation

Correct Answer

A:

Retain authoritative source and embeddings in appropriate durable data storage, using Redis as an intentional cache or managed vector layer with persistence planning. Cache availability and durability characteristics must match recovery requirements and the authoritative data design.

Incorrect Answers

B:

Cache a versioned answer or retrieval result in Azure Managed Redis with appropriate TTL and key composition. Cache availability and durability characteristics must match recovery requirements and the authoritative data design. Retain authoritative source and embeddings in appropriate durable data storage, using Redis as an intentional cache or managed vector layer with persistence planning.

C:

Combine vector KNN ranking with the appropriate RediSearch tag or numeric filters and application authorization. Cache availability and durability characteristics must match recovery requirements and the authoritative data design. Retain authoritative source and embeddings in appropriate durable data storage, using Redis as an intentional cache or managed vector layer with persistence planning.

D:

Include the authorized tenant, model version, and relevant retrieval scope in cache keys and enforce access checks before reuse. Cache availability and durability characteristics must match recovery requirements and the authoritative data design. Retain authoritative source and embeddings in appropriate durable data storage, using Redis as an intentional cache or managed vector layer with persistence planning.

Question 497

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 technical distinction MOST accurately describes the control boundary?

  1. Configuration services should be accessed by scoped workload identity where supported.
  2. Managed identity plus Key Vault separates workload identity from reusable secret values.
  3. External secret-store integration must combine workload identity, retrieval permissions, and lifecycle management.
  4. Immutable configuration snapshots enable reproducible behavior and traceable change history.

Explanation

Correct Answer

B:

Managed identity plus Key Vault separates workload identity from reusable secret values. The completion signal is: The application reads its scoped secret without any credential committed to code or logged in output.

Incorrect Answers

A:

Configuration services should be accessed by scoped workload identity where supported. The completion signal is: The application reads its scoped secret without any credential committed to code or logged in output. Managed identity plus Key Vault separates workload identity from reusable secret values.

C:

External secret-store integration must combine workload identity, retrieval permissions, and lifecycle management. The completion signal is: The application reads its scoped secret without any credential committed to code or logged in output. Managed identity plus Key Vault separates workload identity from reusable secret values.

D:

Immutable configuration snapshots enable reproducible behavior and traceable change history. The completion signal is: The application reads its scoped secret without any credential committed to code or logged in output. Managed identity plus Key Vault separates workload identity from reusable secret values.

Question 498

A worker receives a Service Bus message in PeekLock mode, then crashes before completing it; the operator incorrectly assumes it was removed. What evidence should be examined to narrow the cause?

  1. One receiver completes the message and the other pipeline never sees the event.
  2. Delivery history shows the same message reappears after its lock expires without settlement.
  3. The receiver processes unsigned arbitrary requests without confirming subscription identity or authorized sender.
  4. Two identical submissions have matching business identifiers but newly generated random message IDs.

Explanation

Correct Answer

B:

Delivery history shows the same message reappears after its lock expires without settlement. PeekLock gives at-least-once processing semantics unless the application makes effects idempotent.

Incorrect Answers

A:

One receiver completes the message and the other pipeline never sees the event. PeekLock gives at-least-once processing semantics unless the application makes effects idempotent. Delivery history shows the same message reappears after its lock expires without settlement.

C:

The receiver processes unsigned arbitrary requests without confirming subscription identity or authorized sender. PeekLock gives at-least-once processing semantics unless the application makes effects idempotent. Delivery history shows the same message reappears after its lock expires without settlement.

D:

Two identical submissions have matching business identifiers but newly generated random message IDs. PeekLock gives at-least-once processing semantics unless the application makes effects idempotent. Delivery history shows the same message reappears after its lock expires without settlement.

Question 499

A web-hosted AI API stores its provider credential directly as plaintext in App Service settings, and security requires rotation without a code change. Which implementation choice most directly resolves this service problem?

  1. Use an authorized managed identity and Key Vault-backed configuration reference with a documented rotation-refresh strategy.
  2. Remove the secret from build arguments and use a supported secret-safe build or runtime injection process.
  3. Enable supported App Service container logging, inspect application exceptions, and correlate startup and request logs.
  4. Move environment-specific connection settings to App Service application configuration and restart or deploy with the correct values.

Explanation

Correct Answer

A:

Use an authorized managed identity and Key Vault-backed configuration reference with a documented rotation-refresh strategy. The case reports: A web-hosted AI API stores its provider credential directly as plaintext in App Service settings, and security requires rotation without a code change.

Incorrect Answers

B:

Remove the secret from build arguments and use a supported secret-safe build or runtime injection process. The case reports: A web-hosted AI API stores its provider credential directly as plaintext in App Service settings, and security requires rotation without a code change. Use an authorized managed identity and Key Vault-backed configuration reference with a documented rotation-refresh strategy.

C:

Enable supported App Service container logging, inspect application exceptions, and correlate startup and request logs. The case reports: A web-hosted AI API stores its provider credential directly as plaintext in App Service settings, and security requires rotation without a code change. Use an authorized managed identity and Key Vault-backed configuration reference with a documented rotation-refresh strategy.

D:

Move environment-specific connection settings to App Service application configuration and restart or deploy with the correct values. The case reports: A web-hosted AI API stores its provider credential directly as plaintext in App Service settings, and security requires rotation without a code change. Use an authorized managed identity and Key Vault-backed configuration reference with a documented rotation-refresh strategy.

Question 500

A public webhook accepts Event Grid event notifications, but security audits find anyone can send indistinguishable forged POST requests. What is the BEST next action for the specific Azure environment described?

  1. Switch to an appropriate PeekLock workflow with completion after success and durable error handling.
  2. Build a reviewed DLQ workflow that inspects original message metadata and failure reason before selective remediation.
  3. Use supported delivery authentication, subscription validation, and network restrictions or identity validation for the endpoint.
  4. Use a Service Bus queue with competing receivers and explicitly settle each processed message.

Explanation

Correct Answer

C:

Use supported delivery authentication, subscription validation, and network restrictions or identity validation for the endpoint. The supporting observation is: The receiver processes unsigned arbitrary requests without confirming subscription identity or authorized sender.

Incorrect Answers

A:

Switch to an appropriate PeekLock workflow with completion after success and durable error handling. The supporting observation is: The receiver processes unsigned arbitrary requests without confirming subscription identity or authorized sender. Use supported delivery authentication, subscription validation, and network restrictions or identity validation for the endpoint.

B:

Build a reviewed DLQ workflow that inspects original message metadata and failure reason before selective remediation. The supporting observation is: The receiver processes unsigned arbitrary requests without confirming subscription identity or authorized sender. Use supported delivery authentication, subscription validation, and network restrictions or identity validation for the endpoint.

D:

Use a Service Bus queue with competing receivers and explicitly settle each processed message. The supporting observation is: The receiver processes unsigned arbitrary requests without confirming subscription identity or authorized sender. Use supported delivery authentication, subscription validation, and network restrictions or identity validation for the endpoint.

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