Question 270 A search team migrates to a new embedding model with the same vector dimension but leaves half its Cosmos DB records embedded by the old model. What is the most direct consequence of leaving this issue unresolved? Similarity scores become semantically unreliable because vectors from different model spaces are ranked together. The closest documents under the validated semantic metric can rank lower when the wrong distance measure is applied. The service may answer without the best supporting passage because approximate search trades some recall for efficiency. Single-tenant retrieval spends avoidable request units scanning partitions unrelated to the current tenant. Explanation Correct Answer A:Similarity scores become semantically unreliable because vectors from different model spaces are ranked together. Incorrect Answers B:The closest documents under the validated semantic metric can rank lower when the wrong distance measure is applied. That outcome relates to Cosmos DB vector distance metric mismatch, not Cosmos DB embedding model version mixing. C:The service may answer without the best supporting passage because approximate search trades some recall for efficiency. That outcome relates to Cosmos DB approximate vector recall tradeoff, not Cosmos DB embedding model version mixing. D:Single-tenant retrieval spends avoidable request units scanning partitions unrelated to the current tenant. That outcome relates to Cosmos DB vector query tenant partition design, not Cosmos DB embedding model version mixing.
Question 271 A high-volume RAG service changes its Cosmos DB vector index from flat to diskANN and gains speed but occasionally misses expected reference passages. Which operational failure follows most directly from the condition? The service may answer without the best supporting passage because approximate search trades some recall for efficiency. Similarity scores become semantically unreliable because vectors from different model spaces are ranked together. Single-tenant retrieval spends avoidable request units scanning partitions unrelated to the current tenant. The closest documents under the validated semantic metric can rank lower when the wrong distance measure is applied. Explanation Correct Answer A:The service may answer without the best supporting passage because approximate search trades some recall for efficiency. Incorrect Answers B:Similarity scores become semantically unreliable because vectors from different model spaces are ranked together. That outcome relates to Cosmos DB embedding model version mixing, not Cosmos DB approximate vector recall tradeoff. C:Single-tenant retrieval spends avoidable request units scanning partitions unrelated to the current tenant. That outcome relates to Cosmos DB vector query tenant partition design, not Cosmos DB approximate vector recall tradeoff. D:The closest documents under the validated semantic metric can rank lower when the wrong distance measure is applied. That outcome relates to Cosmos DB vector distance metric mismatch, not Cosmos DB approximate vector recall tradeoff.
Question 272 A multi-tenant agent stores documents in Cosmos DB partitioned by tenantId, but its vector search code performs unnecessary cross-partition fan-out for single-tenant requests. What is the most direct consequence of leaving this issue unresolved? Similarity scores become semantically unreliable because vectors from different model spaces are ranked together. The service may answer without the best supporting passage because approximate search trades some recall for efficiency. Single-tenant retrieval spends avoidable request units scanning partitions unrelated to the current tenant. The closest documents under the validated semantic metric can rank lower when the wrong distance measure is applied. Explanation Correct Answer C:Single-tenant retrieval spends avoidable request units scanning partitions unrelated to the current tenant. Incorrect Answers A:Similarity scores become semantically unreliable because vectors from different model spaces are ranked together. That outcome relates to Cosmos DB embedding model version mixing, not Cosmos DB vector query tenant partition design. B:The service may answer without the best supporting passage because approximate search trades some recall for efficiency. That outcome relates to Cosmos DB approximate vector recall tradeoff, not Cosmos DB vector query tenant partition design. D:The closest documents under the validated semantic metric can rank lower when the wrong distance measure is applied. That outcome relates to Cosmos DB vector distance metric mismatch, not Cosmos DB vector query tenant partition design.
Question 273 A Python RAG ingestion service attempts to create a vector(1536) column on Azure Database for PostgreSQL and receives an unknown-type error. Which underlying technical issue or Azure capability best explains this case? PostgreSQL pgvector extension installation PostgreSQL vector schema not on search path PostgreSQL vector column dimension mismatch PostgreSQL vector index operator mismatch Explanation Correct Answer A:The database reports that the vector extension has not been created in the target database before the table DDL runs. Allowlist and install the supported vector extension in that database before creating vector columns and indexes. Incorrect Answers B:Evidence of PostgreSQL vector schema not on search path would look different: The vector extension is installed in a different database schema, but the session's search_path cannot resolve its type. C:Evidence of PostgreSQL vector column dimension mismatch would look different: The pgvector extension is installed and the table exists, but a vector insert has more dimensions than the declared column. D:Evidence of PostgreSQL vector index operator mismatch would look different: Vector columns and inserts work, but a cosine distance query cannot use the available L2 HNSW index.
Question 274 A model migration switches embeddings to 3072 dimensions, while the Azure PostgreSQL table column remains defined as vector(1536); inserts fail. Which Azure design decision most specifically addresses the stated need? PostgreSQL approximate-neighbor indexing PostgreSQL vector dimension mismatch PostgreSQL pgvector extension installation PostgreSQL cosine operator class alignment Explanation Correct Answer B:The reported insertion error names a dimension mismatch between vector column size and the supplied embedding array. Use a dimension-compatible storage design or compatible embedding output and migrate existing vectors deliberately. Incorrect Answers A:Evidence of PostgreSQL approximate-neighbor indexing would look different: EXPLAIN ANALYZE shows an expensive sequential vector distance scan with no compatible approximate-nearest-neighbor index. C:Evidence of PostgreSQL pgvector extension installation would look different: The database reports that the vector extension has not been created in the target database before the table DDL runs. D:Evidence of PostgreSQL cosine operator class alignment would look different: EXPLAIN shows a sequential scan for the cosine ordering while the index definition specifies vector_l2_ops.
Question 275 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 underlying technical issue or Azure capability best explains this case? PostgreSQL vector dimension mismatch PostgreSQL approximate-neighbor indexing PostgreSQL pgvector extension installation PostgreSQL cosine operator class alignment Explanation Correct Answer D:EXPLAIN shows a sequential scan for the cosine ordering while the index definition specifies vector_l2_ops. Create or select an appropriate ANN index with the cosine operator class matching the production query's distance operator. Incorrect Answers A:Evidence of PostgreSQL vector dimension mismatch would look different: The reported insertion error names a dimension mismatch between vector column size and the supplied embedding array. B:Evidence of PostgreSQL approximate-neighbor indexing would look different: EXPLAIN ANALYZE shows an expensive sequential vector distance scan with no compatible approximate-nearest-neighbor index. C:Evidence of PostgreSQL pgvector extension installation would look different: The database reports that the vector extension has not been created in the target database before the table DDL runs.
Question 276 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. Which Azure design decision most specifically addresses the stated need? PostgreSQL vector dimension mismatch PostgreSQL cosine operator class alignment PostgreSQL approximate-neighbor indexing PostgreSQL pgvector extension installation Explanation Correct Answer C:EXPLAIN ANALYZE shows an expensive sequential vector distance scan with no compatible approximate-nearest-neighbor index. Evaluate and build an HNSW or IVFFlat index with the matching distance operator and acceptable recall targets. Incorrect Answers A:Evidence of PostgreSQL vector dimension mismatch would look different: The reported insertion error names a dimension mismatch between vector column size and the supplied embedding array. B:Evidence of PostgreSQL cosine operator class alignment would look different: EXPLAIN shows a sequential scan for the cosine ordering while the index definition specifies vector_l2_ops. D:Evidence of PostgreSQL pgvector extension installation would look different: The database reports that the vector extension has not been created in the target database before the table DDL runs.
Question 277 A RAG service stores rich per-document metadata in a JSONB column and frequently filters for a nested accessLevel value; these filters scan many rows. Which underlying technical issue or Azure capability best explains this case? PostgreSQL timezone-aware timestamp modeling PostgreSQL large text chunk storage PostgreSQL document identifier uniqueness PostgreSQL metadata JSONB indexing Explanation Correct Answer D:EXPLAIN ANALYZE shows repeated sequential scans for a JSONB containment predicate without a suitable GIN index. Add an appropriate JSONB GIN index for the actual containment query and verify query-plan improvement. Incorrect Answers A:Evidence of PostgreSQL timezone-aware timestamp modeling would look different: The column uses timestamp without time zone and the inserted values originate from different local time zones. B:Evidence of PostgreSQL large text chunk storage would look different: The table column is constrained to VARCHAR(255) and ingestion logs show discarded text beyond the field limit. C:Evidence of PostgreSQL document identifier uniqueness would look different: The embeddings table has no unique constraint on the upstream document key and duplicate business IDs exist.
Question 278 An ingestion process creates multiple embedding rows with the same upstream document ID, and later retrieval returns duplicate passages after message redelivery. Which Azure design decision most specifically addresses the stated need? PostgreSQL metadata JSONB indexing PostgreSQL document identifier uniqueness PostgreSQL timezone-aware timestamp modeling PostgreSQL large text chunk storage Explanation Correct Answer B:The embeddings table has no unique constraint on the upstream document key and duplicate business IDs exist. Enforce a suitable unique key for source document identity and use an idempotent upsert pattern. Incorrect Answers A:Evidence of PostgreSQL metadata JSONB indexing would look different: EXPLAIN ANALYZE shows repeated sequential scans for a JSONB containment predicate without a suitable GIN index. C:Evidence of PostgreSQL timezone-aware timestamp modeling would look different: The column uses timestamp without time zone and the inserted values originate from different local time zones. D:Evidence of PostgreSQL large text chunk storage would look different: The table column is constrained to VARCHAR(255) and ingestion logs show discarded text beyond the field limit.
Question 279 An Azure PostgreSQL audit table stores naive local timestamps for model events, and queries across two regions show confusing event order. Which underlying technical issue or Azure capability best explains this case? PostgreSQL timezone-aware timestamp modeling PostgreSQL document identifier uniqueness PostgreSQL metadata JSONB indexing PostgreSQL large text chunk storage Explanation Correct Answer A:The column uses timestamp without time zone and the inserted values originate from different local time zones. Store normalized UTC or appropriate timezone-aware timestamps and convert only at presentation boundaries. Incorrect Answers B:Evidence of PostgreSQL document identifier uniqueness would look different: The embeddings table has no unique constraint on the upstream document key and duplicate business IDs exist. C:Evidence of PostgreSQL metadata JSONB indexing would look different: EXPLAIN ANALYZE shows repeated sequential scans for a JSONB containment predicate without a suitable GIN index. D:Evidence of PostgreSQL large text chunk storage would look different: The table column is constrained to VARCHAR(255) and ingestion logs show discarded text beyond the field limit.
Question 280 A document-ingestion schema truncates extracted source passages to 255 characters before generating embeddings, despite longer paragraph input. Which Azure design decision most specifically addresses the stated need? PostgreSQL document identifier uniqueness PostgreSQL metadata JSONB indexing PostgreSQL large text chunk storage PostgreSQL timezone-aware timestamp modeling Explanation Correct Answer C:The table column is constrained to VARCHAR(255) and ingestion logs show discarded text beyond the field limit. Use a suitable PostgreSQL text storage type and keep explicit application-level chunk-size limits where needed. Incorrect Answers A:Evidence of PostgreSQL document identifier uniqueness would look different: The embeddings table has no unique constraint on the upstream document key and duplicate business IDs exist. B:Evidence of PostgreSQL metadata JSONB indexing would look different: EXPLAIN ANALYZE shows repeated sequential scans for a JSONB containment predicate without a suitable GIN index. D:Evidence of PostgreSQL timezone-aware timestamp modeling would look different: The column uses timestamp without time zone and the inserted values originate from different local time zones.