Question 130
An embedding model produces 768 floats, but its table column is defined as vector(1536). Which configuration BEST satisfies these constraints?
Explanation
Correct Answer
Mismatched vector dimensions prevent valid inserts and comparisons.
Incorrect Answers
Add an appropriate JSONB or expression index for the actual predicate: add an appropriate JSONB or expression index for the actual predicate: index choice should match operators used to filter frequently queried metadata; Align the pgvector column dimension and data migration with the actual model output.
Use the pgvector cosine-distance operator for the intended metric: use the pgvector cosine-distance operator for the intended metric: distance operators encode different geometry and can produce different ranking results; Align the pgvector column dimension and data migration with the actual model output.
Enable the supported vector extension in the intended database: enable the supported vector extension in the intended database: vector types and operators are provided by the extension rather than ordinary PostgreSQL core syntax; Align the pgvector column dimension and data migration with the actual model output.





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