100% Latest & Updated Microsoft AI-200 Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
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.
Question 421
A PostgreSQL vector table frequently filters by a known geographic region before running nearest-neighbor ranking. Which architecture most directly addresses the required outcome?
- Store the new embeddings in a schema or column with the new dimension and migrate deliberately.
- Use a selective relational index for the region predicate alongside an appropriate vector retrieval strategy.
- Measure exact nearest-neighbor results as the recall ground truth.
- Use a Cosmos DB transactional batch within the same logical partition.
Explanation
Correct Answer
B:Use a selective relational index for the region predicate alongside an appropriate vector retrieval strategy. It directly addresses the architecture in this case. Relational filters and vector distance ranking solve different constraints and both must be applied.
Incorrect Answers
A:Store the new embeddings in a schema or column with the new dimension and migrate deliberately. Fixed-dimension pgvector columns reject vectors of an incompatible dimension. Instead, use a selective relational index for the region predicate alongside an appropriate vector retrieval strategy.
C:Measure exact nearest-neighbor results as the recall ground truth. ANN recall assessment requires reference results from exact search or equivalent ground truth. Instead, use a selective relational index for the region predicate alongside an appropriate vector retrieval strategy.
D:Use a Cosmos DB transactional batch within the same logical partition. TransactionalBatch atomicity applies to operations sharing a logical partition key. Instead, use a selective relational index for the region predicate alongside an appropriate vector retrieval strategy.
Question 422
A PostgreSQL vector table frequently filters by a known geographic region before running nearest-neighbor ranking. The team has selected this architecture: Use a selective relational index for the region predicate alongside an appropriate vector retrieval strategy. Which action correctly implements it?
- Write ORDER BY embedding <=> query_vector ASC for cosine distance where supported by the column type.
- Order by the supported vector distance operator with LIMIT N without forcing approximate indexing.
- Create a btree index on region_code and apply the region filter explicitly in the nearest-neighbor query.
- Supply the expected ETag in an If-Match conditional replace request.
Explanation
Correct Answer
C:Create a btree index on region_code and apply the region filter explicitly in the nearest-neighbor query. This is the actionable setup step for the selected design. Relational filters and vector distance ranking solve different constraints and both must be applied.
Incorrect Answers
A:Write ORDER BY embedding <=> query_vector ASC for cosine distance where supported by the column type. Instead, create a btree index on region_code and apply the region filter explicitly in the nearest-neighbor query.
B:Order by the supported vector distance operator with LIMIT N without forcing approximate indexing. Instead, create a btree index on region_code and apply the region filter explicitly in the nearest-neighbor query.
D:Supply the expected ETag in an If-Match conditional replace request. Instead, create a btree index on region_code and apply the region filter explicitly in the nearest-neighbor query.
Question 423
A PostgreSQL vector table frequently filters by a known geographic region before running nearest-neighbor ranking. After configuring the solution, which measurable result would demonstrate success?
- Known product-code queries retrieve exact identifiers while semantic paraphrases still find similar items.
- A top-K ORDER BY embedding-distance query returns the expected tenant-scoped candidates.
- Repeated top-K vector queries return deterministic exact nearest neighbors from the collection.
- The query plan shows region filtering and vector ranking without returning records from other regions.
Explanation
Correct Answer
D:The query plan shows region filtering and vector ranking without returning records from other regions. This is direct acceptance evidence for the specified behavior rather than merely proof of deployment. Relational filters and vector distance ranking solve different constraints and both must be applied.
Incorrect Answers
A:Known product-code queries retrieve exact identifiers while semantic paraphrases still find similar items. Here, the query plan shows region filtering and vector ranking without returning records from other regions.
B:A top-K ORDER BY embedding-distance query returns the expected tenant-scoped candidates. Here, the query plan shows region filtering and vector ranking without returning records from other regions.
C:Repeated top-K vector queries return deterministic exact nearest neighbors from the collection. Here, the query plan shows region filtering and vector ranking without returning records from other regions.
Question 424
A PostgreSQL vector table frequently filters by a known geographic region before running nearest-neighbor ranking. During a trial, the team sees this problem: Vector queries unexpectedly mix documents from other regions even with a known region supplied by the caller. Which cause is most consistent?
- The SQL query omitted the region predicate or failed to bind it to the current request.
- The vector distance query sorts descending rather than ascending.
- The IVFFlat index was built before sufficient representative vectors were loaded.
- The callback fails to complete checkpoint progress or the lease/checkpoint state is not persisted.
Explanation
Correct Answer
A:The SQL query omitted the region predicate or failed to bind it to the current request. The described symptom and this root cause fit together. Relational filters and vector distance ranking solve different constraints and both must be applied.
Incorrect Answers
B:The vector distance query sorts descending rather than ascending. Here, the SQL query omitted the region predicate or failed to bind it to the current request.
C:The IVFFlat index was built before sufficient representative vectors were loaded. Here, the SQL query omitted the region predicate or failed to bind it to the current request.
D:The callback fails to complete checkpoint progress or the lease/checkpoint state is not persisted. Here, the SQL query omitted the region predicate or failed to bind it to the current request.
Question 425
An AI summarization backend must buffer requests during a temporary inference-worker outage without losing work. What primary technical approach is best justified by these constraints?
- Enable Service Bus duplicate detection and send stable message IDs within its history window.
- Store the large payload in Blob Storage and send a lightweight reference message.
- Use Azure Service Bus queues for durable asynchronous work-item processing.
- Make the handler idempotent using a stable message or business key.
Explanation
Correct Answer
C:Use Azure Service Bus queues for durable asynchronous work-item processing. It directly addresses the architecture in this case. Service Bus queues decouple senders and receivers and persist queued messages until processed or expired.
Incorrect Answers
A:Enable Service Bus duplicate detection and send stable message IDs within its history window. Service Bus duplicate detection matches message identity within a configured historical interval. Instead, use Azure Service Bus queues for durable asynchronous work-item processing.
B:Store the large payload in Blob Storage and send a lightweight reference message. Claim-check messaging keeps large payloads out of queue envelopes. Instead, use Azure Service Bus queues for durable asynchronous work-item processing.
D:Make the handler idempotent using a stable message or business key. Queue-triggered functions can be retried or redelivered and need idempotent business effects. Instead, use Azure Service Bus queues for durable asynchronous work-item processing.
Question 426
An AI summarization backend must buffer requests during a temporary inference-worker outage without losing work. After deciding to use Azure Service Bus queues for durable asynchronous work-item processing, what configuration is most relevant?
- Configure automatic message lock renewal or explicitly renew the received message lock during processing.
- Configure the client SDK retry policy and stable message identity for resends.
- Configure supported concurrency settings and coordinate worker throughput with the model API's quotas.
- Send work messages to a Service Bus queue and consume them with a worker using the chosen receive mode.
Explanation
Correct Answer
D:Send work messages to a Service Bus queue and consume them with a worker using the chosen receive mode. This is the actionable setup step for the selected design. Service Bus queues decouple senders and receivers and persist queued messages until processed or expired.
Incorrect Answers
A:Configure automatic message lock renewal or explicitly renew the received message lock during processing. Instead, send work messages to a Service Bus queue and consume them with a worker using the chosen receive mode.
B:Configure the client SDK retry policy and stable message identity for resends. Instead, send work messages to a Service Bus queue and consume them with a worker using the chosen receive mode.
C:Configure supported concurrency settings and coordinate worker throughput with the model API's quotas. Instead, send work messages to a Service Bus queue and consume them with a worker using the chosen receive mode.
Question 427
An AI summarization backend must buffer requests during a temporary inference-worker outage without losing work. Which validation result is the strongest evidence that the intended behavior works?
- A message remains available for processing after the worker is temporarily stopped and restarted.
- A temporary endpoint failure results in later delivery attempts until success or policy exhaustion.
- A repeated send with the same ID within the configured window is discarded as a duplicate.
- An authorized HTTP call invokes the function and returns the expected JSON response.
Explanation
Correct Answer
A:A message remains available for processing after the worker is temporarily stopped and restarted. This is direct acceptance evidence for the specified behavior rather than merely proof of deployment. Service Bus queues decouple senders and receivers and persist queued messages until processed or expired.
Incorrect Answers
B:A temporary endpoint failure results in later delivery attempts until success or policy exhaustion. Here, a message remains available for processing after the worker is temporarily stopped and restarted.
C:A repeated send with the same ID within the configured window is discarded as a duplicate. Here, a message remains available for processing after the worker is temporarily stopped and restarted.
D:An authorized HTTP call invokes the function and returns the expected JSON response. Here, a message remains available for processing after the worker is temporarily stopped and restarted.
Question 428
An AI summarization backend must buffer requests during a temporary inference-worker outage without losing work. Production telemetry shows: Requests vanish when the worker process crashes before processing them. Which underlying issue should be investigated first?
- The script used ReceiveAndDelete rather than a non-destructive peek.
- The workflow used an ephemeral in-process queue instead of durable Service Bus messaging.
- The compliance subscription was not created or its filter rejects the event.
- The Blob trigger path or storage connection is incorrect.
Explanation
Correct Answer
B:The workflow used an ephemeral in-process queue instead of durable Service Bus messaging. The described symptom and this root cause fit together. Service Bus queues decouple senders and receivers and persist queued messages until processed or expired.
Incorrect Answers
A:The script used ReceiveAndDelete rather than a non-destructive peek. Here, the workflow used an ephemeral in-process queue instead of durable Service Bus messaging.
C:The compliance subscription was not created or its filter rejects the event. Here, the workflow used an ephemeral in-process queue instead of durable Service Bus messaging.
D:The Blob trigger path or storage connection is incorrect. Here, the workflow used an ephemeral in-process queue instead of durable Service Bus messaging.
Question 429
An AI pipeline distributes the same uploaded-document notification to independent indexing and compliance consumers. Which design decision should the team make first?
- Configure Event Grid dead-lettering to a supported storage destination.
- Use stable unique event identifiers and idempotency keys in the subscriber.
- Use bounded exponential retry with jitter and honor service retry hints.
- Use an Azure Service Bus topic with separate subscriptions for each consumer.
Explanation
Correct Answer
D:Use an Azure Service Bus topic with separate subscriptions for each consumer. It directly addresses the architecture in this case. Service Bus topics fan out published messages to subscriptions whose filters match.
Incorrect Answers
A:Configure Event Grid dead-lettering to a supported storage destination. Event Grid dead-lettering retains unsuccessful deliveries for later inspection or replay. Instead, use an Azure Service Bus topic with separate subscriptions for each consumer.
B:Use stable unique event identifiers and idempotency keys in the subscriber. Idempotent event consumers distinguish duplicate delivery from new business changes. Instead, use an Azure Service Bus topic with separate subscriptions for each consumer.
C:Use bounded exponential retry with jitter and honor service retry hints. Throttled dependencies need bounded retries aligned to the service's rate limits. Instead, use an Azure Service Bus topic with separate subscriptions for each consumer.
Question 430
An AI pipeline distributes the same uploaded-document notification to independent indexing and compliance consumers. Which concrete setup step puts this selected approach into operation: Use an Azure Service Bus topic with separate subscriptions for each consumer.
- Create the topic and independent subscriptions with appropriate filtering and send one event to the topic.
- Configure the client SDK retry policy and stable message identity for resends.
- Upload the object to secured storage and put its controlled URI or object ID into Service Bus.
- Set environment-specific application setting values for each Function App deployment.
Explanation
Correct Answer
A:Create the topic and independent subscriptions with appropriate filtering and send one event to the topic. This is the actionable setup step for the selected design. Service Bus topics fan out published messages to subscriptions whose filters match.
Incorrect Answers
B:Configure the client SDK retry policy and stable message identity for resends. Instead, create the topic and independent subscriptions with appropriate filtering and send one event to the topic.
C:Upload the object to secured storage and put its controlled URI or object ID into Service Bus. Instead, create the topic and independent subscriptions with appropriate filtering and send one event to the topic.
D:Set environment-specific application setting values for each Function App deployment. Instead, create the topic and independent subscriptions with appropriate filtering and send one event to the topic.
Developing AI Cloud Solutions on Azure (AI-200) Practice Tests