100% Latest & Updated Microsoft AI-200 Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 410
A Redis-backed application sees cache misses during a planned failover but cannot afford to lose authoritative product data. The team has selected this architecture: Treat Redis as a cache and retain the authoritative data in the primary durable store. Which action correctly implements it?
- Construct cache keys from the tenant identity plus query fingerprint and retrieval-version token.
- Set the session cache entry with an expiration of 1200 seconds.
- Exclude the unused large property from ordinary JSON indexing while preserving the separate vector index policy.
- Implement cache-aside fallback to the source database on a Redis miss or transient outage.
Explanation
Correct Answer
D:Implement cache-aside fallback to the source database on a Redis miss or transient outage. This is the actionable setup step for the selected design. Caches should not substitute for durable authoritative storage when loss is unacceptable.
Incorrect Answers
A:Construct cache keys from the tenant identity plus query fingerprint and retrieval-version token. Instead, implement cache-aside fallback to the source database on a Redis miss or transient outage.
B:Set the session cache entry with an expiration of 1200 seconds. Instead, implement cache-aside fallback to the source database on a Redis miss or transient outage.
C:Exclude the unused large property from ordinary JSON indexing while preserving the separate vector index policy. Instead, implement cache-aside fallback to the source database on a Redis miss or transient outage.
Question 411
A Redis-backed application sees cache misses during a planned failover but cannot afford to lose authoritative product data. After configuring the solution, which measurable result would demonstrate success?
- The service still returns authoritative data on a cache miss and repopulates as appropriate.
- Vector KNN queries retrieve indexed neighbors ordered by the configured similarity metric.
- Known comparison vectors rank in the expected order under the selected metric.
- The index exists before ingestion and subsequent nearest-neighbor queries use it as data arrives.
Explanation
Correct Answer
A:The service still returns authoritative data on a cache miss and repopulates as appropriate. This is direct acceptance evidence for the specified behavior rather than merely proof of deployment. Caches should not substitute for durable authoritative storage when loss is unacceptable.
Incorrect Answers
B:Vector KNN queries retrieve indexed neighbors ordered by the configured similarity metric. Here, the service still returns authoritative data on a cache miss and repopulates as appropriate.
C:Known comparison vectors rank in the expected order under the selected metric. Here, the service still returns authoritative data on a cache miss and repopulates as appropriate.
D:The index exists before ingestion and subsequent nearest-neighbor queries use it as data arrives. Here, the service still returns authoritative data on a cache miss and repopulates as appropriate.
Question 412
A Redis-backed application sees cache misses during a planned failover but cannot afford to lose authoritative product data. During a trial, the team sees this problem: A Redis cache outage makes all product records permanently unavailable to the API. Which cause is most consistent?
- Cache memory pressure is triggering eviction under the configured maxmemory policy.
- The application incorrectly treats ephemeral cache entries as its only authoritative copy.
- The key was created without the required expiration policy.
- The workflow used an upsert operation where strict create-only semantics were required.
Explanation
Correct Answer
B:The application incorrectly treats ephemeral cache entries as its only authoritative copy. The described symptom and this root cause fit together. Caches should not substitute for durable authoritative storage when loss is unacceptable.
Incorrect Answers
A:Cache memory pressure is triggering eviction under the configured maxmemory policy. Here, the application incorrectly treats ephemeral cache entries as its only authoritative copy.
C:The key was created without the required expiration policy. Here, the application incorrectly treats ephemeral cache entries as its only authoritative copy.
D:The workflow used an upsert operation where strict create-only semantics were required. Here, the application incorrectly treats ephemeral cache entries as its only authoritative copy.
Question 413
A vector-search service stores embedding objects in Redis but reports inconsistent distances across index fields. What primary technical approach is best justified by these constraints?
- Invalidate the corresponding Redis cache key on authoritative product updates.
- Include the model version as part of the Redis response-cache key.
- Use a fixed 1536-dimensional vector column within the relevant pgvector indexing constraints.
- Use the distance metric matching the embedding model and index declaration.
Explanation
Correct Answer
D:Use the distance metric matching the embedding model and index declaration. It directly addresses the architecture in this case. Vector similarity requires consistent distance metric semantics.
Incorrect Answers
A:Invalidate the corresponding Redis cache key on authoritative product updates. TTL alone can leave a stale window; write-driven invalidation shortens it. Instead, use the distance metric matching the embedding model and index declaration.
B:Include the model version as part of the Redis response-cache key. Model-versioned keys avoid cross-version cache contamination. Instead, use the distance metric matching the embedding model and index declaration.
C:Use a fixed 1536-dimensional vector column within the relevant pgvector indexing constraints. Pgvector indexing supports defined dimensional ranges and the column type must match the model output. Instead, use the distance metric matching the embedding model and index declaration.
Question 414
A vector-search service stores embedding objects in Redis but reports inconsistent distances across index fields. After deciding to use the distance metric matching the embedding model and index declaration, what configuration is most relevant?
- Configure the vector index metric consistently for insertion and KNN query scoring.
- Set the session cache entry with an expiration of 1200 seconds.
- Store the cache entry under a versioned key with an appropriate expiration interval.
- Declare the vector dimension precisely and create an HNSW index using the desired distance operator class.
Explanation
Correct Answer
A:Configure the vector index metric consistently for insertion and KNN query scoring. This is the actionable setup step for the selected design. Vector similarity requires consistent distance metric semantics.
Incorrect Answers
B:Set the session cache entry with an expiration of 1200 seconds. Instead, configure the vector index metric consistently for insertion and KNN query scoring.
C:Store the cache entry under a versioned key with an appropriate expiration interval. Instead, configure the vector index metric consistently for insertion and KNN query scoring.
D:Declare the vector dimension precisely and create an HNSW index using the desired distance operator class. Instead, configure the vector index metric consistently for insertion and KNN query scoring.
Question 415
A vector-search service stores embedding objects in Redis but reports inconsistent distances across index fields. Which validation result is the strongest evidence that the intended behavior works?
- A second equivalent request hits the cache and avoids the slow backing lookup.
- Known comparison vectors rank in the expected order under the selected metric.
- The next query after an update fetches the new catalog content rather than the old cache value.
- Reported index utilization improves after the relevant indexing policy change.
Explanation
Correct Answer
B:Known comparison vectors rank in the expected order under the selected metric. This is direct acceptance evidence for the specified behavior rather than merely proof of deployment. Vector similarity requires consistent distance metric semantics.
Incorrect Answers
A:A second equivalent request hits the cache and avoids the slow backing lookup. Here, known comparison vectors rank in the expected order under the selected metric.
C:The next query after an update fetches the new catalog content rather than the old cache value. Here, known comparison vectors rank in the expected order under the selected metric.
D:Reported index utilization improves after the relevant indexing policy change. Here, known comparison vectors rank in the expected order under the selected metric.
Question 416
A vector-search service stores embedding objects in Redis but reports inconsistent distances across index fields. Production telemetry shows: Similarity ranking changes unexpectedly after a search index was recreated. Which underlying issue should be investigated first?
- The cache key omits the tenant or authorization scope.
- The response-cache key does not include the model version.
- The recreated index uses a distance metric different from the intended model evaluation.
- The configured latest-version change feed does not surface ordinary delete events as expected.
Explanation
Correct Answer
C:The recreated index uses a distance metric different from the intended model evaluation. The described symptom and this root cause fit together. Vector similarity requires consistent distance metric semantics.
Incorrect Answers
A:The cache key omits the tenant or authorization scope. Here, the recreated index uses a distance metric different from the intended model evaluation.
B:The response-cache key does not include the model version. Here, the recreated index uses a distance metric different from the intended model evaluation.
D:The configured latest-version change feed does not surface ordinary delete events as expected. Here, the recreated index uses a distance metric different from the intended model evaluation.
Question 417
A Redis cache shows frequent evictions of valuable RAG entries under memory pressure. Which design decision should the team make first?
- Tune memory allocation and eviction policies for the intended cache workload.
- Version the vector index/schema when embedding dimensions change.
- Invalidate the corresponding Redis cache key on authoritative product updates.
- Use separate logical lease namespaces or lease containers for independent change feed processor groups.
Explanation
Correct Answer
A:Tune memory allocation and eviction policies for the intended cache workload. It directly addresses the architecture in this case. Redis eviction behavior is determined by memory limits and policy, separately from TTL.
Incorrect Answers
B:Version the vector index/schema when embedding dimensions change. Vector index schemas encode dimensional constraints and must match model output. Here, tune memory allocation and eviction policies for the intended cache workload.
C:Invalidate the corresponding Redis cache key on authoritative product updates. TTL alone can leave a stale window; write-driven invalidation shortens it. Here, tune memory allocation and eviction policies for the intended cache workload.
D:Use separate logical lease namespaces or lease containers for independent change feed processor groups. Independent change feed processor groups need separate lease coordination when both must process all changes. Here, tune memory allocation and eviction policies for the intended cache workload.
Question 418
A Redis cache shows frequent evictions of valuable RAG entries under memory pressure. Which concrete setup step puts this selected approach into operation: Tune memory allocation and eviction policies for the intended cache workload.
- Index tenant metadata alongside embeddings and include a tenant predicate in the KNN query.
- Set capacity and a suitable eviction policy and track memory usage and key evictions.
- Create a compatible vector index schema with the embedding field and chosen distance metric.
- Define vectorEmbeddingPolicy dimensions and a matching diskANN vector index path during container setup.
Explanation
Correct Answer
B:Set capacity and a suitable eviction policy and track memory usage and key evictions. This is the actionable setup step for the selected design. Redis eviction behavior is determined by memory limits and policy, separately from TTL.
Incorrect Answers
A:Index tenant metadata alongside embeddings and include a tenant predicate in the KNN query. Instead, set capacity and a suitable eviction policy and track memory usage and key evictions.
C:Create a compatible vector index schema with the embedding field and chosen distance metric. Instead, set capacity and a suitable eviction policy and track memory usage and key evictions.
D:Define vectorEmbeddingPolicy dimensions and a matching diskANN vector index path during container setup. Instead, set capacity and a suitable eviction policy and track memory usage and key evictions.
Question 419
A Redis cache shows frequent evictions of valuable RAG entries under memory pressure. What outcome should be checked before the engineering change is accepted?
- Returned nearest neighbors all belong to the caller's authorized tenant.
- A known vector query succeeds on the new index with the required dimensions.
- Key eviction frequency and cache hit rate meet the service's performance target.
- No expired or retired document chunks appear in prompt context.
Explanation
Correct Answer
C:Key eviction frequency and cache hit rate meet the service's performance target. This is direct acceptance evidence for the specified behavior rather than merely proof of deployment. Redis eviction behavior is determined by memory limits and policy, separately from TTL.
Incorrect Answers
A:Returned nearest neighbors all belong to the caller's authorized tenant. Here, key eviction frequency and cache hit rate meet the service's performance target.
B:A known vector query succeeds on the new index with the required dimensions. Here, key eviction frequency and cache hit rate meet the service's performance target.
D:No expired or retired document chunks appear in prompt context. Here, key eviction frequency and cache hit rate meet the service's performance target.
Question 420
A Redis cache shows frequent evictions of valuable RAG entries under memory pressure. After rollout the observed failure is: Useful entries disappear long before TTL because the instance continually reaches max memory. What best explains it?
- The cache key omits the tenant or authorization scope.
- The Redis vector query did not filter on tenant metadata.
- The SQL query omitted the LIMIT clause after vector ordering.
- Cache memory pressure is triggering eviction under the configured maxmemory policy.
Explanation
Correct Answer
D:Cache memory pressure is triggering eviction under the configured maxmemory policy. The described symptom and this root cause fit together. Redis eviction behavior is determined by memory limits and policy, separately from TTL.
Incorrect Answers
A:The cache key omits the tenant or authorization scope. Here, cache memory pressure is triggering eviction under the configured maxmemory policy.
B:The Redis vector query did not filter on tenant metadata. Here, cache memory pressure is triggering eviction under the configured maxmemory policy.
C:The SQL query omitted the LIMIT clause after vector ordering. Here, cache memory pressure is triggering eviction under the configured maxmemory policy.
Developing AI Cloud Solutions on Azure (AI-200) Practice Tests