100% Latest & Updated Microsoft AI-200 Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 320
A team uses the cosine distance operator in a pgvector query but creates an L2 operator-class index. Production telemetry shows: A newly created vector index is ignored for cosine similarity searches. Which underlying issue should be investigated first?
- The new model emits vectors with different dimensions than the existing column.
- The vector-result cache is not invalidated after the underlying document changes.
- The index was built for a different distance operator class.
- The Redis search index schema lacks the embedding vector field or proper configuration.
Explanation
Correct Answer
C:The index was built for a different distance operator class. The described symptom and this root cause fit together. pgvector operator classes must align with the distance metric used in ORDER BY.
Incorrect Answers
A:The new model emits vectors with different dimensions than the existing column. Here, the index was built for a different distance operator class.
B:The vector-result cache is not invalidated after the underlying document changes. Here, the index was built for a different distance operator class.
D:The Redis search index schema lacks the embedding vector field or proper configuration. Here, the index was built for a different distance operator class.
Question 321
A hybrid AI service needs a quick quality baseline before selecting a PostgreSQL approximate index. Which design decision should the team make first?
- Measure exact nearest-neighbor results as the recall ground truth.
- Prefer HNSW for an index that can be built before the collection contains training rows.
- Use an exact vector distance ORDER BY query when exhaustive ranking is required.
- Apply an explicit TTL to the short-lived Redis session keys.
Explanation
Correct Answer
A:Measure exact nearest-neighbor results as the recall ground truth. It directly addresses the architecture in this case. ANN recall assessment requires reference results from exact search or equivalent ground truth.
Incorrect Answers
B:Prefer HNSW for an index that can be built before the collection contains training rows. HNSW does not require IVFFlat-style clustering training and can be created before loading data. Instead, measure exact nearest-neighbor results as the recall ground truth.
C:Use an exact vector distance ORDER BY query when exhaustive ranking is required. Exact distance scans and approximate ANN search have different recall guarantees. Instead, measure exact nearest-neighbor results as the recall ground truth.
D:Apply an explicit TTL to the short-lived Redis session keys. Redis TTL settings govern automatic expiration of temporary cache entries. Instead, measure exact nearest-neighbor results as the recall ground truth.
Question 322
A hybrid AI service needs a quick quality baseline before selecting a PostgreSQL approximate index. Which concrete setup step puts this selected approach into operation: Measure exact nearest-neighbor results as the recall ground truth.
- Store a model_version column and filter retrieval to a consistent embedding model/index.
- Run a bounded exact vector distance query on a representative dataset and retain its top-K IDs.
- Limit concurrent query tasks and coordinate pool size with the server connection budget.
- Configure the Cosmos DB SDK retry policy and right-size throughput for peak request charges.
Explanation
Correct Answer
B:Run a bounded exact vector distance query on a representative dataset and retain its top-K IDs. This is the actionable setup step for the selected design. ANN recall assessment requires reference results from exact search or equivalent ground truth.
Incorrect Answers
A:Store a model_version column and filter retrieval to a consistent embedding model/index. Instead, run a bounded exact vector distance query on a representative dataset and retain its top-K IDs.
C:Limit concurrent query tasks and coordinate pool size with the server connection budget. Instead, run a bounded exact vector distance query on a representative dataset and retain its top-K IDs.
D:Configure the Cosmos DB SDK retry policy and right-size throughput for peak request charges. Instead, run a bounded exact vector distance query on a representative dataset and retain its top-K IDs.
Question 323
A hybrid AI service needs a quick quality baseline before selecting a PostgreSQL approximate index. What outcome should be checked before the engineering change is accepted?
- Queries for the new model operate on the matching vector dimension without coercion errors.
- Database active connections remain bounded while request throughput improves.
- ANN index benchmark results can be scored against the exact result IDs.
- The optimized query shows lower median request charge while returning the same expected items.
Explanation
Correct Answer
C:ANN index benchmark results can be scored against the exact result IDs. This is direct acceptance evidence for the specified behavior rather than merely proof of deployment. ANN recall assessment requires reference results from exact search or equivalent ground truth.
Incorrect Answers
A:Queries for the new model operate on the matching vector dimension without coercion errors. The relevant SQL or system operation is ANN index benchmark results can be scored against the exact result IDs.
B:Database active connections remain bounded while request throughput improves. The relevant SQL or system operation is ANN index benchmark results can be scored against the exact result IDs.
D:The optimized query shows lower median request charge while returning the same expected items. The relevant SQL or system operation is ANN index benchmark results can be scored against the exact result IDs.
Question 324
A hybrid AI service needs a quick quality baseline before selecting a PostgreSQL approximate index. After rollout the observed failure is: The team claims high recall using only the ANN result set without any exact baseline. What best explains it?
- The embedding column's dimensions exceed the applicable index-type limit or are unspecified.
- The application opens unpooled concurrent database connections beyond the server connection limit.
- The configured latest-version change feed does not surface ordinary delete events as expected.
- No exhaustive ground-truth comparison was performed for the retrieval quality test.
Explanation
Correct Answer
D:No exhaustive ground-truth comparison was performed for the retrieval quality test. The described symptom and this root cause fit together. ANN recall assessment requires reference results from exact search or equivalent ground truth.
Incorrect Answers
A:The embedding column's dimensions exceed the applicable index-type limit or are unspecified. Here, no exhaustive ground-truth comparison was performed for the retrieval quality test.
B:The application opens unpooled concurrent database connections beyond the server connection limit. Here, no exhaustive ground-truth comparison was performed for the retrieval quality test.
C:The configured latest-version change feed does not surface ordinary delete events as expected. Here, no exhaustive ground-truth comparison was performed for the retrieval quality test.
Question 325
A PostgreSQL embedding store holds 1536-dimensional vectors and plans an HNSW index. Which architecture most directly addresses the required outcome?
- Keep embedding-model versions explicit and avoid ranking vectors from incompatible model spaces together.
- Use a fixed 1536-dimensional vector column within the relevant pgvector indexing constraints.
- Use an appropriate PostgreSQL JSONB or expression index for the selective metadata predicate.
- Apply supported metadata filters together with Redis vector similarity search.
Explanation
Correct Answer
B:Use a fixed 1536-dimensional vector column within the relevant pgvector indexing constraints. It directly addresses the architecture in this case. Pgvector indexing supports defined dimensional ranges and the column type must match the model output.
Incorrect Answers
A:Keep embedding-model versions explicit and avoid ranking vectors from incompatible model spaces together. Embedding similarity only has meaningful interpretation for compatible model spaces. Instead, use a fixed 1536-dimensional vector column within the relevant pgvector indexing constraints.
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, use a fixed 1536-dimensional vector column within the relevant pgvector indexing constraints.
D:Apply supported metadata filters together with Redis vector similarity search. Vector ranking alone cannot enforce tenancy boundaries. Instead, use a fixed 1536-dimensional vector column within the relevant pgvector indexing constraints.
Question 326
A PostgreSQL embedding store holds 1536-dimensional vectors and plans an HNSW index. The team has selected this architecture: Use a fixed 1536-dimensional vector column within the relevant pgvector indexing constraints. Which action correctly implements it?
- Create a versioned embedding column or table and rebuild its corresponding dimension-matched index.
- Write ORDER BY embedding <=> query_vector ASC for cosine distance where supported by the column type.
- Declare the vector dimension precisely and create an HNSW index using the desired distance operator class.
- Record RequestCharge across representative SDK queries and inspect cross-partition metrics.
Explanation
Correct Answer
C:Declare the vector dimension precisely and create an HNSW index using the desired distance operator class. This is the actionable setup step for the selected design. Pgvector indexing supports defined dimensional ranges and the column type must match the model output.
Incorrect Answers
A:Create a versioned embedding column or table and rebuild its corresponding dimension-matched index. Here, declare the vector dimension precisely and create an HNSW index using the desired distance operator class.
B:Write ORDER BY embedding <=> query_vector ASC for cosine distance where supported by the column type. Here, declare the vector dimension precisely and create an HNSW index using the desired distance operator class.
D:Record RequestCharge across representative SDK queries and inspect cross-partition metrics. Here, declare the vector dimension precisely and create an HNSW index using the desired distance operator class.
Question 327
A PostgreSQL embedding store holds 1536-dimensional vectors and plans an HNSW index. After configuring the solution, which measurable result would demonstrate success?
- ANN index benchmark results can be scored against the exact result IDs.
- P95 retrieval latency stabilizes and active connection counts stay within the approved bound.
- Reported index utilization improves after the relevant indexing policy change.
- Index creation succeeds and sample nearest-neighbor queries return expected IDs.
Explanation
Correct Answer
D:Index creation succeeds and sample nearest-neighbor queries return expected IDs. This is direct acceptance evidence for the specified behavior rather than merely proof of deployment. Pgvector indexing supports defined dimensional ranges and the column type must match the model output.
Incorrect Answers
A:ANN index benchmark results can be scored against the exact result IDs. Here, index creation succeeds and sample nearest-neighbor queries return expected IDs.
B:P95 retrieval latency stabilizes and active connection counts stay within the approved bound. Here, index creation succeeds and sample nearest-neighbor queries return expected IDs.
C:Reported index utilization improves after the relevant indexing policy change. Here, index creation succeeds and sample nearest-neighbor queries return expected IDs.
Question 328
A PostgreSQL embedding store holds 1536-dimensional vectors and plans an HNSW index. During a trial, the team sees this problem: HNSW index creation fails because the selected vector dimension is unsupported by the chosen index/type. Which cause is most consistent?
- The embedding column's dimensions exceed the applicable index-type limit or are unspecified.
- No exhaustive ground-truth comparison was performed for the retrieval quality test.
- The similarity query ignores the active-state or freshness filter.
- The workload is exceeding provisioned throughput without respecting 429 retry guidance.
Explanation
Correct Answer
A:The embedding column's dimensions exceed the applicable index-type limit or are unspecified. The described symptom and this root cause fit together. Pgvector indexing supports defined dimensional ranges and the column type must match the model output.
Incorrect Answers
B:No exhaustive ground-truth comparison was performed for the retrieval quality test. Here, the embedding column's dimensions exceed the applicable index-type limit or are unspecified.
C:The similarity query ignores the active-state or freshness filter. Here, the embedding column's dimensions exceed the applicable index-type limit or are unspecified.
D:The workload is exceeding provisioned throughput without respecting 429 retry guidance. Here, the embedding column's dimensions exceed the applicable index-type limit or are unspecified.
Question 329
A RAG backend receives a new embedding-model version with a different vector dimension. What primary technical approach is best justified by these constraints?
- Use a fixed 1536-dimensional vector column within the relevant pgvector indexing constraints.
- Use a vector index with an operator class matching cosine distance.
- Store the new embeddings in a schema or column with the new dimension and migrate deliberately.
- Choose the flat vector index strategy when exact recall is required within its supported dimensions.
Explanation
Correct Answer
C:Store the new embeddings in a schema or column with the new dimension and migrate deliberately. It directly addresses the architecture in this case. Fixed-dimension pgvector columns reject vectors of an incompatible dimension.
Incorrect Answers
A: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, store the new embeddings in a schema or column with the new dimension and migrate deliberately.
B:Use a vector index with an operator class matching cosine distance. pgvector operator classes must align with the distance metric used in ORDER BY. Instead, store the new embeddings in a schema or column with the new dimension and migrate deliberately.
D:Choose the flat vector index strategy when exact recall is required within its supported dimensions. A flat vector index performs exact similarity lookup within its supported constraints. Instead, store the new embeddings in a schema or column with the new dimension and migrate deliberately.
Question 330
A RAG backend receives a new embedding-model version with a different vector dimension. After deciding to store the new embeddings in a schema or column with the new dimension and migrate deliberately, what configuration is most relevant?
- Configure a bounded client pool or supported PgBouncer connection pooling for bursty inference calls.
- Run a bounded exact vector distance query on a representative dataset and retain its top-K IDs.
- Create a compatible vector index schema with the embedding field and chosen distance metric.
- Create a versioned embedding column or table and rebuild its corresponding dimension-matched index.
Explanation
Correct Answer
D:Create a versioned embedding column or table and rebuild its corresponding dimension-matched index. This is the actionable setup step for the selected design. Fixed-dimension pgvector columns reject vectors of an incompatible dimension.
Incorrect Answers
A:Configure a bounded client pool or supported PgBouncer connection pooling for bursty inference calls. Instead, create a versioned embedding column or table and rebuild its corresponding dimension-matched index.
B:Run a bounded exact vector distance query on a representative dataset and retain its top-K IDs. Instead, create a versioned embedding column or table and rebuild its corresponding dimension-matched index.
C:Create a compatible vector index schema with the embedding field and chosen distance metric. Instead, create a versioned embedding column or table and rebuild its corresponding dimension-matched index.
Developing AI Cloud Solutions on Azure (AI-200) Practice Tests