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

Question 190

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 evidence should be examined to narrow the cause?

  1. Similarity queries return an embedding match whose department metadata does not match the caller.
  2. Recovery test shows Redis restart removes the only copies of information needed to reconstruct search context.
  3. Redis metrics show evicted keys rising at memory pressure while the application records falling cache hit ratio.
  4. Two distinct tenant sessions map to the same cache key for an identical question.

Explanation

Correct Answer

B:

Recovery test shows Redis restart removes the only copies of information needed to reconstruct search context. Cache availability and durability characteristics must match recovery requirements and the authoritative data design.

Incorrect Answers

A:

Similarity queries return an embedding match whose department metadata does not match the caller. Cache availability and durability characteristics must match recovery requirements and the authoritative data design. Recovery test shows Redis restart removes the only copies of information needed to reconstruct search context.

C:

Redis metrics show evicted keys rising at memory pressure while the application records falling cache hit ratio. Cache availability and durability characteristics must match recovery requirements and the authoritative data design. Recovery test shows Redis restart removes the only copies of information needed to reconstruct search context.

D:

Two distinct tenant sessions map to the same cache key for an identical question. Cache availability and durability characteristics must match recovery requirements and the authoritative data design. Recovery test shows Redis restart removes the only copies of information needed to reconstruct search context.

Question 191

An Azure AI API uses the same App Configuration key for production and staging, and a test rollout changes production feature behavior. What is the BEST next action for the specific Azure environment described?

  1. Use a managed identity and grant an appropriately scoped App Configuration data reader role.
  2. Use a managed identity with least-privilege Key Vault access and retrieve the secret through a supported SDK or secure reference.
  3. Apply explicit environment labels and select the correct label set in each deployment.
  4. Implement a staged rotation with dependency update, validation, rollback or dual-credential overlap where supported.

Explanation

Correct Answer

C:

Apply explicit environment labels and select the correct label set in each deployment. The case reports: An Azure AI API uses the same App Configuration key for production and staging, and a test rollout changes production feature behavior.

Incorrect Answers

A:

Use a managed identity and grant an appropriately scoped App Configuration data reader role. The case reports: An Azure AI API uses the same App Configuration key for production and staging, and a test rollout changes production feature behavior. Apply explicit environment labels and select the correct label set in each deployment.

B:

Use a managed identity with least-privilege Key Vault access and retrieve the secret through a supported SDK or secure reference. The case reports: An Azure AI API uses the same App Configuration key for production and staging, and a test rollout changes production feature behavior. Apply explicit environment labels and select the correct label set in each deployment.

D:

Implement a staged rotation with dependency update, validation, rollback or dual-credential overlap where supported. The case reports: An Azure AI API uses the same App Configuration key for production and staging, and a test rollout changes production feature behavior. Apply explicit environment labels and select the correct label set in each deployment.

Question 192

Old ephemeral AI conversation records remain indefinitely in Cosmos DB and violate the product's seven-day retention policy. Which finding best differentiates this problem from nearby security concerns?

  1. The application discards most retrieved rows after paying RUs to fetch irrelevant categories.
  2. The query string includes unsanitized request parameters before being sent to the data service.
  3. Update logs show both workers read the same item version before unconditional replacement.
  4. Stored records retain creation dates months old and the container has no configured expiration behavior.

Explanation

Correct Answer

D:

Stored records retain creation dates months old and the container has no configured expiration behavior. Document TTL automates retention cleanup when configured at the container and item levels.

Incorrect Answers

A:

The application discards most retrieved rows after paying RUs to fetch irrelevant categories. Document TTL automates retention cleanup when configured at the container and item levels. Stored records retain creation dates months old and the container has no configured expiration behavior.

B:

The query string includes unsanitized request parameters before being sent to the data service. Document TTL automates retention cleanup when configured at the container and item levels. Stored records retain creation dates months old and the container has no configured expiration behavior.

C:

Update logs show both workers read the same item version before unconditional replacement. Document TTL automates retention cleanup when configured at the container and item levels. Stored records retain creation dates months old and the container has no configured expiration behavior.

Question 193

A regulated AI scoring service needs the exact set of feature settings used for each independently audited release. Which explanation accounts for the observed behavior and intended fix?

  1. External secret-store integration must combine workload identity, retrieval permissions, and lifecycle management.
  2. Coordinated refresh avoids exposing partially updated configuration across distributed instances.
  3. Immutable configuration snapshots enable reproducible behavior and traceable change history.
  4. Credential rotation is an end-to-end dependency workflow, not merely the creation of a new vault value.

Explanation

Correct Answer

C:

Immutable configuration snapshots enable reproducible behavior and traceable change history.

Incorrect Answers

A:

External secret-store integration must combine workload identity, retrieval permissions, and lifecycle management. Immutable configuration snapshots enable reproducible behavior and traceable change history.

B:

Coordinated refresh avoids exposing partially updated configuration across distributed instances. Immutable configuration snapshots enable reproducible behavior and traceable change history.

D:

Credential rotation is an end-to-end dependency workflow, not merely the creation of a new vault value. Immutable configuration snapshots enable reproducible behavior and traceable change history.

Question 194

A private vector-search API in Container Apps has been configured with external ingress and can be reached from the public internet. Select TWO statements: the most appropriate corrective action and its direct verification result.

  1. Move the password to a protected Kubernetes Secret or supported external secret provider and use the ConfigMap only for non-secret settings.
  2. An approved internal client succeeds and an unauthenticated external path is blocked.
  3. A fresh pod receives no Service traffic until its readiness check passes and requests stop failing during rollout.
  4. Tune the Container Apps HTTP scale rule concurrency threshold and resource limits after load testing.
  5. Switch to supported internal ingress and validate application callers inside the intended environment and network.

Explanation

Correct Answers

B:

An approved internal client succeeds and an unauthenticated external path is blocked. The diagnostic evidence is: The application endpoint resolves publicly and allows unsolicited requests rather than only internal callers.

E:

Switch to supported internal ingress and validate application callers inside the intended environment and network. The diagnostic evidence is: The application endpoint resolves publicly and allows unsolicited requests rather than only internal callers.

Incorrect Answers

A:

Move the password to a protected Kubernetes Secret or supported external secret provider and use the ConfigMap only for non-secret settings. The diagnostic evidence is: The application endpoint resolves publicly and allows unsolicited requests rather than only internal callers. An approved internal client succeeds and an unauthenticated external path is blocked.

C:

A fresh pod receives no Service traffic until its readiness check passes and requests stop failing during rollout. The diagnostic evidence is: The application endpoint resolves publicly and allows unsolicited requests rather than only internal callers. An approved internal client succeeds and an unauthenticated external path is blocked.

D:

Tune the Container Apps HTTP scale rule concurrency threshold and resource limits after load testing. The diagnostic evidence is: The application endpoint resolves publicly and allows unsolicited requests rather than only internal callers. An approved internal client succeeds and an unauthenticated external path is blocked.

Question 195

Product managers need to enable a new document summarizer for only a small pilot group without republishing the application. Which security principle best explains why the proposed response fits the case?

  1. Private network reachability complements, but does not replace, Key Vault identity authorization.
  2. Feature management controls runtime behavior independently of code deployment but requires reliable targeting.
  3. App Configuration centralizes settings; Key Vault remains the appropriate service for protected secret values.
  4. Configuration services should be accessed by scoped workload identity where supported.

Explanation

Correct Answer

B:

Feature management controls runtime behavior independently of code deployment but requires reliable targeting. Product managers need to enable a new document summarizer for only a small pilot group without republishing the application.

Incorrect Answers

A:

Private network reachability complements, but does not replace, Key Vault identity authorization. Product managers need to enable a new document summarizer for only a small pilot group without republishing the application. Feature management controls runtime behavior independently of code deployment but requires reliable targeting.

C:

App Configuration centralizes settings; Key Vault remains the appropriate service for protected secret values. Product managers need to enable a new document summarizer for only a small pilot group without republishing the application. Feature management controls runtime behavior independently of code deployment but requires reliable targeting.

D:

Configuration services should be accessed by scoped workload identity where supported. Product managers need to enable a new document summarizer for only a small pilot group without republishing the application. Feature management controls runtime behavior independently of code deployment but requires reliable targeting.

Question 196

A monthly data-reembedding workload is accidentally deployed as a continually running HTTP service instead of a finite background job. Choose TWO: one appropriate technical intervention and one observable acceptance check for this case.

  1. Switch to supported internal ingress and validate application callers inside the intended environment and network.
  2. A scheduled test run starts once, finishes, and records exit status without persistent replicas.
  3. Use an Azure Container Apps Job with a scheduled trigger and explicit execution completion behavior.
  4. After applying the version-controlled manifest, the intended replica policy persists through redeployment.
  5. Choose a revision mode and retention procedure that keeps the required rollback candidate available and validate its activation path.

Explanation

Correct Answers

B:

A scheduled test run starts once, finishes, and records exit status without persistent replicas. The accompanying action is to use an Azure Container Apps Job with a scheduled trigger and explicit execution completion behavior.

C:

Use an Azure Container Apps Job with a scheduled trigger and explicit execution completion behavior. A scheduled test run starts once, finishes, and records exit status without persistent replicas.

Incorrect Answers

A:

Switch to supported internal ingress and validate application callers inside the intended environment and network. A scheduled test run starts once, finishes, and records exit status without persistent replicas.

D:

After applying the version-controlled manifest, the intended replica policy persists through redeployment. A scheduled test run starts once, finishes, and records exit status without persistent replicas.

E:

Choose a revision mode and retention procedure that keeps the required rollback candidate available and validate its activation path. A scheduled test run starts once, finishes, and records exit status without persistent replicas. Use an Azure Container Apps Job with a scheduled trigger and explicit execution completion behavior.

Question 197

A tenant RAG workload contains hundreds of thousands of embeddings and exact similarity scans exceed its latency and RU budget. What concept is most relevant to understanding the decision?

  1. Top-k query bounds avoid returning an unnecessarily large vector result set.
  2. Approximate vector indexing can trade some recall for faster similarity retrieval and lower query cost at scale.
  3. Consistency guarantees and client session context influence whether a subsequent read observes recent writes.
  4. Cosmos DB indexing policies trade write cost and index maintenance against query access needs.

Explanation

Correct Answer

B:

Approximate vector indexing can trade some recall for faster similarity retrieval and lower query cost at scale.

Incorrect Answers

A:

Top-k query bounds avoid returning an unnecessarily large vector result set. Approximate vector indexing can trade some recall for faster similarity retrieval and lower query cost at scale.

C:

Consistency guarantees and client session context influence whether a subsequent read observes recent writes. Approximate vector indexing can trade some recall for faster similarity retrieval and lower query cost at scale.

D:

Cosmos DB indexing policies trade write cost and index maintenance against query access needs. Approximate vector indexing can trade some recall for faster similarity retrieval and lower query cost at scale.

Question 198

A retrieval-augmented chatbot must find semantically close policy documents but only for the requesting customer's workspace. Which finding best differentiates this problem from nearby security concerns?

  1. Connection metrics spike during bursts and logs show too many clients or connection failures.
  2. The current SQL ranks vectors across all workspaces and filters ownership only in application code.
  3. Database response size grows with the entire table even though only five results are sent to clients.
  4. The existing design stores all columns as untyped text and cannot efficiently filter timestamps and tags.

Explanation

Correct Answer

B:

The current SQL ranks vectors across all workspaces and filters ownership only in application code. Vector relevance ranking does not replace relational authorization predicates and tenant isolation.

Incorrect Answers

A:

Connection metrics spike during bursts and logs show too many clients or connection failures. Vector relevance ranking does not replace relational authorization predicates and tenant isolation. The current SQL ranks vectors across all workspaces and filters ownership only in application code.

C:

Database response size grows with the entire table even though only five results are sent to clients. Vector relevance ranking does not replace relational authorization predicates and tenant isolation. The current SQL ranks vectors across all workspaces and filters ownership only in application code.

D:

The existing design stores all columns as untyped text and cannot efficiently filter timestamps and tags. Vector relevance ranking does not replace relational authorization predicates and tenant isolation. The current SQL ranks vectors across all workspaces and filters ownership only in application code.

Question 199

A large vector data store needs low-latency approximate nearest-neighbor retrieval while the HNSW index consumes too much memory during maintenance. Which recorded observation would most clearly support the suspected issue?

  1. Existing queries sort using an operator that does not match the intended vector similarity metric.
  2. Maintenance metrics show index build pressure and vector-query latency exceeding budget.
  3. Monitoring shows rapidly declining free space and disk-full errors during new embedding inserts.
  4. Resource metrics show CPU saturation with concurrent vector calculations despite low storage utilization.

Explanation

Correct Answer

B:

Maintenance metrics show index build pressure and vector-query latency exceeding budget. DiskANN is an available approximate vector indexing option whose suitability depends on workload and service support.

Incorrect Answers

A:

Existing queries sort using an operator that does not match the intended vector similarity metric. DiskANN is an available approximate vector indexing option whose suitability depends on workload and service support. Maintenance metrics show index build pressure and vector-query latency exceeding budget.

C:

Monitoring shows rapidly declining free space and disk-full errors during new embedding inserts. DiskANN is an available approximate vector indexing option whose suitability depends on workload and service support. Maintenance metrics show index build pressure and vector-query latency exceeding budget.

D:

Resource metrics show CPU saturation with concurrent vector calculations despite low storage utilization. DiskANN is an available approximate vector indexing option whose suitability depends on workload and service support. Maintenance metrics show index build pressure and vector-query latency exceeding budget.

Question 200

A pipeline writes source documents and their embeddings in separate statements, leaving orphaned vectors when a process crashes. Which TWO choices together identify the recommended action and a meaningful success test?

  1. A repeated crash test rolls back incomplete changes and reprocessing creates one consistent document-vector pair.
  2. Use a supported Microsoft Entra authentication or managed identity pattern with minimum database privileges and secure pooling.
  3. A representative burst completes without exhausting the server's permitted connection slots.
  4. Inspect EXPLAIN ANALYZE and add or adjust a suitable composite B-tree index for the filter and ordering pattern.
  5. Use an appropriate transaction and referential constraints to commit related relational and vector records atomically.

Explanation

Correct Answers

A:

A repeated crash test rolls back incomplete changes and reprocessing creates one consistent document-vector pair. Use an appropriate transaction and referential constraints to commit related relational and vector records atomically.

E:

Use an appropriate transaction and referential constraints to commit related relational and vector records atomically. A repeated crash test rolls back incomplete changes and reprocessing creates one consistent document-vector pair.

Incorrect Answers

B:

Use a supported Microsoft Entra authentication or managed identity pattern with minimum database privileges and secure pooling. Use an appropriate transaction and referential constraints to commit related relational and vector records atomically.

C:

A representative burst completes without exhausting the server's permitted connection slots. A repeated crash test rolls back incomplete changes and reprocessing creates one consistent document-vector pair.

D:

Inspect EXPLAIN ANALYZE and add or adjust a suitable composite B-tree index for the filter and ordering pattern. Use an appropriate transaction and referential constraints to commit related relational and vector records atomically.

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