Question 230 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. Which test outcome most strongly supports the relevant Azure configuration issue? Query metrics show fan-out across partitions even though the current request specifies one authenticated tenant key. The configured vector embedding distance function differs from the cosine metric used in the model evaluation. Vector metadata shows two distinct embedding model versions despite equal-length arrays in one search corpus. Evaluation compares the diskANN search results to exact flat neighbors and shows small recall reductions at lower latency. Explanation Correct Answer C:Vector metadata shows two distinct embedding model versions despite equal-length arrays in one search corpus. Incorrect Answers A:That finding would indicate Cosmos DB vector query tenant partition design: Query metrics show fan-out across partitions even though the current request specifies one authenticated tenant key. B:That finding would indicate Cosmos DB vector distance metric mismatch: The configured vector embedding distance function differs from the cosine metric used in the model evaluation. D:That finding would indicate Cosmos DB approximate vector recall tradeoff: Evaluation compares the diskANN search results to exact flat neighbors and shows small recall reductions at lower latency.
Question 231 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 additional observation best distinguishes the likely cause from nearby alternatives? Vector metadata shows two distinct embedding model versions despite equal-length arrays in one search corpus. The configured vector embedding distance function differs from the cosine metric used in the model evaluation. Evaluation compares the diskANN search results to exact flat neighbors and shows small recall reductions at lower latency. Query metrics show fan-out across partitions even though the current request specifies one authenticated tenant key. Explanation Correct Answer C:Evaluation compares the diskANN search results to exact flat neighbors and shows small recall reductions at lower latency. Incorrect Answers A:That finding would indicate Cosmos DB embedding model version mixing: Vector metadata shows two distinct embedding model versions despite equal-length arrays in one search corpus. B:That finding would indicate Cosmos DB vector distance metric mismatch: The configured vector embedding distance function differs from the cosine metric used in the model evaluation. D:That finding would indicate Cosmos DB vector query tenant partition design: Query metrics show fan-out across partitions even though the current request specifies one authenticated tenant key.
Question 232 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. Which test outcome most strongly supports the relevant Azure configuration issue? Evaluation compares the diskANN search results to exact flat neighbors and shows small recall reductions at lower latency. The configured vector embedding distance function differs from the cosine metric used in the model evaluation. Query metrics show fan-out across partitions even though the current request specifies one authenticated tenant key. Vector metadata shows two distinct embedding model versions despite equal-length arrays in one search corpus. Explanation Correct Answer C:Query metrics show fan-out across partitions even though the current request specifies one authenticated tenant key. Incorrect Answers A:That finding would indicate Cosmos DB approximate vector recall tradeoff: Evaluation compares the diskANN search results to exact flat neighbors and shows small recall reductions at lower latency. B:That finding would indicate Cosmos DB vector distance metric mismatch: The configured vector embedding distance function differs from the cosine metric used in the model evaluation. D:That finding would indicate Cosmos DB embedding model version mixing: Vector metadata shows two distinct embedding model versions despite equal-length arrays in one search corpus.
Question 233 A document ingestion job sends 1536-dimensional embeddings to a Cosmos DB for NoSQL container whose vector embedding policy declares 768 dimensions for that path. Which corrective action is most appropriate for this situation? Create a correctly configured container or migration path with a vector index matching the stored embedding property. Apply the authenticated tenantId predicate in the server-side query before returning ranked vector matches. Create a compatible container policy or generate embeddings with the configured dimension, then migrate or reingest records consistently. Choose an appropriate flat vector index for the dimensionality when exact nearest-neighbor recall is required. Explanation Correct Answer C:Create a compatible container policy or generate embeddings with the configured dimension, then migrate or reingest records consistently. The vector policy dimension and the serialized embedding length differ, and the vector query cannot use the expected vector configuration. Incorrect Answers A:Create a correctly configured container or migration path with a vector index matching the stored embedding property. This would address Cosmos DB vector index path configuration, not Cosmos DB vector embedding dimension policy. B:Apply the authenticated tenantId predicate in the server-side query before returning ranked vector matches. This would address Cosmos DB vector plus tenant filter, not Cosmos DB vector embedding dimension policy. D:Choose an appropriate flat vector index for the dimensionality when exact nearest-neighbor recall is required. This would address Cosmos DB exact flat vector index, not Cosmos DB vector embedding dimension policy.
Question 234 An audit workflow must return exact nearest neighbors for short 384-dimensional embeddings, but engineers propose diskANN because approximate search is faster. What is the most targeted next step after confirming the cause? Apply the authenticated tenantId predicate in the server-side query before returning ranked vector matches. Create a compatible container policy or generate embeddings with the configured dimension, then migrate or reingest records consistently. Create a correctly configured container or migration path with a vector index matching the stored embedding property. Choose an appropriate flat vector index for the dimensionality when exact nearest-neighbor recall is required. Explanation Correct Answer D:Choose an appropriate flat vector index for the dimensionality when exact nearest-neighbor recall is required. The tested diskANN query can return a different neighbor ordering while a supported flat vector index computes exhaustive exact matches. Incorrect Answers A:Apply the authenticated tenantId predicate in the server-side query before returning ranked vector matches. This would address Cosmos DB vector plus tenant filter, not Cosmos DB exact flat vector index. B:Create a compatible container policy or generate embeddings with the configured dimension, then migrate or reingest records consistently. This would address Cosmos DB vector embedding dimension policy, not Cosmos DB exact flat vector index. C:Create a correctly configured container or migration path with a vector index matching the stored embedding property. This would address Cosmos DB vector index path configuration, not Cosmos DB exact flat vector index.
Question 235 An AI support portal uses Cosmos DB vector similarity, but results from a different tenant appear because the SQL query ranks vectors without constraining tenantId. Which corrective action is most appropriate for this situation? Choose an appropriate flat vector index for the dimensionality when exact nearest-neighbor recall is required. Create a correctly configured container or migration path with a vector index matching the stored embedding property. Apply the authenticated tenantId predicate in the server-side query before returning ranked vector matches. Create a compatible container policy or generate embeddings with the configured dimension, then migrate or reingest records consistently. Explanation Correct Answer C:Apply the authenticated tenantId predicate in the server-side query before returning ranked vector matches. The VectorDistance ORDER BY operates over records from multiple tenant identifiers and the WHERE clause lacks the tenant predicate. Incorrect Answers A:Choose an appropriate flat vector index for the dimensionality when exact nearest-neighbor recall is required. This would address Cosmos DB exact flat vector index, not Cosmos DB vector plus tenant filter. B:Create a correctly configured container or migration path with a vector index matching the stored embedding property. This would address Cosmos DB vector index path configuration, not Cosmos DB vector plus tenant filter. D:Create a compatible container policy or generate embeddings with the configured dimension, then migrate or reingest records consistently. This would address Cosmos DB vector embedding dimension policy, not Cosmos DB vector plus tenant filter.
Question 236 A Cosmos DB collection stores embeddings at /embedding, but the indexing policy configures a vector index at /vectors; high-volume semantic queries scan instead of using the intended index. What is the most targeted next step after confirming the cause? Choose an appropriate flat vector index for the dimensionality when exact nearest-neighbor recall is required. Apply the authenticated tenantId predicate in the server-side query before returning ranked vector matches. Create a compatible container policy or generate embeddings with the configured dimension, then migrate or reingest records consistently. Create a correctly configured container or migration path with a vector index matching the stored embedding property. Explanation Correct Answer D:Create a correctly configured container or migration path with a vector index matching the stored embedding property. The stored document path differs from the index path configured in the container's vector index settings. Incorrect Answers A:Choose an appropriate flat vector index for the dimensionality when exact nearest-neighbor recall is required. This would address Cosmos DB exact flat vector index, not Cosmos DB vector index path configuration. B:Apply the authenticated tenantId predicate in the server-side query before returning ranked vector matches. This would address Cosmos DB vector plus tenant filter, not Cosmos DB vector index path configuration. C:Create a compatible container policy or generate embeddings with the configured dimension, then migrate or reingest records consistently. This would address Cosmos DB vector embedding dimension policy, not Cosmos DB vector index path configuration.
Question 237 A retrieval API calls read_item with the correct id but the wrong logical partition key and consistently receives 404 for existing documents. Which corrective action is most appropriate for this situation? Carry the relevant session token where session-consistency read-your-writes is required or use a suitable consistency strategy. Assign the minimum Cosmos DB SQL data-plane permissions required for document writes to that identity. Iterate through SDK query pages or continuation tokens according to a bounded paging contract. Pass the record's correct partition key alongside its item id to the Cosmos SDK point-read method. Explanation Correct Answer D:Pass the record's correct partition key alongside its item id to the Cosmos SDK point-read method. A query using the actual partition key finds the document while point reads with the supplied tenant partition key fail. Incorrect Answers A:Carry the relevant session token where session-consistency read-your-writes is required or use a suitable consistency strategy. This would address Cosmos DB session consistency token, not Cosmos DB point-read partition key. B:Assign the minimum Cosmos DB SQL data-plane permissions required for document writes to that identity. This would address Cosmos DB SDK role authorization, not Cosmos DB point-read partition key. C:Iterate through SDK query pages or continuation tokens according to a bounded paging contract. This would address Cosmos DB query continuation paging, not Cosmos DB point-read partition key.
Question 238 A managed-identity ingestion worker can reach the Cosmos DB account but receives 403 when creating items through the NoSQL SDK. What is the most targeted next step after confirming the cause? Iterate through SDK query pages or continuation tokens according to a bounded paging contract. Assign the minimum Cosmos DB SQL data-plane permissions required for document writes to that identity. Pass the record's correct partition key alongside its item id to the Cosmos SDK point-read method. Carry the relevant session token where session-consistency read-your-writes is required or use a suitable consistency strategy. Explanation Correct Answer B:Assign the minimum Cosmos DB SQL data-plane permissions required for document writes to that identity. Data-plane authorization logs indicate that the worker principal lacks an appropriate Cosmos DB native data role on the target scope. Incorrect Answers A:Iterate through SDK query pages or continuation tokens according to a bounded paging contract. This would address Cosmos DB query continuation paging, not Cosmos DB SDK role authorization. C:Pass the record's correct partition key alongside its item id to the Cosmos SDK point-read method. This would address Cosmos DB point-read partition key, not Cosmos DB SDK role authorization. D:Carry the relevant session token where session-consistency read-your-writes is required or use a suitable consistency strategy. This would address Cosmos DB session consistency token, not Cosmos DB SDK role authorization.
Question 239 A document review portal always returns the first hundred matching records even though its Cosmos DB SQL query has many more results. Which corrective action is most appropriate for this situation? Carry the relevant session token where session-consistency read-your-writes is required or use a suitable consistency strategy. Assign the minimum Cosmos DB SQL data-plane permissions required for document writes to that identity. Iterate through SDK query pages or continuation tokens according to a bounded paging contract. Pass the record's correct partition key alongside its item id to the Cosmos SDK point-read method. Explanation Correct Answer C:Iterate through SDK query pages or continuation tokens according to a bounded paging contract. The SDK returns a continuation token after the first page but the application never passes it into subsequent requests. Incorrect Answers A:Carry the relevant session token where session-consistency read-your-writes is required or use a suitable consistency strategy. This would address Cosmos DB session consistency token, not Cosmos DB query continuation paging. B:Assign the minimum Cosmos DB SQL data-plane permissions required for document writes to that identity. This would address Cosmos DB SDK role authorization, not Cosmos DB query continuation paging. D:Pass the record's correct partition key alongside its item id to the Cosmos SDK point-read method. This would address Cosmos DB point-read partition key, not Cosmos DB query continuation paging.
Question 240 A user updates a chat summary through one Cosmos DB client then immediately reads through a different service and occasionally sees the old summary. What is the most targeted next step after confirming the cause? Supply the document's actual partition key in the point-read SDK call and retry. Carry the relevant session token where session-consistency read-your-writes is required or use a suitable consistency strategy. Reload the current ETag and reconcile the update rather than assuming a stale read session. Change the item's intended TTL policy or retain necessary history in a durable record. Explanation Correct Answer B:Carry the relevant session token where session-consistency read-your-writes is required or use a suitable consistency strategy. The writer's session token is not propagated to the read path and requests are served through different client sessions. Incorrect Answers A:Supply the document's actual partition key in the point-read SDK call and retry. This would address Cosmos DB point-read wrong partition key, not Cosmos DB session consistency token. C:Reload the current ETag and reconcile the update rather than assuming a stale read session. This would address Cosmos DB optimistic concurrency conflict, not Cosmos DB session consistency token. D:Change the item's intended TTL policy or retain necessary history in a durable record. This would address Cosmos DB TTL expiration removal, not Cosmos DB session consistency token.