Question 350 A pgvector query uses an approximate index with a highly selective department filter and returns fewer than the expected top five records. What is the most targeted next step after confirming the cause? Use a validated relevance threshold or abstention rule along with top-k selection and metadata constraints. Store retrievable source identifiers and version metadata with embedding records and pass it through RAG output. Add a server-side tenant and permission predicate to the metadata filter before returning vector candidates. Tune supported iterative ANN scanning or candidate-search parameters and test recall for selective metadata filters. Explanation Correct Answer D:Tune supported iterative ANN scanning or candidate-search parameters and test recall for selective metadata filters. A query plan applies the department predicate after a limited ANN candidate scan, discarding most candidates. Incorrect Answers A:Use a validated relevance threshold or abstention rule along with top-k selection and metadata constraints. This would address PostgreSQL similarity threshold calibration, not PostgreSQL filtered ANN candidate shortage. B:Store retrievable source identifiers and version metadata with embedding records and pass it through RAG output. This would address PostgreSQL embedding provenance metadata, not PostgreSQL filtered ANN candidate shortage. C:Add a server-side tenant and permission predicate to the metadata filter before returning vector candidates. This would address PostgreSQL authorization predicate in RAG query, not PostgreSQL filtered ANN candidate shortage.
Question 351 A retrieval service always returns the top three pgvector neighbors, even for nonsense questions whose nearest vectors have weak similarity. Which corrective action is most appropriate for this situation? Use a validated relevance threshold or abstention rule along with top-k selection and metadata constraints. Store retrievable source identifiers and version metadata with embedding records and pass it through RAG output. Add a server-side tenant and permission predicate to the metadata filter before returning vector candidates. Tune supported iterative ANN scanning or candidate-search parameters and test recall for selective metadata filters. Explanation Correct Answer A:Use a validated relevance threshold or abstention rule along with top-k selection and metadata constraints. Offline evaluation shows top neighbors with distances well outside the range of trusted answer-support matches. Incorrect Answers B:Store retrievable source identifiers and version metadata with embedding records and pass it through RAG output. This would address PostgreSQL embedding provenance metadata, not PostgreSQL similarity threshold calibration. C:Add a server-side tenant and permission predicate to the metadata filter before returning vector candidates. This would address PostgreSQL authorization predicate in RAG query, not PostgreSQL similarity threshold calibration. D:Tune supported iterative ANN scanning or candidate-search parameters and test recall for selective metadata filters. This would address PostgreSQL filtered ANN candidate shortage, not PostgreSQL similarity threshold calibration.
Question 352 A vector table stores text and embeddings but no source URI or revision, making retrieved evidence impossible to attribute in generated answers. What is the most targeted next step after confirming the cause? Use a validated relevance threshold or abstention rule along with top-k selection and metadata constraints. Add a server-side tenant and permission predicate to the metadata filter before returning vector candidates. Store retrievable source identifiers and version metadata with embedding records and pass it through RAG output. Tune supported iterative ANN scanning or candidate-search parameters and test recall for selective metadata filters. Explanation Correct Answer C:Store retrievable source identifiers and version metadata with embedding records and pass it through RAG output. Rows have embeddings and content but lack a stable source document identifier, revision, and citation metadata fields. Incorrect Answers A:Use a validated relevance threshold or abstention rule along with top-k selection and metadata constraints. This would address PostgreSQL similarity threshold calibration, not PostgreSQL embedding provenance metadata. B:Add a server-side tenant and permission predicate to the metadata filter before returning vector candidates. This would address PostgreSQL authorization predicate in RAG query, not PostgreSQL embedding provenance metadata. D:Tune supported iterative ANN scanning or candidate-search parameters and test recall for selective metadata filters. This would address PostgreSQL filtered ANN candidate shortage, not PostgreSQL embedding provenance metadata.
Question 353 A new AI embedding model is deployed, but the vector table contains old rows with null vectors and search coverage is inconsistent. Which corrective action is most appropriate for this situation? Declare a suitable fixed vector dimension for the indexed expression or column and rebuild the index. Tune and monitor autovacuum or perform safe maintenance to reclaim dead tuples and update visibility statistics. Plan a supported CREATE INDEX CONCURRENTLY operation where applicable and validate maintenance tradeoffs. Backfill missing embeddings with a controlled job and gate query availability on expected vector completeness. Explanation Correct Answer D:Backfill missing embeddings with a controlled job and gate query availability on expected vector completeness. A database query finds a significant count of document rows with a null embedding column after migration. Incorrect Answers A:Declare a suitable fixed vector dimension for the indexed expression or column and rebuild the index. This would address PostgreSQL vector index column dimension declaration, not PostgreSQL partial embedding backfill. B:Tune and monitor autovacuum or perform safe maintenance to reclaim dead tuples and update visibility statistics. This would address PostgreSQL vacuum bloat after upserts, not PostgreSQL partial embedding backfill. C:Plan a supported CREATE INDEX CONCURRENTLY operation where applicable and validate maintenance tradeoffs. This would address PostgreSQL concurrent index creation on live table, not PostgreSQL partial embedding backfill.
Question 354 Operations rebuild a large vector index on a busy PostgreSQL table using a blocking create-index operation and write activity stalls. What is the most targeted next step after confirming the cause? Backfill missing embeddings with a controlled job and gate query availability on expected vector completeness. Plan a supported CREATE INDEX CONCURRENTLY operation where applicable and validate maintenance tradeoffs. Declare a suitable fixed vector dimension for the indexed expression or column and rebuild the index. Tune and monitor autovacuum or perform safe maintenance to reclaim dead tuples and update visibility statistics. Explanation Correct Answer B:Plan a supported CREATE INDEX CONCURRENTLY operation where applicable and validate maintenance tradeoffs. Database sessions show writes waiting on the table-level lock held by ordinary CREATE INDEX during rebuild. Incorrect Answers A:Backfill missing embeddings with a controlled job and gate query availability on expected vector completeness. This would address PostgreSQL partial embedding backfill, not PostgreSQL concurrent index creation on live table. C:Declare a suitable fixed vector dimension for the indexed expression or column and rebuild the index. This would address PostgreSQL vector index column dimension declaration, not PostgreSQL concurrent index creation on live table. D:Tune and monitor autovacuum or perform safe maintenance to reclaim dead tuples and update visibility statistics. This would address PostgreSQL vacuum bloat after upserts, not PostgreSQL concurrent index creation on live table.
Question 355 An embedding table receives continuous updates and deletes, and its physical size grows dramatically while live row count is nearly constant. Which corrective action is most appropriate for this situation? Tune and monitor autovacuum or perform safe maintenance to reclaim dead tuples and update visibility statistics. Declare a suitable fixed vector dimension for the indexed expression or column and rebuild the index. Backfill missing embeddings with a controlled job and gate query availability on expected vector completeness. Plan a supported CREATE INDEX CONCURRENTLY operation where applicable and validate maintenance tradeoffs. Explanation Correct Answer A:Tune and monitor autovacuum or perform safe maintenance to reclaim dead tuples and update visibility statistics. Statistics show many dead tuples and overdue vacuum activity following repeated upserts and deletes. Incorrect Answers B:Declare a suitable fixed vector dimension for the indexed expression or column and rebuild the index. This would address PostgreSQL vector index column dimension declaration, not PostgreSQL vacuum bloat after upserts. C:Backfill missing embeddings with a controlled job and gate query availability on expected vector completeness. This would address PostgreSQL partial embedding backfill, not PostgreSQL vacuum bloat after upserts. D:Plan a supported CREATE INDEX CONCURRENTLY operation where applicable and validate maintenance tradeoffs. This would address PostgreSQL concurrent index creation on live table, not PostgreSQL vacuum bloat after upserts.
Question 356 An engineer defines a PostgreSQL column simply as vector without a fixed dimension and then attempts to create an HNSW index over it. What is the most targeted next step after confirming the cause? Tune and monitor autovacuum or perform safe maintenance to reclaim dead tuples and update visibility statistics. Plan a supported CREATE INDEX CONCURRENTLY operation where applicable and validate maintenance tradeoffs. Backfill missing embeddings with a controlled job and gate query availability on expected vector completeness. Declare a suitable fixed vector dimension for the indexed expression or column and rebuild the index. Explanation Correct Answer D:Declare a suitable fixed vector dimension for the indexed expression or column and rebuild the index. Index creation fails because the indexed vector column has no declared dimensions. Incorrect Answers A:Tune and monitor autovacuum or perform safe maintenance to reclaim dead tuples and update visibility statistics. This would address PostgreSQL vacuum bloat after upserts, not PostgreSQL vector index column dimension declaration. B:Plan a supported CREATE INDEX CONCURRENTLY operation where applicable and validate maintenance tradeoffs. This would address PostgreSQL concurrent index creation on live table, not PostgreSQL vector index column dimension declaration. C:Backfill missing embeddings with a controlled job and gate query availability on expected vector completeness. This would address PostgreSQL partial embedding backfill, not PostgreSQL vector index column dimension declaration.
Question 357 A Python RAG ingestion service attempts to create a vector(1536) column on Azure Database for PostgreSQL and receives an unknown-type error. Which operational failure follows most directly from the condition? Vector columns remain unresolvable in this session despite the installed extension being present. Existing vector columns reject embeddings whose dimension count differs from the schema. Semantic retrieval works but misses the intended ANN index and scans more records. Schema migration stops before embeddings can be stored because the vector data type is unavailable. Explanation Correct Answer D:Schema migration stops before embeddings can be stored because the vector data type is unavailable. Incorrect Answers A:Vector columns remain unresolvable in this session despite the installed extension being present. That outcome relates to PostgreSQL vector schema not on search path, not PostgreSQL pgvector extension installation. B:Existing vector columns reject embeddings whose dimension count differs from the schema. That outcome relates to PostgreSQL vector column dimension mismatch, not PostgreSQL pgvector extension installation. C:Semantic retrieval works but misses the intended ANN index and scans more records. That outcome relates to PostgreSQL vector index operator mismatch, not PostgreSQL pgvector extension installation.
Question 358 A model migration switches embeddings to 3072 dimensions, while the Azure PostgreSQL table column remains defined as vector(1536); inserts fail. What is the most direct consequence of leaving this issue unresolved? Schema migration stops before embeddings can be stored because the vector data type is unavailable. The vector ranking remains logically defined but does not benefit from the intended approximate-neighbor index. New documents cannot be indexed or compared correctly while vector dimensions disagree across model and schema. Similarity queries become increasingly slow as embedding records grow despite returning the expected nearest neighbors. Explanation Correct Answer C:New documents cannot be indexed or compared correctly while vector dimensions disagree across model and schema. Incorrect Answers A:Schema migration stops before embeddings can be stored because the vector data type is unavailable. That outcome relates to PostgreSQL pgvector extension installation, not PostgreSQL vector dimension mismatch. B:The vector ranking remains logically defined but does not benefit from the intended approximate-neighbor index. That outcome relates to PostgreSQL cosine operator class alignment, not PostgreSQL vector dimension mismatch. D:Similarity queries become increasingly slow as embedding records grow despite returning the expected nearest neighbors. That outcome relates to PostgreSQL approximate-neighbor indexing, not PostgreSQL vector dimension mismatch.
Question 359 A retrieval query orders neighbors with cosine distance, but its HNSW index was built using an L2 operator class and is not chosen for that query. Which operational failure follows most directly from the condition? Similarity queries become increasingly slow as embedding records grow despite returning the expected nearest neighbors. Schema migration stops before embeddings can be stored because the vector data type is unavailable. The vector ranking remains logically defined but does not benefit from the intended approximate-neighbor index. New documents cannot be indexed or compared correctly while vector dimensions disagree across model and schema. Explanation Correct Answer C:The vector ranking remains logically defined but does not benefit from the intended approximate-neighbor index. Incorrect Answers A:Similarity queries become increasingly slow as embedding records grow despite returning the expected nearest neighbors. That outcome relates to PostgreSQL approximate-neighbor indexing, not PostgreSQL cosine operator class alignment. B:Schema migration stops before embeddings can be stored because the vector data type is unavailable. That outcome relates to PostgreSQL pgvector extension installation, not PostgreSQL cosine operator class alignment. D:New documents cannot be indexed or compared correctly while vector dimensions disagree across model and schema. That outcome relates to PostgreSQL vector dimension mismatch, not PostgreSQL cosine operator class alignment.
Question 360 An AI recommendations table grows to several million rows; a plain ORDER BY embedding distance LIMIT 10 query scans the entire vector column and misses latency targets. What is the most direct consequence of leaving this issue unresolved? The vector ranking remains logically defined but does not benefit from the intended approximate-neighbor index. New documents cannot be indexed or compared correctly while vector dimensions disagree across model and schema. Similarity queries become increasingly slow as embedding records grow despite returning the expected nearest neighbors. Schema migration stops before embeddings can be stored because the vector data type is unavailable. Explanation Correct Answer C:Similarity queries become increasingly slow as embedding records grow despite returning the expected nearest neighbors. Incorrect Answers A:The vector ranking remains logically defined but does not benefit from the intended approximate-neighbor index. That outcome relates to PostgreSQL cosine operator class alignment, not PostgreSQL approximate-neighbor indexing. B:New documents cannot be indexed or compared correctly while vector dimensions disagree across model and schema. That outcome relates to PostgreSQL vector dimension mismatch, not PostgreSQL approximate-neighbor indexing. D:Schema migration stops before embeddings can be stored because the vector data type is unavailable. That outcome relates to PostgreSQL pgvector extension installation, not PostgreSQL approximate-neighbor indexing.