Microsoft AI-200 Exam Dumps, Practice Test Questions

100% Latest & Updated Microsoft AI-200 Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!

Microsoft AI-200  Premium File
$76.99
$69.99

AI-200 Premium File

  • Premium File: 174 Questions & Answers. Last update: Nov 9, 2026
  • Latest Questions
  • 100% Accurate Answers
  • Fast Exam Updates

AI-200 Premium File

Microsoft AI-200  Premium File
  • Premium File: 174 Questions & Answers. Last update: Nov 9, 2026
  • Latest Questions
  • 100% Accurate Answers
  • Fast Exam Updates
$76.99
$69.99

Microsoft AI-200 Practice Test 29

Question 280

A multi-tenant RAG store in Azure Database for PostgreSQL requires nearest-neighbor search on embeddings. During a trial, the team sees this problem: The vector index creation fails with a complaint that the column lacks a fixed dimension. Which cause is most consistent?

  1. The vector column was declared without a concrete dimension for the index.
  2. The query ranks embeddings generated by incompatible model versions in one vector space.
  3. The query uses a distance operator that does not match the indexed operator class.
  4. The SDK's preferred-region ordering is not configured for the regional deployment.

Explanation

Correct Answer

A:

The vector column was declared without a concrete dimension for the index. The described symptom and this root cause fit together. pgvector index operators require a column definition with supported fixed vector dimensions.

Incorrect Answers

B:

The query ranks embeddings generated by incompatible model versions in one vector space. Here, the vector column was declared without a concrete dimension for the index.

C:

The query uses a distance operator that does not match the indexed operator class. Here, the vector column was declared without a concrete dimension for the index.

D:

The SDK's preferred-region ordering is not configured for the regional deployment. Here, the vector column was declared without a concrete dimension for the index.

Question 281

A semantic support system stores 768-dimensional document vectors and needs low-latency approximate search. What primary technical approach is best justified by these constraints?

  1. Design a hybrid workflow that combines lexical filtering or full-text search with vector candidates.
  2. Use parameterized SQL instead of concatenating user-supplied values into a query string.
  3. Use a pgvector HNSW index with the matching distance operator class.
  4. Apply supported metadata filters together with Redis vector similarity search.

Explanation

Correct Answer

C:

Use a pgvector HNSW index with the matching distance operator class. It directly addresses the architecture in this case. pgvector index use depends on matching the query distance operator and index operator class.

Incorrect Answers

A:

Design a hybrid workflow that combines lexical filtering or full-text search with vector candidates. Hybrid retrieval can combine lexical and semantic evidence for different query types. Instead, use a pgvector HNSW index with the matching distance operator class.

B:

Use parameterized SQL instead of concatenating user-supplied values into a query string. Parameterized queries separate user values from SQL structure. Instead, use a pgvector HNSW index with the matching distance operator class.

D:

Apply supported metadata filters together with Redis vector similarity search. Vector ranking alone cannot enforce tenancy boundaries. Instead, use a pgvector HNSW index with the matching distance operator class.

Question 282

A semantic support system stores 768-dimensional document vectors and needs low-latency approximate search. After deciding to use a pgvector HNSW index with the matching distance operator class, what configuration is most relevant?

  1. Create a btree index on region_code and apply the region filter explicitly in the nearest-neighbor query.
  2. Pass the category and tenant ID as bound parameters to the PostgreSQL driver.
  3. Create a TransactionalBatch for the shared partition key with both item operations.
  4. Create a PostgreSQL HNSW index on the vector column using the query's chosen metric operator class.

Explanation

Correct Answer

D:

Create a PostgreSQL HNSW index on the vector column using the query's chosen metric operator class. This is the actionable setup step for the selected design. pgvector index use depends on matching the query distance operator and index operator class.

Incorrect Answers

A:

Create a btree index on region_code and apply the region filter explicitly in the nearest-neighbor query. Instead, create a PostgreSQL HNSW index on the vector column using the query's chosen metric operator class.

B:

Pass the category and tenant ID as bound parameters to the PostgreSQL driver. Instead, create a PostgreSQL HNSW index on the vector column using the query's chosen metric operator class.

C:

Create a TransactionalBatch for the shared partition key with both item operations. Instead, create a PostgreSQL HNSW index on the vector column using the query's chosen metric operator class.

Question 283

A semantic support system stores 768-dimensional document vectors and needs low-latency approximate search. Which validation result is the strongest evidence that the intended behavior works?

  1. EXPLAIN confirms appropriate index usage on representative nearest-neighbor queries.
  2. Queries for the new model operate on the matching vector dimension without coercion errors.
  3. The index was created but representative vector queries still perform a table scan.
  4. A stale write is rejected rather than overwriting a newer preferences document.

Explanation

Correct Answer

A:

EXPLAIN confirms appropriate index usage on representative nearest-neighbor queries. This is direct acceptance evidence for the specified behavior rather than merely proof of deployment. pgvector index use depends on matching the query distance operator and index operator class.

Incorrect Answers

B:

Queries for the new model operate on the matching vector dimension without coercion errors. The relevant SQL or system operation is EXPLAIN confirms appropriate index usage on representative nearest-neighbor queries.

C:

The index was created but representative vector queries still perform a table scan. An index existing without being used is not evidence of indexed low-latency nearest-neighbor retrieval. The case requires a plan showing that representative vector queries actually benefit from the HNSW index.

D:

A stale write is rejected rather than overwriting a newer preferences document. The relevant SQL or system operation is EXPLAIN confirms appropriate index usage on representative nearest-neighbor queries.

Question 284

A semantic support system stores 768-dimensional document vectors and needs low-latency approximate search. Production telemetry shows: Nearest-neighbor queries still scan the full table after an HNSW index was created. Which underlying issue should be investigated first?

  1. The SQL query omitted the region predicate or failed to bind it to the current request.
  2. The query uses a distance operator that does not match the indexed operator class.
  3. The IVFFlat index was created before representative data was available.
  4. The caller did not preserve the session consistency token across the workflow.

Explanation

Correct Answer

B:

The query uses a distance operator that does not match the indexed operator class. The described symptom and this root cause fit together. pgvector index use depends on matching the query distance operator and index operator class.

Incorrect Answers

A:

The SQL query omitted the region predicate or failed to bind it to the current request. Here, the query uses a distance operator that does not match the indexed operator class.

C:

The IVFFlat index was created before representative data was available. Here, the query uses a distance operator that does not match the indexed operator class.

D:

The caller did not preserve the session consistency token across the workflow. Here, the query uses a distance operator that does not match the indexed operator class.

Question 285

A small pgvector dataset requires perfect nearest-neighbor recall and has tolerable latency. Which design decision should the team make first?

  1. Plan index build and maintenance against available PostgreSQL memory and compute.
  2. Store the new embeddings in a schema or column with the new dimension and migrate deliberately.
  3. Specify a compatible cosine distance function in the Cosmos DB vector embedding policy.
  4. Use an exact vector distance ORDER BY query when exhaustive ranking is required.

Explanation

Correct Answer

D:

Use an exact vector distance ORDER BY query when exhaustive ranking is required. It directly addresses the architecture in this case. Exact distance scans and approximate ANN search have different recall guarantees.

Incorrect Answers

A:

Plan index build and maintenance against available PostgreSQL memory and compute. HNSW graph construction consumes memory and can require planned resources. Instead, use an exact vector distance ORDER BY query when exhaustive ranking is required.

B:

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 an exact vector distance ORDER BY query when exhaustive ranking is required.

C:

Specify a compatible cosine distance function in the Cosmos DB vector embedding policy. Vector similarity rankings depend on the distance metric encoded in the vector policy. Instead, use an exact vector distance ORDER BY query when exhaustive ranking is required.

Question 286

A small pgvector dataset requires perfect nearest-neighbor recall and has tolerable latency. Which concrete setup step puts this selected approach into operation: Use an exact vector distance ORDER BY query when exhaustive ranking is required.

  1. Order by the supported vector distance operator with LIMIT N without forcing approximate indexing.
  2. Tune maintenance_work_mem and server resources with measurement before large index builds.
  3. Declare the vector dimension precisely and create an HNSW index using the desired distance operator class.
  4. Define cosine in the vectorEmbeddingPolicy for the document embedding path and query with VectorDistance.

Explanation

Correct Answer

A:

Order by the supported vector distance operator with LIMIT N without forcing approximate indexing. This is the actionable setup step for the selected design. Exact distance scans and approximate ANN search have different recall guarantees.

Incorrect Answers

B:

Tune maintenance_work_mem and server resources with measurement before large index builds. Here, order by the supported vector distance operator with LIMIT N without forcing approximate indexing.

C:

Declare the vector dimension precisely and create an HNSW index using the desired distance operator class. Here, order by the supported vector distance operator with LIMIT N without forcing approximate indexing.

D:

Define cosine in the vectorEmbeddingPolicy for the document embedding path and query with VectorDistance. Here, order by the supported vector distance operator with LIMIT N without forcing approximate indexing.

Question 287

A small pgvector dataset requires perfect nearest-neighbor recall and has tolerable latency. What outcome should be checked before the engineering change is accepted?

  1. No expired or retired document chunks appear in prompt context.
  2. The returned top-K is the exact nearest set for the test vectors.
  3. EXPLAIN confirms appropriate index usage on representative nearest-neighbor queries.
  4. Vector KNN queries retrieve indexed neighbors ordered by the configured similarity metric.

Explanation

Correct Answer

B:

The returned top-K is the exact nearest set for the test vectors. This is direct acceptance evidence for the specified behavior rather than merely proof of deployment. Exact distance scans and approximate ANN search have different recall guarantees.

Incorrect Answers

A:

No expired or retired document chunks appear in prompt context. Here, the returned top-K is the exact nearest set for the test vectors.

C:

EXPLAIN confirms appropriate index usage on representative nearest-neighbor queries. Here, the returned top-K is the exact nearest set for the test vectors.

D:

Vector KNN queries retrieve indexed neighbors ordered by the configured similarity metric. Here, the returned top-K is the exact nearest set for the test vectors.

Question 288

A small pgvector dataset requires perfect nearest-neighbor recall and has tolerable latency. After rollout the observed failure is: A benchmark returns slightly different candidates when the ANN index is used. What best explains it?

  1. The retrieval pipeline relies solely on semantic distance without exact-term matching.
  2. The SQL retrieval query omitted or misbound the required tenant_id condition.
  3. Approximate index search trades some recall for speed rather than ensuring exact top-K.
  4. The Redis search index schema lacks the embedding vector field or proper configuration.

Explanation

Correct Answer

C:

Approximate index search trades some recall for speed rather than ensuring exact top-K. The described symptom and this root cause fit together. Exact distance scans and approximate ANN search have different recall guarantees.

Incorrect Answers

A:

The retrieval pipeline relies solely on semantic distance without exact-term matching. Here, approximate index search trades some recall for speed rather than ensuring exact top-K.

B:

The SQL retrieval query omitted or misbound the required tenant_id condition. Here, approximate index search trades some recall for speed rather than ensuring exact top-K.

D:

The Redis search index schema lacks the embedding vector field or proper configuration. Here, approximate index search trades some recall for speed rather than ensuring exact top-K.

Question 289

A PostgreSQL RAG application needs to filter by organization before selecting nearest vectors. Which architecture most directly addresses the required outcome?

  1. Apply a tenant predicate with the vector ordering and validate selectivity against the index plan.
  2. Plan index build and maintenance against available PostgreSQL memory and compute.
  3. Use an appropriate PostgreSQL JSONB or expression index for the selective metadata predicate.
  4. Use session consistency with session tokens for the expected read-your-writes pattern.

Explanation

Correct Answer

A:

Apply a tenant predicate with the vector ordering and validate selectivity against the index plan. It directly addresses the architecture in this case. A vector distance score is not an authorization filter; tenant predicates must be explicit.

Incorrect Answers

B:

Plan index build and maintenance against available PostgreSQL memory and compute. HNSW graph construction consumes memory and can require planned resources. Instead, apply a tenant predicate with the vector ordering and validate selectivity against the index plan.

C:

Use an appropriate PostgreSQL JSONB or expression index for the selective metadata predicate. A vector index does not replace the need to index frequently filtered relational or JSON metadata. Instead, apply a tenant predicate with the vector ordering and validate selectivity against the index plan.

D:

Use session consistency with session tokens for the expected read-your-writes pattern. Session tokens help maintain read-your-writes guarantees within the intended session context. Instead, apply a tenant predicate with the vector ordering and validate selectivity against the index plan.

Question 290

A PostgreSQL RAG application needs to filter by organization before selecting nearest vectors. The team has selected this architecture: Apply a tenant predicate with the vector ordering and validate selectivity against the index plan. Which action correctly implements it?

  1. Create an index using the cosine operator class and query with its corresponding distance operator.
  2. Write a parametrized WHERE tenant_id equals the authorized tenant alongside ORDER BY embedding distance LIMIT N.
  3. Add a suitable index on the frequently queried JSONB metadata path while retaining the vector index.
  4. Iterate query pages using the returned continuation state rather than assuming a single page contains everything.

Explanation

Correct Answer

B:

Write a parametrized WHERE tenant_id equals the authorized tenant alongside ORDER BY embedding distance LIMIT N. This is the actionable setup step for the selected design. A vector distance score is not an authorization filter; tenant predicates must be explicit.

Incorrect Answers

A:

Create an index using the cosine operator class and query with its corresponding distance operator. Instead, write a parametrized WHERE tenant_id equals the authorized tenant alongside ORDER BY embedding distance LIMIT N.

C:

Add a suitable index on the frequently queried JSONB metadata path while retaining the vector index. Instead, write a parametrized WHERE tenant_id equals the authorized tenant alongside ORDER BY embedding distance LIMIT N.

D:

Iterate query pages using the returned continuation state rather than assuming a single page contains everything. Instead, write a parametrized WHERE tenant_id equals the authorized tenant alongside ORDER BY embedding distance LIMIT N.

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

UP

SPECIAL OFFER: GET 10% OFF

This is ONE TIME OFFER

ExamSnap Discount Offer
Enter Your Email Address to Receive Your 10% Off Discount Code

A confirmation link will be sent to this email address to verify your login. *We value your privacy. We will not rent or sell your email address.

Download Free Demo of VCE Exam Simulator

Experience Avanset VCE Exam Simulator for yourself.

Simply submit your e-mail address below to get started with our interactive software demo of your free trial.

Free Demo Limits: In the demo version you will be able to access only first 5 questions from exam.