McAfee Secured

Exam Code: AI-200

Exam Name: Developing AI Cloud Solutions on Azure

Certification Provider: Microsoft

100% Microsoft AI-200 Guaranteed Success With Testking Training Materials

Get Real AI-200 Exam Questions & Expert Verified Answers as Experienced on the Real Exam!

174 Questions & Answers with Testing Engine

"Developing AI Cloud Solutions on Azure Exam", also known as AI-200 exam, is a Microsoft certification exam.

Pass your tests with the always up-to-date AI-200 Exam Engine. Your AI-200 training materials keep you at the head of the pack!

Satisfaction Guaranteed

Money Back Guarantee

Testking provides hassle-free money back guarantee with our products. That is because we have 100% trust in the abilities of our professional and experience product team, and our record is a proof of that.

99.6% PASS RATE
Was: $137.49
Now: $124.99

Microsoft AI-200 Practice Test 42

Question 410

A catalog update is committed to the database, but the assistant keeps serving the previous product description from a long-lived Redis cache. What is the most targeted next step after confirming the cause?

  1. Invalidate or version affected cache entries when the catalog change is committed rather than relying only on long TTLs.
  2. Index the relevant metadata field and combine the language constraint with the Redis vector query.
  3. Set a suitable Redis key TTL on writes and test expiration against the required freshness budget.
  4. Create or adjust the Redis vector index with the distance metric aligned to the chosen embedding model and evaluation.

Explanation

Correct Answer

A:

Invalidate or version affected cache entries when the catalog change is committed rather than relying only on long TTLs. The database change event has completed while the cached object still contains the older version and remains within its TTL.

Incorrect Answers

B:

Index the relevant metadata field and combine the language constraint with the Redis vector query. This would address Redis vector index metadata filtering, not Azure Managed Redis event-driven invalidation.

C:

Set a suitable Redis key TTL on writes and test expiration against the required freshness budget. This would address Azure Managed Redis cache expiration, not Azure Managed Redis event-driven invalidation.

D:

Create or adjust the Redis vector index with the distance metric aligned to the chosen embedding model and evaluation. This would address Redis vector index distance metric, not Azure Managed Redis event-driven invalidation.

Question 411

A semantic suggestion index in Azure Managed Redis was configured for Euclidean distance, but the embedding model's tested retrieval uses cosine similarity. Which corrective action is most appropriate for this situation?

  1. Create or adjust the Redis vector index with the distance metric aligned to the chosen embedding model and evaluation.
  2. Index the relevant metadata field and combine the language constraint with the Redis vector query.
  3. Invalidate or version affected cache entries when the catalog change is committed rather than relying only on long TTLs.
  4. Set a suitable Redis key TTL on writes and test expiration against the required freshness budget.

Explanation

Correct Answer

A:

Create or adjust the Redis vector index with the distance metric aligned to the chosen embedding model and evaluation. The Redis vector index schema specifies L2 while the evaluation harness expects cosine-ranked neighbors.

Incorrect Answers

B:

Index the relevant metadata field and combine the language constraint with the Redis vector query. This would address Redis vector index metadata filtering, not Redis vector index distance metric.

C:

Invalidate or version affected cache entries when the catalog change is committed rather than relying only on long TTLs. This would address Azure Managed Redis event-driven invalidation, not Redis vector index distance metric.

D:

Set a suitable Redis key TTL on writes and test expiration against the required freshness budget. This would address Azure Managed Redis cache expiration, not Redis vector index distance metric.

Question 412

A Redis vector query returns semantically close documents regardless of their language, while the AI assistant is configured for French-only responses. What is the most targeted next step after confirming the cause?

  1. Set a suitable Redis key TTL on writes and test expiration against the required freshness budget.
  2. Index the relevant metadata field and combine the language constraint with the Redis vector query.
  3. Invalidate or version affected cache entries when the catalog change is committed rather than relying only on long TTLs.
  4. Create or adjust the Redis vector index with the distance metric aligned to the chosen embedding model and evaluation.

Explanation

Correct Answer

B:

Index the relevant metadata field and combine the language constraint with the Redis vector query. The query applies the vector search but never includes the indexed language tag filter in the search expression.

Incorrect Answers

A:

Set a suitable Redis key TTL on writes and test expiration against the required freshness budget. This would address Azure Managed Redis cache expiration, not Redis vector index metadata filtering.

C:

Invalidate or version affected cache entries when the catalog change is committed rather than relying only on long TTLs. This would address Azure Managed Redis event-driven invalidation, not Redis vector index metadata filtering.

D:

Create or adjust the Redis vector index with the distance metric aligned to the chosen embedding model and evaluation. This would address Redis vector index distance metric, not Redis vector index metadata filtering.

Question 413

A team provisions Azure Managed Redis to host RAG vectors, but its vector index commands fail because the cache was created without RediSearch. Which corrective action is most appropriate for this situation?

  1. Provision a supported Managed Redis instance with RediSearch enabled during initial creation and migrate the workload.
  2. Tune appropriate HNSW search breadth or use a flat index where exact similarity results are required.
  3. Create an index schema with the correct JSONPath and reindex or migrate the existing vector records.
  4. Align the embedding model output dimensions with the Redis vector index schema, rebuilding the index if needed.

Explanation

Correct Answer

A:

Provision a supported Managed Redis instance with RediSearch enabled during initial creation and migrate the workload. The Managed Redis instance lists no enabled RediSearch module and does not support the requested vector index command.

Incorrect Answers

B:

Tune appropriate HNSW search breadth or use a flat index where exact similarity results are required. This would address Redis HNSW approximate recall, not Redis RediSearch module provisioning.

C:

Create an index schema with the correct JSONPath and reindex or migrate the existing vector records. This would address Redis vector stored field mapping, not Redis RediSearch module provisioning.

D:

Align the embedding model output dimensions with the Redis vector index schema, rebuilding the index if needed. This would address Redis vector dimension schema mismatch, not Redis RediSearch module provisioning.

Question 414

A Redis vector store using HNSW answers rapidly, but a quality benchmark shows some expected exact neighbors absent from the top-k results. What is the most targeted next step after confirming the cause?

  1. Create an index schema with the correct JSONPath and reindex or migrate the existing vector records.
  2. Align the embedding model output dimensions with the Redis vector index schema, rebuilding the index if needed.
  3. Tune appropriate HNSW search breadth or use a flat index where exact similarity results are required.
  4. Provision a supported Managed Redis instance with RediSearch enabled during initial creation and migrate the workload.

Explanation

Correct Answer

C:

Tune appropriate HNSW search breadth or use a flat index where exact similarity results are required. The HNSW configuration yields approximate-neighbor results while the held-out exact search returns additional relevant vectors.

Incorrect Answers

A:

Create an index schema with the correct JSONPath and reindex or migrate the existing vector records. This would address Redis vector stored field mapping, not Redis HNSW approximate recall.

B:

Align the embedding model output dimensions with the Redis vector index schema, rebuilding the index if needed. This would address Redis vector dimension schema mismatch, not Redis HNSW approximate recall.

D:

Provision a supported Managed Redis instance with RediSearch enabled during initial creation and migrate the workload. This would address Redis RediSearch module provisioning, not Redis HNSW approximate recall.

Question 415

A Redis semantic cache stores embeddings in JSON at $.embedding, but the RediSearch vector index was defined against a different JSON path. Which corrective action is most appropriate for this situation?

  1. Tune appropriate HNSW search breadth or use a flat index where exact similarity results are required.
  2. Provision a supported Managed Redis instance with RediSearch enabled during initial creation and migrate the workload.
  3. Create an index schema with the correct JSONPath and reindex or migrate the existing vector records.
  4. Align the embedding model output dimensions with the Redis vector index schema, rebuilding the index if needed.

Explanation

Correct Answer

C:

Create an index schema with the correct JSONPath and reindex or migrate the existing vector records. The index schema field path differs from the actual embedding path saved in each Redis JSON document.

Incorrect Answers

A:

Tune appropriate HNSW search breadth or use a flat index where exact similarity results are required. This would address Redis HNSW approximate recall, not Redis vector stored field mapping.

B:

Provision a supported Managed Redis instance with RediSearch enabled during initial creation and migrate the workload. This would address Redis RediSearch module provisioning, not Redis vector stored field mapping.

D:

Align the embedding model output dimensions with the Redis vector index schema, rebuilding the index if needed. This would address Redis vector dimension schema mismatch, not Redis vector stored field mapping.

Question 416

An AI service starts writing 1536-dimensional embeddings into a Managed Redis vector index configured for 768 dimensions. What is the most targeted next step after confirming the cause?

  1. Provision a supported Managed Redis instance with RediSearch enabled during initial creation and migrate the workload.
  2. Tune appropriate HNSW search breadth or use a flat index where exact similarity results are required.
  3. Align the embedding model output dimensions with the Redis vector index schema, rebuilding the index if needed.
  4. Create an index schema with the correct JSONPath and reindex or migrate the existing vector records.

Explanation

Correct Answer

C:

Align the embedding model output dimensions with the Redis vector index schema, rebuilding the index if needed. The index schema dimension count and incoming float-vector byte lengths do not agree.

Incorrect Answers

A:

Provision a supported Managed Redis instance with RediSearch enabled during initial creation and migrate the workload. This would address Redis RediSearch module provisioning, not Redis vector dimension schema mismatch.

B:

Tune appropriate HNSW search breadth or use a flat index where exact similarity results are required. This would address Redis HNSW approximate recall, not Redis vector dimension schema mismatch.

D:

Create an index schema with the correct JSONPath and reindex or migrate the existing vector records. This would address Redis vector stored field mapping, not Redis vector dimension schema mismatch.

Question 417

An AI gateway uses Azure Managed Redis as a short-lived session cache, but random session entries disappear as memory usage reaches its configured maximum. Which corrective action is most appropriate for this situation?

  1. Use bounded exponential-backoff retries with jitter and a planned cache-miss fallback for transient unavailability.
  2. Reuse a bounded client connection pool and monitor connection count against service capacity.
  3. Right-size cache memory and configure an eviction policy appropriate for disposable session state and expected TTLs.
  4. Reduce hot-key concentration through suitable local caching or sharding of independently cacheable values.

Explanation

Correct Answer

C:

Right-size cache memory and configure an eviction policy appropriate for disposable session state and expected TTLs. Cache metrics show used memory at the limit and a rising evicted-keys counter correlated with missing sessions.

Incorrect Answers

A:

Use bounded exponential-backoff retries with jitter and a planned cache-miss fallback for transient unavailability. This would address Redis retry storm after failover, not Redis memory eviction under load.

B:

Reuse a bounded client connection pool and monitor connection count against service capacity. This would address Redis connection churn overhead, not Redis memory eviction under load.

D:

Reduce hot-key concentration through suitable local caching or sharding of independently cacheable values. This would address Redis hot key read pressure, not Redis memory eviction under load.

Question 418

Hundreds of concurrent Python inference workers open new TLS connections to Managed Redis for every cache lookup, causing avoidable latency spikes. What is the most targeted next step after confirming the cause?

  1. Right-size cache memory and configure an eviction policy appropriate for disposable session state and expected TTLs.
  2. Reduce hot-key concentration through suitable local caching or sharding of independently cacheable values.
  3. Use bounded exponential-backoff retries with jitter and a planned cache-miss fallback for transient unavailability.
  4. Reuse a bounded client connection pool and monitor connection count against service capacity.

Explanation

Correct Answer

D:

Reuse a bounded client connection pool and monitor connection count against service capacity. Client telemetry shows frequent connection handshakes and many short-lived Redis sockets during bursts.

Incorrect Answers

A:

Right-size cache memory and configure an eviction policy appropriate for disposable session state and expected TTLs. This would address Redis memory eviction under load, not Redis connection churn overhead.

B:

Reduce hot-key concentration through suitable local caching or sharding of independently cacheable values. This would address Redis hot key read pressure, not Redis connection churn overhead.

C:

Use bounded exponential-backoff retries with jitter and a planned cache-miss fallback for transient unavailability. This would address Redis retry storm after failover, not Redis connection churn overhead.

Question 419

A brief Managed Redis failover causes thousands of synchronous retries from the AI API clients, saturating upstream resources even after the cache recovers. Which corrective action is most appropriate for this situation?

  1. Reduce hot-key concentration through suitable local caching or sharding of independently cacheable values.
  2. Reuse a bounded client connection pool and monitor connection count against service capacity.
  3. Right-size cache memory and configure an eviction policy appropriate for disposable session state and expected TTLs.
  4. Use bounded exponential-backoff retries with jitter and a planned cache-miss fallback for transient unavailability.

Explanation

Correct Answer

D:

Use bounded exponential-backoff retries with jitter and a planned cache-miss fallback for transient unavailability. Telemetry shows synchronized immediate retries without jitter when the Redis endpoint temporarily becomes unavailable.

Incorrect Answers

A:

Reduce hot-key concentration through suitable local caching or sharding of independently cacheable values. This would address Redis hot key read pressure, not Redis retry storm after failover.

B:

Reuse a bounded client connection pool and monitor connection count against service capacity. This would address Redis connection churn overhead, not Redis retry storm after failover.

C:

Right-size cache memory and configure an eviction policy appropriate for disposable session state and expected TTLs. This would address Redis memory eviction under load, not Redis retry storm after failover.

Question 420

An assistant uses one global Redis key for a rapidly changing prompt template, and a small subset of operations concentrates most read traffic on that key. What is the most targeted next step after confirming the cause?

  1. Right-size cache memory and configure an eviction policy appropriate for disposable session state and expected TTLs.
  2. Reuse a bounded client connection pool and monitor connection count against service capacity.
  3. Reduce hot-key concentration through suitable local caching or sharding of independently cacheable values.
  4. Use bounded exponential-backoff retries with jitter and a planned cache-miss fallback for transient unavailability.

Explanation

Correct Answer

C:

Reduce hot-key concentration through suitable local caching or sharding of independently cacheable values. Redis command statistics show one heavily accessed key rather than balanced load across the cache workload.

Incorrect Answers

A:

Right-size cache memory and configure an eviction policy appropriate for disposable session state and expected TTLs. This would address Redis memory eviction under load, not Redis hot key read pressure.

B:

Reuse a bounded client connection pool and monitor connection count against service capacity. This would address Redis connection churn overhead, not Redis hot key read pressure.

D:

Use bounded exponential-backoff retries with jitter and a planned cache-miss fallback for transient unavailability. This would address Redis retry storm after failover, not Redis hot key read pressure.

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