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

Question 120

A PostgreSQL pgvector table has 600000 vectors and ORDER BY embedding cosine distance is too slow without an approximate index. Which explanation accounts for the observed behavior and intended fix?

  1. Database storage exhaustion is independent of available CPU and query-index tuning.
  2. A hybrid relational and JSONB schema balances structure, flexibility, and indexable access patterns.
  3. HNSW supports approximate nearest neighbors, with build resources and recall affected by tuning settings.
  4. Relational indexing strategy should follow actual predicates, row distribution, and sort requirements.

Explanation

Correct Answer

C:

HNSW supports approximate nearest neighbors, with build resources and recall affected by tuning settings. A PostgreSQL pgvector table has 600000 vectors and ORDER BY embedding cosine distance is too slow without an approximate index.

Incorrect Answers

A:

Database storage exhaustion is independent of available CPU and query-index tuning. A PostgreSQL pgvector table has 600000 vectors and ORDER BY embedding cosine distance is too slow without an approximate index. HNSW supports approximate nearest neighbors, with build resources and recall affected by tuning settings.

B:

A hybrid relational and JSONB schema balances structure, flexibility, and indexable access patterns. A PostgreSQL pgvector table has 600000 vectors and ORDER BY embedding cosine distance is too slow without an approximate index. HNSW supports approximate nearest neighbors, with build resources and recall affected by tuning settings.

D:

Relational indexing strategy should follow actual predicates, row distribution, and sort requirements. A PostgreSQL pgvector table has 600000 vectors and ORDER BY embedding cosine distance is too slow without an approximate index. HNSW supports approximate nearest neighbors, with build resources and recall affected by tuning settings.

Question 121

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 finding best differentiates this problem from nearby security concerns?

  1. The image manifest contains only an amd64 platform entry while the worker reports arm64.
  2. Two manually built images carry the same release label but have different package inventories.
  3. The registry has manual builds but no scheduled task runs during the required compliance window.
  4. Application settings contain a reusable credential string while the app has no authorized Key Vault secret access.

Explanation

Correct Answer

D:

Application settings contain a reusable credential string while the app has no authorized Key Vault secret access. Secret retrieval should be identity-scoped and separated from ordinary configuration and deployed code.

Incorrect Answers

A:

The image manifest contains only an amd64 platform entry while the worker reports arm64. Secret retrieval should be identity-scoped and separated from ordinary configuration and deployed code. Application settings contain a reusable credential string while the app has no authorized Key Vault secret access.

B:

Two manually built images carry the same release label but have different package inventories. Secret retrieval should be identity-scoped and separated from ordinary configuration and deployed code. Application settings contain a reusable credential string while the app has no authorized Key Vault secret access.

C:

The registry has manual builds but no scheduled task runs during the required compliance window. Secret retrieval should be identity-scoped and separated from ordinary configuration and deployed code. Application settings contain a reusable credential string while the app has no authorized Key Vault secret access.

Question 122

An App Service container cannot pull its private Azure Container Registry image because the team removed a shared registry password. What is the BEST next action for the specific Azure environment described?

  1. Enable supported App Service container logging, inspect application exceptions, and correlate startup and request logs.
  2. Apply appropriate repository-scoped permissions or supported registry access roles and separate destructive permissions from pull identities.
  3. Configure supported ACR private endpoint, DNS resolution, and network restrictions while preserving least-privileged authentication.
  4. Enable a supported managed-identity image pull and grant only the AcrPull role on the appropriate registry scope.

Explanation

Correct Answer

D:

Enable a supported managed-identity image pull and grant only the AcrPull role on the appropriate registry scope. The case reports: An App Service container cannot pull its private Azure Container Registry image because the team removed a shared registry password.

Incorrect Answers

A:

Enable supported App Service container logging, inspect application exceptions, and correlate startup and request logs. The case reports: An App Service container cannot pull its private Azure Container Registry image because the team removed a shared registry password. Enable a supported managed-identity image pull and grant only the AcrPull role on the appropriate registry scope.

B:

Apply appropriate repository-scoped permissions or supported registry access roles and separate destructive permissions from pull identities. The case reports: An App Service container cannot pull its private Azure Container Registry image because the team removed a shared registry password. Enable a supported managed-identity image pull and grant only the AcrPull role on the appropriate registry scope.

C:

Configure supported ACR private endpoint, DNS resolution, and network restrictions while preserving least-privileged authentication. The case reports: An App Service container cannot pull its private Azure Container Registry image because the team removed a shared registry password. Enable a supported managed-identity image pull and grant only the AcrPull role on the appropriate registry scope.

Question 123

An AI search system stores 1536-dimension vectors but its Cosmos container vector path is configured for a different embedding dimensionality. Which result best verifies the intended technical behavior?

  1. A test vector inserts successfully and VectorDistance returns expected nearest neighbors.
  2. A new or updated item triggers one useful downstream operation under normal processing and retries cause no duplicated result.
  3. A conflicting write receives a concurrency failure and approved labels are preserved after reconciliation.
  4. A test user receives relevant chunks only from the permitted tenant and unauthorized results are absent.

Explanation

Correct Answer

A:

A test vector inserts successfully and VectorDistance returns expected nearest neighbors. Vector embedding policies must match actual stored vector representations before similarity search is meaningful.

Incorrect Answers

B:

A new or updated item triggers one useful downstream operation under normal processing and retries cause no duplicated result. Vector embedding policies must match actual stored vector representations before similarity search is meaningful. A test vector inserts successfully and VectorDistance returns expected nearest neighbors.

C:

A conflicting write receives a concurrency failure and approved labels are preserved after reconciliation. Vector embedding policies must match actual stored vector representations before similarity search is meaningful. A test vector inserts successfully and VectorDistance returns expected nearest neighbors.

D:

A test user receives relevant chunks only from the permitted tenant and unauthorized results are absent. Vector embedding policies must match actual stored vector representations before similarity search is meaningful. A test vector inserts successfully and VectorDistance returns expected nearest neighbors.

Question 124

Old ephemeral AI conversation records remain indefinitely in Cosmos DB and violate the product's seven-day retention policy. Which result best verifies the intended technical behavior?

  1. A test session expires according to policy without deleting non-expiring protected records.
  2. A filtered top-k query retrieves category-relevant products at lower measured latency and RU charge.
  3. Top-k retrieval meets the latency budget while a recall test remains within the accepted tolerance.
  4. Scaled processors share partition leases and replay-safe results across a controlled restart.

Explanation

Correct Answer

A:

A test session expires according to policy without deleting non-expiring protected records.

Incorrect Answers

B:

A filtered top-k query retrieves category-relevant products at lower measured latency and RU charge. A test session expires according to policy without deleting non-expiring protected records.

C:

Top-k retrieval meets the latency budget while a recall test remains within the accepted tolerance. A test session expires according to policy without deleting non-expiring protected records.

D:

Scaled processors share partition leases and replay-safe results across a controlled restart. A test session expires according to policy without deleting non-expiring protected records.

Question 125

An Azure Functions burst opens a new PostgreSQL connection per request and soon reaches the flexible server connection limit. Which outcome would demonstrate that the control meets its stated goal?

  1. The revised maintenance window preserves application latency and produces an up-to-date usable index.
  2. A representative burst completes without exhausting the server's permitted connection slots.
  3. Top-k queries use the intended index and meet an agreed speed-versus-recall target.
  4. The selected index meets the defined latency and accuracy target during a representative load test.

Explanation

Correct Answer

B:

A representative burst completes without exhausting the server's permitted connection slots. Connection pooling reuses expensive database connections and must be sized against backend resource limits.

Incorrect Answers

A:

The revised maintenance window preserves application latency and produces an up-to-date usable index. Connection pooling reuses expensive database connections and must be sized against backend resource limits. A representative burst completes without exhausting the server's permitted connection slots.

C:

Top-k queries use the intended index and meet an agreed speed-versus-recall target. Connection pooling reuses expensive database connections and must be sized against backend resource limits. A representative burst completes without exhausting the server's permitted connection slots.

D:

The selected index meets the defined latency and accuracy target during a representative load test. Connection pooling reuses expensive database connections and must be sized against backend resource limits. A representative burst completes without exhausting the server's permitted connection slots.

Question 126

An inference webhook was deployed as a Functions HTTP endpoint with anonymous access despite requiring an authenticated internal caller. Which design change MOST directly addresses the organization's stated security requirement?

  1. Repair the required host storage configuration using a supported connection or identity-based setup and verify permissions.
  2. Profile execution, adjust supported plan timeout and concurrency settings, or offload long-running work to a durable queue workflow.
  3. Configure a suitable HTTP trigger authorization level and upstream authenticated access mechanism appropriate for the API.
  4. Package a compatible requirements.txt and supported runtime environment, then redeploy or perform a clean build.

Explanation

Correct Answer

C:

Configure a suitable HTTP trigger authorization level and upstream authenticated access mechanism appropriate for the API.

Incorrect Answers

A:

Repair the required host storage configuration using a supported connection or identity-based setup and verify permissions. Configure a suitable HTTP trigger authorization level and upstream authenticated access mechanism appropriate for the API.

B:

Profile execution, adjust supported plan timeout and concurrency settings, or offload long-running work to a durable queue workflow. Configure a suitable HTTP trigger authorization level and upstream authenticated access mechanism appropriate for the API.

D:

Package a compatible requirements.txt and supported runtime environment, then redeploy or perform a clean build. Configure a suitable HTTP trigger authorization level and upstream authenticated access mechanism appropriate for the API.

Question 127

A private vector-search API in Container Apps has been configured with external ingress and can be reached from the public internet. Which outcome would demonstrate that the control meets its stated goal?

  1. An approved internal client succeeds and an unauthenticated external path is blocked.
  2. The Deployment starts the intended image without storing persistent registry passwords in pod specs.
  3. A test event launches an execution and an intentionally retried event does not create duplicate output.
  4. Worker replicas increase during a controlled backlog and scale down after the queue drains.

Explanation

Correct Answer

A:

An approved internal client succeeds and an unauthenticated external path is blocked.

Incorrect Answers

B:

The Deployment starts the intended image without storing persistent registry passwords in pod specs. An approved internal client succeeds and an unauthenticated external path is blocked.

C:

A test event launches an execution and an intentionally retried event does not create duplicate output. An approved internal client succeeds and an unauthenticated external path is blocked.

D:

Worker replicas increase during a controlled backlog and scale down after the queue drains. An approved internal client succeeds and an unauthenticated external path is blocked.

Question 128

A compliance team requires a container image to be rebuilt weekly even when source code and dependency references have not changed. Which evidence would MOST directly substantiate the reported gap?

  1. The registry has manual builds but no scheduled task runs during the required compliance window.
  2. Two manually built images carry the same release label but have different package inventories.
  3. Production serves the old digest while the staging slot contains the unverified candidate image.
  4. Application settings contain a reusable credential string while the app has no authorized Key Vault secret access.

Explanation

Correct Answer

A:

The registry has manual builds but no scheduled task runs during the required compliance window. Scheduled image builds are independent of commits and base-image change triggers.

Incorrect Answers

B:

Two manually built images carry the same release label but have different package inventories. Scheduled image builds are independent of commits and base-image change triggers. The registry has manual builds but no scheduled task runs during the required compliance window.

C:

Production serves the old digest while the staging slot contains the unverified candidate image. Scheduled image builds are independent of commits and base-image change triggers. The registry has manual builds but no scheduled task runs during the required compliance window.

D:

Application settings contain a reusable credential string while the app has no authorized Key Vault secret access. Scheduled image builds are independent of commits and base-image change triggers. The registry has manual builds but no scheduled task runs during the required compliance window.

Question 129

A monthly data-reembedding workload is accidentally deployed as a continually running HTTP service instead of a finite background job. Which finding best differentiates this problem from nearby security concerns?

  1. The prior revision was deactivated or removed when the new single-revision deployment became active.
  2. Pod events show recurring failed liveness probes and increasing restarts despite successful eventual requests.
  3. The deployed service has idle HTTP replicas even when no reembedding work should occur.
  4. The ConfigMap is readable as ordinary deployment configuration and contains a live credential.

Explanation

Correct Answer

C:

The deployed service has idle HTTP replicas even when no reembedding work should occur. Finite batch processing is better represented by a job execution than an always-on request endpoint.

Incorrect Answers

A:

The prior revision was deactivated or removed when the new single-revision deployment became active. Finite batch processing is better represented by a job execution than an always-on request endpoint. The deployed service has idle HTTP replicas even when no reembedding work should occur.

B:

Pod events show recurring failed liveness probes and increasing restarts despite successful eventual requests. Finite batch processing is better represented by a job execution than an always-on request endpoint. The deployed service has idle HTTP replicas even when no reembedding work should occur.

D:

The ConfigMap is readable as ordinary deployment configuration and contains a live credential. Finite batch processing is better represented by a job execution than an always-on request endpoint. The deployed service has idle HTTP replicas even when no reembedding work should occur.

Question 130

A transcription processing handler sometimes needs hours to finish, but the Event Grid subscriber performs the entire job before acknowledging and delivery retries cascade. Choose TWO: one appropriate technical intervention and one observable acceptance check for this case.

  1. The endpoint acknowledges promptly and a durable queue completes the work once logically.
  2. A test image creation invokes the worker while a nonmatching blob event does not.
  3. Publish a well-defined custom Event Grid event using a supported topic or namespace mechanism with schema and identity controls.
  4. Build a reviewed DLQ workflow that inspects original message metadata and failure reason before selective remediation.
  5. Have the Event Grid endpoint validate and enqueue durable work quickly, then process using a suitable queue worker.

Explanation

Correct Answers

A:

The endpoint acknowledges promptly and a durable queue completes the work once logically. Have the Event Grid endpoint validate and enqueue durable work quickly, then process using a suitable queue worker.

E:

Have the Event Grid endpoint validate and enqueue durable work quickly, then process using a suitable queue worker. The endpoint acknowledges promptly and a durable queue completes the work once logically.

Incorrect Answers

B:

A test image creation invokes the worker while a nonmatching blob event does not. The endpoint acknowledges promptly and a durable queue completes the work once logically.

C:

Publish a well-defined custom Event Grid event using a supported topic or namespace mechanism with schema and identity controls. The endpoint acknowledges promptly and a durable queue completes the work once logically.

D:

Build a reviewed DLQ workflow that inspects original message metadata and failure reason before selective remediation. The endpoint acknowledges promptly and a durable queue completes the work once logically.

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