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

Question 180

When a popular prompt's cache entry expires, dozens of workers immediately regenerate the same expensive answer. Which implementation choice most directly resolves this service problem?

  1. Use a supported request coalescing, bounded lock, or stale-while-revalidate strategy with short expiration protection.
  2. Use safe pipelining or batched operations where supported while preserving ordering and failure handling.
  3. Create an appropriate Azure Managed Redis RediSearch vector index using a supported FLAT or HNSW method and compatible dimensions.
  4. Inspect memory, key cardinality, TTLs, and the configured eviction policy before scaling capacity or changing key lifetime.

Explanation

Correct Answer

A:

Use a supported request coalescing, bounded lock, or stale-while-revalidate strategy with short expiration protection.

Incorrect Answers

B:

Use safe pipelining or batched operations where supported while preserving ordering and failure handling. Use a supported request coalescing, bounded lock, or stale-while-revalidate strategy with short expiration protection.

C:

Create an appropriate Azure Managed Redis RediSearch vector index using a supported FLAT or HNSW method and compatible dimensions. Use a supported request coalescing, bounded lock, or stale-while-revalidate strategy with short expiration protection.

D:

Inspect memory, key cardinality, TTLs, and the configured eviction policy before scaling capacity or changing key lifetime. Use a supported request coalescing, bounded lock, or stale-while-revalidate strategy with short expiration protection.

Question 181

An AI API's average latency is acceptable, but a small percentage of users wait more than ten seconds and the SLO is expressed as p95. How should the team confirm the targeted requirement has been met?

  1. A p95 time series reproduces known slow test requests and tracks the agreed SLO.
  2. New traces preserve troubleshooting context without exposing sensitive prompt content or unbounded labels.
  3. A test failure appears in a scoped recent-failure result set with operation ID.
  4. One controlled request produces connected parent-child spans across the backend components.

Explanation

Correct Answer

A:

A p95 time series reproduces known slow test requests and tracks the agreed SLO.

Incorrect Answers

B:

New traces preserve troubleshooting context without exposing sensitive prompt content or unbounded labels. A p95 time series reproduces known slow test requests and tracks the agreed SLO.

C:

A test failure appears in a scoped recent-failure result set with operation ID. A p95 time series reproduces known slow test requests and tracks the agreed SLO.

D:

One controlled request produces connected parent-child spans across the backend components. A p95 time series reproduces known slow test requests and tracks the agreed SLO.

Question 182

A document embedding platform emits millions of tracing spans each hour, exceeding the observability cost budget. Which explanation accounts for the observed behavior and intended fix?

  1. Tracing sampling balances diagnostic fidelity with the cost and operational overhead of exporting every span.
  2. KQL summarize and bin aggregate time-series events into operationally comparable intervals.
  3. Tracing should represent operational failure accurately while avoiding sensitive payload leakage.
  4. Joining correlated telemetry reveals a causal path more reliably than comparing global error counts.

Explanation

Correct Answer

A:

Tracing sampling balances diagnostic fidelity with the cost and operational overhead of exporting every span.

Incorrect Answers

B:

KQL summarize and bin aggregate time-series events into operationally comparable intervals. Tracing sampling balances diagnostic fidelity with the cost and operational overhead of exporting every span.

C:

Tracing should represent operational failure accurately while avoiding sensitive payload leakage. Tracing sampling balances diagnostic fidelity with the cost and operational overhead of exporting every span.

D:

Joining correlated telemetry reveals a causal path more reliably than comparing global error counts. Tracing sampling balances diagnostic fidelity with the cost and operational overhead of exporting every span.

Question 183

A conversational AI service makes many small sequential Redis calls for independent retrieval metadata and network round trips dominate its latency. Select TWO statements: the most appropriate corrective action and its direct verification result.

  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. A synchronized expiration causes one controlled refresh while other requests remain responsive.
  3. A controlled benchmark reduces network wait without changing application results or timeout handling.
  4. Use safe pipelining or batched operations where supported while preserving ordering and failure handling.
  5. Invalidate or version dependent cache entries on successful data updates and use bounded TTL as a fallback.

Explanation

Correct Answers

C:

A controlled benchmark reduces network wait without changing application results or timeout handling.

D:

Use safe pipelining or batched operations where supported while preserving ordering and failure handling. A controlled benchmark reduces network wait without changing application results or timeout handling.

Incorrect Answers

A:

Retain authoritative source and embeddings in appropriate durable data storage, using Redis as an intentional cache or managed vector layer with persistence planning. A controlled benchmark reduces network wait without changing application results or timeout handling.

B:

A synchronized expiration causes one controlled refresh while other requests remain responsive. A controlled benchmark reduces network wait without changing application results or timeout handling.

E:

Invalidate or version dependent cache entries on successful data updates and use bounded TTL as a fallback. A controlled benchmark reduces network wait without changing application results or timeout handling.

Question 184

Two change-feed consumers process the same partition concurrently and duplicate costly embedding updates after deployment scaling. Select TWO statements: the most appropriate corrective action and its direct verification result.

  1. Use the applicable session-consistency token or a stronger supported consistency model for the required read-your-writes behavior.
  2. Top-k retrieval meets the latency budget while a recall test remains within the accepted tolerance.
  3. Configure a shared lease container and compatible processor instance identities, with idempotent processing logic.
  4. Enforce tenant authorization and partition-aware metadata filtering alongside VectorDistance and any vector index.
  5. Scaled processors share partition leases and replay-safe results across a controlled restart.

Explanation

Correct Answers

C:

Configure a shared lease container and compatible processor instance identities, with idempotent processing logic. Change feed coordination depends on durable leases and checkpoint state rather than replica count alone. Scaled processors share partition leases and replay-safe results across a controlled restart.

E:

Scaled processors share partition leases and replay-safe results across a controlled restart. Change feed coordination depends on durable leases and checkpoint state rather than replica count alone. Configure a shared lease container and compatible processor instance identities, with idempotent processing logic.

Incorrect Answers

A:

Use the applicable session-consistency token or a stronger supported consistency model for the required read-your-writes behavior. Change feed coordination depends on durable leases and checkpoint state rather than replica count alone. Configure a shared lease container and compatible processor instance identities, with idempotent processing logic.

B:

Top-k retrieval meets the latency budget while a recall test remains within the accepted tolerance. Change feed coordination depends on durable leases and checkpoint state rather than replica count alone. Scaled processors share partition leases and replay-safe results across a controlled restart. Configure a shared lease container and compatible processor instance identities, with idempotent processing logic.

D:

Enforce tenant authorization and partition-aware metadata filtering alongside VectorDistance and any vector index. Change feed coordination depends on durable leases and checkpoint state rather than replica count alone. Configure a shared lease container and compatible processor instance identities, with idempotent processing logic.

Question 185

A monthly data-reembedding workload is accidentally deployed as a continually running HTTP service instead of a finite background job. Which implementation choice most directly resolves this service problem?

  1. Use an Azure Container Apps Job with a scheduled trigger and explicit execution completion behavior.
  2. Grant the cluster's appropriate kubelet identity registry-pull rights and check the image reference and network path.
  3. Use an internal ClusterIP Service and route only the authorized in-cluster consumers to it.
  4. Switch to supported internal ingress and validate application callers inside the intended environment and network.

Explanation

Correct Answer

A:

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

Incorrect Answers

B:

Grant the cluster's appropriate kubelet identity registry-pull rights and check the image reference and network path. The developer should confirm: 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.

C:

Use an internal ClusterIP Service and route only the authorized in-cluster consumers to it. The developer should confirm: 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.

D:

Switch to supported internal ingress and validate application callers inside the intended environment and network. The developer should confirm: 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 186

An Azure Functions burst opens a new PostgreSQL connection per request and soon reaches the flexible server connection limit. Which recorded observation would most clearly support the suspected issue?

  1. Monitoring shows elevated dead tuples, stale statistics, and index growth after repeated updates.
  2. Connection metrics spike during bursts and logs show too many clients or connection failures.
  3. The current SQL ranks vectors across all workspaces and filters ownership only in application code.
  4. The existing design stores all columns as untyped text and cannot efficiently filter timestamps and tags.

Explanation

Correct Answer

B:

Connection metrics spike during bursts and logs show too many clients or connection failures. Connection pooling reuses expensive database connections and must be sized against backend resource limits.

Incorrect Answers

A:

Monitoring shows elevated dead tuples, stale statistics, and index growth after repeated updates. Connection pooling reuses expensive database connections and must be sized against backend resource limits. Connection metrics spike during bursts and logs show too many clients or connection failures.

C:

The current SQL ranks vectors across all workspaces and filters ownership only in application code. Connection pooling reuses expensive database connections and must be sized against backend resource limits. Connection metrics spike during bursts and logs show too many clients or connection failures.

D:

The existing design stores all columns as untyped text and cannot efficiently filter timestamps and tags. Connection pooling reuses expensive database connections and must be sized against backend resource limits. Connection metrics spike during bursts and logs show too many clients or connection failures.

Question 187

A generative API attaches full user prompts and raw customer IDs as span attributes, causing high-cardinality telemetry and sensitive-data disclosure. Which design change MOST directly addresses the organization's stated security requirement?

  1. Use a KQL query filtering a relevant requests table by timestamp, result code, and success status.
  2. Calculate percentiles(duration, 95) in a suitably scoped KQL summarize query instead of using avg alone.
  3. Expose queue depth and processing lag as metrics and configure targeted Azure Monitor alerts alongside tracing.
  4. Remove private prompt contents, use bounded sanitized attributes, and retain approved correlation identifiers.

Explanation

Correct Answer

D:

Remove private prompt contents, use bounded sanitized attributes, and retain approved correlation identifiers. The developer should confirm: New traces preserve troubleshooting context without exposing sensitive prompt content or unbounded labels.

Incorrect Answers

A:

Use a KQL query filtering a relevant requests table by timestamp, result code, and success status. The developer should confirm: New traces preserve troubleshooting context without exposing sensitive prompt content or unbounded labels. Remove private prompt contents, use bounded sanitized attributes, and retain approved correlation identifiers.

B:

Calculate percentiles(duration, 95) in a suitably scoped KQL summarize query instead of using avg alone. The developer should confirm: New traces preserve troubleshooting context without exposing sensitive prompt content or unbounded labels. Remove private prompt contents, use bounded sanitized attributes, and retain approved correlation identifiers.

C:

Expose queue depth and processing lag as metrics and configure targeted Azure Monitor alerts alongside tracing. The developer should confirm: New traces preserve troubleshooting context without exposing sensitive prompt content or unbounded labels. Remove private prompt contents, use bounded sanitized attributes, and retain approved correlation identifiers.

Question 188

After a deployment, an Azure Functions app remains unhealthy and even its timer functions do not start because the host storage setting is invalid. What technical distinction MOST accurately describes the control boundary?

  1. Function host runtime dependencies can fail before application code executes.
  2. PeekLock gives at-least-once processing semantics unless the application makes effects idempotent.
  3. Cloud function deployment must include declared dependencies rather than relying on local workstation state.
  4. Durable orchestration records workflow state across asynchronous operations and restarts.

Explanation

Correct Answer

A:

Function host runtime dependencies can fail before application code executes.

Incorrect Answers

B:

PeekLock gives at-least-once processing semantics unless the application makes effects idempotent. Function host runtime dependencies can fail before application code executes.

C:

Cloud function deployment must include declared dependencies rather than relying on local workstation state. Function host runtime dependencies can fail before application code executes.

D:

Durable orchestration records workflow state across asynchronous operations and restarts. Function host runtime dependencies can fail before application code executes.

Question 189

A PostgreSQL pgvector table has 600000 vectors and ORDER BY embedding cosine distance is too slow without an approximate index. Which result best verifies the intended technical behavior?

  1. A test user sees relevant chunks only from their workspace and unrelated tenants remain inaccessible.
  2. The ingestion batch completes while capacity and alert thresholds stay inside planned bounds.
  3. Typed filters and optional metadata retrieval work without schema churn or losing integrity checks.
  4. Top-k queries use the intended index and meet an agreed speed-versus-recall target.

Explanation

Correct Answer

D:

Top-k queries use the intended index and meet an agreed speed-versus-recall target. HNSW supports approximate nearest neighbors, with build resources and recall affected by tuning settings.

Incorrect Answers

A:

A test user sees relevant chunks only from their workspace and unrelated tenants remain inaccessible. HNSW supports approximate nearest neighbors, with build resources and recall affected by tuning settings. Top-k queries use the intended index and meet an agreed speed-versus-recall target.

B:

The ingestion batch completes while capacity and alert thresholds stay inside planned bounds. HNSW supports approximate nearest neighbors, with build resources and recall affected by tuning settings. Top-k queries use the intended index and meet an agreed speed-versus-recall target.

C:

Typed filters and optional metadata retrieval work without schema churn or losing integrity checks. HNSW supports approximate nearest neighbors, with build resources and recall affected by tuning settings. Top-k queries use the intended index and meet an agreed speed-versus-recall target.

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.

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