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 45
Question 440
A vector search endpoint retrieves every candidate row then selects five nearest neighbors in Python, exhausting memory under load. Which implementation choice most directly resolves this service problem?
Explanation
Correct Answer
Push ORDER BY vector distance and LIMIT to PostgreSQL with compatible indexing and filters. Top-k retrieval should be performed near the indexed data rather than by transferring full candidate corpora.
Incorrect Answers
Create and tune a supported HNSW index using the cosine operator class and validate recall and query plan. Top-k retrieval should be performed near the indexed data rather than by transferring full candidate corpora. Push ORDER BY vector distance and LIMIT to PostgreSQL with compatible indexing and filters.
Enable the allowed pgvector extension in the supported PostgreSQL server and then define a dimensioned vector column. Top-k retrieval should be performed near the indexed data rather than by transferring full candidate corpora. Push ORDER BY vector distance and LIMIT to PostgreSQL with compatible indexing and filters.
Use an appropriate transaction and referential constraints to commit related relational and vector records atomically. Top-k retrieval should be performed near the indexed data rather than by transferring full candidate corpora. Push ORDER BY vector distance and LIMIT to PostgreSQL with compatible indexing and filters.
Question 441
A semantic cache contains answers for several languages and departments, and nearest-neighbor results sometimes reuse a semantically similar answer from the wrong department. Which TWO selections jointly address the reported risk and demonstrate success?
Explanation
Correct Answers
A test query returns only permitted department entries while retaining semantic ranking. The diagnostic evidence is: Similarity queries return an embedding match whose department metadata does not match the caller.
Combine vector KNN ranking with the appropriate RediSearch tag or numeric filters and application authorization. The diagnostic evidence is: Similarity queries return an embedding match whose department metadata does not match the caller.
Incorrect Answers
Cache a versioned answer or retrieval result in Azure Managed Redis with appropriate TTL and key composition. The diagnostic evidence is: Similarity queries return an embedding match whose department metadata does not match the caller. A test query returns only permitted department entries while retaining semantic ranking.
A cross-tenant test never reuses the other tenant's cached context or generated answer. The diagnostic evidence is: Similarity queries return an embedding match whose department metadata does not match the caller. A test query returns only permitted department entries while retaining semantic ranking.
Inspect memory, key cardinality, TTLs, and the configured eviction policy before scaling capacity or changing key lifetime. The diagnostic evidence is: Similarity queries return an embedding match whose department metadata does not match the caller. A test query returns only permitted department entries while retaining semantic ranking.
Question 442
A distributed service reads feature settings only at startup and requires coordinated refresh after several related key updates. Which result best verifies the intended technical behavior?
Explanation
Correct Answer
A controlled sentinel update moves instances to the same validated configuration version.
Incorrect Answers
A staging change affects staging only while production retains its approved behavior. A controlled sentinel update moves instances to the same validated configuration version.
The recovered secret is available to authorized callers and its access audit is recorded. A controlled sentinel update moves instances to the same validated configuration version.
After a controlled rotation, the application authenticates with the new secret without a code redeployment. A controlled sentinel update moves instances to the same validated configuration version.
Question 443
An Event Grid webhook times out after storing the document, then Event Grid retries and a second duplicate embedding appears. Which result best verifies the intended technical behavior?
Explanation
Correct Answer
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.
Incorrect Answers
A test image creation invokes the worker while a nonmatching blob event does not. 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.
Repeated submissions inside the configured detection window yield one logical queued request. 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.
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.
Question 444
A consumer sends all invalid jobs to the Service Bus DLQ but operators replay them blindly, causing repeated production failures. How should the team confirm the targeted requirement has been met?
Explanation
Correct Answer
A known-invalid sample stays quarantined and a corrected sample is successfully reprocessed.
Incorrect Answers
A new test blob emits the expected event and initiates one logical processing operation. A known-invalid sample stays quarantined and a corrected sample is successfully reprocessed.
A long-running controlled request completes once logically despite lock renewal or retry events. A known-invalid sample stays quarantined and a corrected sample is successfully reprocessed.
The endpoint acknowledges promptly and a durable queue completes the work once logically. A known-invalid sample stays quarantined and a corrected sample is successfully reprocessed.
Question 445
A message-driven vector embedding worker retries and inserts duplicate content rows each time Service Bus redelivers a message. Which implementation choice most directly resolves this service problem?
Explanation
Correct Answer
Use a stable unique document identifier and an idempotent INSERT. ON CONFLICT update or equivalent transaction. At-least-once message delivery requires idempotent database mutations for predictable application state.
Incorrect Answers
Use the cosine distance operator and a compatible vector_cosine_ops index, then compare ranked results against a reference set. At-least-once message delivery requires idempotent database mutations for predictable application state. Use a stable unique document identifier and an idempotent INSERT. ON CONFLICT update or equivalent transaction.
Use parameterized database commands and maintain authenticated tenant filters in every read and write. At-least-once message delivery requires idempotent database mutations for predictable application state. Use a stable unique document identifier and an idempotent INSERT. ON CONFLICT update or equivalent transaction.
Use a supported Microsoft Entra authentication or managed identity pattern with minimum database privileges and secure pooling. At-least-once message delivery requires idempotent database mutations for predictable application state. Use a stable unique document identifier and an idempotent INSERT. ON CONFLICT update or equivalent transaction.
Question 446
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. What concept is most relevant to understanding the decision?
Explanation
Correct Answer
Percentiles describe tail latency that mean values can hide in skewed request distributions.
Incorrect Answers
Distributed tracing requires consistent context propagation, not just a tracing library installed in each service. Percentiles describe tail latency that mean values can hide in skewed request distributions.
Tracing should represent operational failure accurately while avoiding sensitive payload leakage. Percentiles describe tail latency that mean values can hide in skewed request distributions.
KQL filtering selects the relevant table, time range, and condition before aggregation. Percentiles describe tail latency that mean values can hide in skewed request distributions.
Question 447
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 is the BEST next action for the specific Azure environment described?
Explanation
Correct Answer
Repair the required host storage configuration using a supported connection or identity-based setup and verify permissions.
Incorrect Answers
Check the selected Functions hosting plan's supported slot features and use a compatible staged deployment strategy. Repair the required host storage configuration using a supported connection or identity-based setup and verify permissions.
Profile execution, adjust supported plan timeout and concurrency settings, or offload long-running work to a durable queue workflow. Repair the required host storage configuration using a supported connection or identity-based setup and verify permissions.
Implement a Durable Functions orchestration with activity functions and external approval events under appropriate constraints. Repair the required host storage configuration using a supported connection or identity-based setup and verify permissions.
Question 448
Container Apps logs include a JSON metadata field containing tenant and modelVersion, but analysts cannot filter per-model failures correctly. Which design change MOST directly addresses the organization's stated security requirement?
Explanation
Correct Answer
Use KQL dynamic-field extraction or parse_json on the relevant column before filtering and projecting fields. The case reports: Container Apps logs include a JSON metadata field containing tenant and modelVersion, but analysts cannot filter per-model failures correctly.
Incorrect Answers
Use KQL summarize count() by operation name and bin(timestamp, 5m) with a suitable failure filter. The case reports: Container Apps logs include a JSON metadata field containing tenant and modelVersion, but analysts cannot filter per-model failures correctly. Use KQL dynamic-field extraction or parse_json on the relevant column before filtering and projecting fields.
Constrain the KQL time range early and project only required columns, then measure execution cost. The case reports: Container Apps logs include a JSON metadata field containing tenant and modelVersion, but analysts cannot filter per-model failures correctly. Use KQL dynamic-field extraction or parse_json on the relevant column before filtering and projecting fields.
Set stable OpenTelemetry resource attributes such as service.name and environment, while retaining instance-level identifiers separately. The case reports: Container Apps logs include a JSON metadata field containing tenant and modelVersion, but analysts cannot filter per-model failures correctly. Use KQL dynamic-field extraction or parse_json on the relevant column before filtering and projecting fields.
Question 449
A deployment slot swap causes the staging function to start sending production secrets and events to a test queue. Which recorded observation would most clearly support the suspected issue?
Explanation
Correct Answer
Before the swap, slot settings differ but the deployment treats the connection as ordinary swappable configuration. Function application configuration must distinguish deployable code from slot-specific operational resources.
Incorrect Answers
Storage creates blob events but the function only executes on a periodic schedule. Function application configuration must distinguish deployable code from slot-specific operational resources. Before the swap, slot settings differ but the deployment treats the connection as ordinary swappable configuration.
Function execution history shows repeated failures for the same message with no quarantine destination. Function application configuration must distinguish deployable code from slot-specific operational resources. Before the swap, slot settings differ but the deployment treats the connection as ordinary swappable configuration.
Remote startup logs cannot import a package installed globally on the developer's laptop. Function application configuration must distinguish deployable code from slot-specific operational resources. Before the swap, slot settings differ but the deployment treats the connection as ordinary swappable configuration.
Question 450
When a popular prompt's cache entry expires, dozens of workers immediately regenerate the same expensive answer. Which result best verifies the intended technical behavior?
Explanation
Correct Answer
A synchronized expiration causes one controlled refresh while other requests remain responsive.
Incorrect Answers
Controlled query rankings agree with the chosen metric and the KNN application threshold is retuned. A synchronized expiration causes one controlled refresh while other requests remain responsive.
A cross-tenant test never reuses the other tenant's cached context or generated answer. A synchronized expiration causes one controlled refresh while other requests remain responsive.
A repeated authorized request hits cache, reduces response latency, and expires when policy requires refresh. A synchronized expiration causes one controlled refresh while other requests remain responsive.
Developing AI Cloud Solutions on Azure (AI-200) Practice Tests
- Microsoft AI-200 Practice Test 43 - 10 Questions (Last Reviewed 22-Oct-2026)
- Microsoft AI-200 Practice Test 44 - 10 Questions (Last Reviewed 21-Oct-2026)
- Microsoft AI-200 Practice Test 45 - 10 Questions (Last Reviewed 20-Oct-2026)
- Microsoft AI-200 Practice Test 46 - 10 Questions (Last Reviewed 19-Oct-2026)
- Microsoft AI-200 Practice Test 47 - 10 Questions (Last Reviewed 18-Oct-2026)
