Pass Microsoft AI-200 Exam in First Attempt Guaranteed!
Get 100% Latest Exam Questions, Accurate & Verified Answers!
30 Days Free Updates, Instant Download!
Microsoft AI-200 Practice Test 3
Question 20
An embedding cache periodically loses popular values and the AI service recomputes them, while Redis memory usage remains at its configured maximum. Which security principle best explains why the proposed response fits the case?
Explanation
Correct Answer
An in-memory cache's eviction policy and capacity determine how frequently cached results survive.
Incorrect Answers
Cache stampedes occur when concurrent misses overwhelm shared backends and require coordination beyond ordinary caching. An in-memory cache's eviction policy and capacity determine how frequently cached results survive.
Cache keys are part of a data isolation boundary when results depend on user or tenant permissions. An in-memory cache's eviction policy and capacity determine how frequently cached results survive.
Batching independent cache operations can reduce round-trip overhead without changing data semantics. An in-memory cache's eviction policy and capacity determine how frequently cached results survive.
Question 21
An event-driven Azure Function invokes PostgreSQL and Redis, but log messages use unrelated IDs and investigators cannot follow a request end to end. What concept is most relevant to understanding the decision?
Explanation
Correct Answer
Distributed application diagnostics depend on context propagation rather than timestamps alone.
Incorrect Answers
Durable orchestration records workflow state across asynchronous operations and restarts. Distributed application diagnostics depend on context propagation rather than timestamps alone.
Serverless deployment features and limits depend on the selected Functions hosting plan. Distributed application diagnostics depend on context propagation rather than timestamps alone.
Event-driven triggers map resource events to function executions rather than polling intervals. Distributed application diagnostics depend on context propagation rather than timestamps alone.
Question 22
A Function publishes a Service Bus message that triggers another worker, but its trace tree ends at publish and the consumer starts a new unrelated trace. What should the Azure developer recommend FIRST in this situation?
Explanation
Correct Answer
Inject and extract supported trace context through message application properties while respecting trust boundaries. Asynchronous distributed tracing depends on passing or linking context through message metadata.
Incorrect Answers
Use KQL to join or correlate requests and dependency records on operation or trace identifier and time range. Asynchronous distributed tracing depends on passing or linking context through message metadata. Inject and extract supported trace context through message application properties while respecting trust boundaries.
Set stable OpenTelemetry resource attributes such as service.name and environment, while retaining instance-level identifiers separately. Asynchronous distributed tracing depends on passing or linking context through message metadata. Inject and extract supported trace context through message application properties while respecting trust boundaries.
Use a KQL query filtering a relevant requests table by timestamp, result code, and success status. Asynchronous distributed tracing depends on passing or linking context through message metadata. Inject and extract supported trace context through message application properties while respecting trust boundaries.
Question 23
An Event Grid webhook times out after storing the document, then Event Grid retries and a second duplicate embedding appears. Choose TWO: one appropriate technical intervention and one observable acceptance check for this case.
Explanation
Correct Answers
Implement idempotency keyed on stable event identity or resource version and acknowledge events after a durable accepted operation. Event Grid retries can deliver an event more than once and consumers must tolerate duplicates. A replayed event produces one logical embedding update and the endpoint returns a successful response.
A replayed event produces one logical embedding update and the endpoint returns a successful response. Event Grid retries can deliver an event more than once and consumers must tolerate duplicates. Implement idempotency keyed on stable event identity or resource version and acknowledge events after a durable accepted operation.
Incorrect Answers
Configure supported duplicate detection with a stable MessageId and still enforce idempotent downstream writes. Event Grid retries can deliver an event more than once and consumers must tolerate duplicates. Implement idempotency keyed on stable event identity or resource version and acknowledge events after a durable accepted operation.
Configure a supported dead-letter destination and monitor failed delivery, permissions, and retention settings. Event Grid retries can deliver an event more than once and consumers must tolerate duplicates. Implement idempotency keyed on stable event identity or resource version and acknowledge events after a durable accepted operation.
Per-conversation outputs appear in order while different session IDs process concurrently. Event Grid retries can deliver an event more than once and consumers must tolerate duplicates. A replayed event produces one logical embedding update and the endpoint returns a successful response. Implement idempotency keyed on stable event identity or resource version and acknowledge events after a durable accepted operation.
Question 24
A Redis semantic cache has an HNSW index configured for L2 but its embedding evaluation assumes cosine distance and ranks tests unexpectedly. What would be the strongest observable evidence of successful remediation?
Explanation
Correct Answer
Controlled query rankings agree with the chosen metric and the KNN application threshold is retuned. The original evidence to compare against is: The index schema reports L2 while the reference ranking benchmark uses cosine similarity.
Incorrect Answers
A recovery drill rebuilds or restores search state from governed authoritative records. The original evidence to compare against is: The index schema reports L2 while the reference ranking benchmark uses cosine similarity. Controlled query rankings agree with the chosen metric and the KNN application threshold is retuned.
A cross-tenant test never reuses the other tenant's cached context or generated answer. The original evidence to compare against is: The index schema reports L2 while the reference ranking benchmark uses cosine similarity. Controlled query rankings agree with the chosen metric and the KNN application threshold is retuned.
The next authorized request reflects the revised policy and stale cache keys are absent. The original evidence to compare against is: The index schema reports L2 while the reference ranking benchmark uses cosine similarity. Controlled query rankings agree with the chosen metric and the KNN application threshold is retuned.
Question 25
A webhook retry posts the same embedding job multiple times and the queue contains identical requests with the same business identifier. Which implementation choice most directly resolves this service problem?
Explanation
Correct Answer
Configure supported duplicate detection with a stable MessageId and still enforce idempotent downstream writes. Broker duplicate detection can reduce repeat enqueueing but does not replace end-to-end idempotency.
Incorrect Answers
Use supported Service Bus message scheduling or a controlled deferred-message workflow with explicit retrieval rules. Broker duplicate detection can reduce repeat enqueueing but does not replace end-to-end idempotency. Configure supported duplicate detection with a stable MessageId and still enforce idempotent downstream writes.
Build a reviewed DLQ workflow that inspects original message metadata and failure reason before selective remediation. Broker duplicate detection can reduce repeat enqueueing but does not replace end-to-end idempotency. Configure supported duplicate detection with a stable MessageId and still enforce idempotent downstream writes.
Configure a supported dead-letter destination and monitor failed delivery, permissions, and retention settings. Broker duplicate detection can reduce repeat enqueueing but does not replace end-to-end idempotency. Configure supported duplicate detection with a stable MessageId and still enforce idempotent downstream writes.
Question 26
A nightly batch rebuilds a large vector index during peak business queries and users see high contention and timeouts. Which TWO selections jointly address the reported risk and demonstrate success?
Explanation
Correct Answers
The revised maintenance window preserves application latency and produces an up-to-date usable index. The corresponding check is whether schedule index maintenance according to supported concurrent operations and production load constraints, monitoring locks and resource budgets.
Schedule index maintenance according to supported concurrent operations and production load constraints, monitoring locks and resource budgets. The revised maintenance window preserves application latency and produces an up-to-date usable index.
Incorrect Answers
Create and tune a supported HNSW index using the cosine operator class and validate recall and query plan. The revised maintenance window preserves application latency and produces an up-to-date usable index.
Use parameterized database commands and maintain authenticated tenant filters in every read and write. The revised maintenance window preserves application latency and produces an up-to-date usable index.
The ingestion batch completes while capacity and alert thresholds stay inside planned bounds. The revised maintenance window preserves application latency and produces an up-to-date usable index.
Question 27
An embeddings service uses VectorDistance in a query without a result limit and its Request Unit consumption spikes with corpus size. Which TWO choices together identify the recommended action and a meaningful success test?
Explanation
Correct Answers
The query yields the intended top-ten set with reduced response size and RU usage. This selection supplies the implementation action for: An embeddings service uses VectorDistance in a query without a result limit and its Request Unit consumption spikes with corpus size.
Add an appropriate SELECT TOP N limit, partition and metadata filters where justified, and benchmark the query. This selection supplies the implementation action for: An embeddings service uses VectorDistance in a query without a result limit and its Request Unit consumption spikes with corpus size.
Incorrect Answers
Use an appropriate tenant partition key and a scoped query predicate or point-read pattern for customer-specific retrieval. This selection supplies the implementation action for: An embeddings service uses VectorDistance in a query without a result limit and its Request Unit consumption spikes with corpus size. The query yields the intended top-ten set with reduced response size and RU usage.
A test vector inserts successfully and VectorDistance returns expected nearest neighbors. This selection supplies the implementation action for: An embeddings service uses VectorDistance in a query without a result limit and its Request Unit consumption spikes with corpus size. The query yields the intended top-ten set with reduced response size and RU usage.
Use SDK-supported parameterized queries with an explicit partition scope and validate authorized inputs. This selection supplies the implementation action for: An embeddings service uses VectorDistance in a query without a result limit and its Request Unit consumption spikes with corpus size. The query yields the intended top-ten set with reduced response size and RU usage.
Question 28
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 would be the strongest observable evidence of successful remediation?
Explanation
Correct Answer
The host initializes and a scheduled test trigger executes with expected state management.
Incorrect Answers
One synthetic job appears as a connected trace from trigger to backend calls and final response. The host initializes and a scheduled test trigger executes with expected state management.
A tested deployment and rollback follow a plan-supported path with no lost trigger configuration. The host initializes and a scheduled test trigger executes with expected state management.
One test message invokes the function and failure produces controlled retry or dead-letter behavior. The host initializes and a scheduled test trigger executes with expected state management.
Question 29
A knowledge base requires stable user IDs and timestamps plus flexible optional document tags that vary by organization. Which explanation accounts for the observed behavior and intended fix?
Explanation
Correct Answer
A hybrid relational and JSONB schema balances structure, flexibility, and indexable access patterns. A knowledge base requires stable user IDs and timestamps plus flexible optional document tags that vary by organization.
Incorrect Answers
Transactions and integrity constraints preserve relational consistency when multi-step ingestion fails. A knowledge base requires stable user IDs and timestamps plus flexible optional document tags that vary by organization. A hybrid relational and JSONB schema balances structure, flexibility, and indexable access patterns.
Storing a vector and indexing it are separate capabilities with their own dimensional constraints. A knowledge base requires stable user IDs and timestamps plus flexible optional document tags that vary by organization. A hybrid relational and JSONB schema balances structure, flexibility, and indexable access patterns.
DiskANN is an available approximate vector indexing option whose suitability depends on workload and service support. A knowledge base requires stable user IDs and timestamps plus flexible optional document tags that vary by organization. A hybrid relational and JSONB schema balances structure, flexibility, and indexable access patterns.
Question 30
A team wrote a polling loop inside an Azure Function to check Service Bus for queued jobs and the loop runs continuously without scaling. What would be the strongest observable evidence of successful remediation?
Explanation
Correct Answer
One test message invokes the function and failure produces controlled retry or dead-letter behavior.
Incorrect Answers
Representative heavy requests finish within a documented service limit without unbounded resource consumption. One test message invokes the function and failure produces controlled retry or dead-letter behavior.
A permitted test caller invokes the function and an unauthenticated caller is denied. One test message invokes the function and failure produces controlled retry or dead-letter behavior.
A controlled invocation stores output in the intended partition or blob with the expected payload. One test message invokes the function and failure produces controlled retry or dead-letter behavior.
Developing AI Cloud Solutions on Azure (AI-200) Practice Tests
- Microsoft AI-200 Practice Test 1 - 10 Questions (Last Reviewed 03-Dec-2026)
- Microsoft AI-200 Practice Test 2 - 10 Questions (Last Reviewed 02-Dec-2026)
- Microsoft AI-200 Practice Test 3 - 10 Questions (Last Reviewed 01-Dec-2026)
- Microsoft AI-200 Practice Test 4 - 10 Questions (Last Reviewed 30-Nov-2026)
- Microsoft AI-200 Practice Test 5 - 10 Questions (Last Reviewed 29-Nov-2026)
