Question 200 A user updates a chat summary through one Cosmos DB client then immediately reads through a different service and occasionally sees the old summary. Which Azure design decision most specifically addresses the stated need? Cosmos DB point-read wrong partition key Cosmos DB TTL expiration removal Cosmos DB optimistic concurrency conflict Cosmos DB session consistency token Explanation Correct Answer D:The writer's session token is not propagated to the read path and requests are served through different client sessions. Carry the relevant session token where session-consistency read-your-writes is required or use a suitable consistency strategy. Incorrect Answers A:Evidence of Cosmos DB point-read wrong partition key would look different: An item with the requested id exists, but the point read uses a different logical partition key and receives HTTP 404. B:Evidence of Cosmos DB TTL expiration removal would look different: A short-lived chat summary has an item TTL and disappears after the retention interval regardless of session token. C:Evidence of Cosmos DB optimistic concurrency conflict would look different: An update returns HTTP 412 because the supplied item ETag is stale after a concurrent writer committed a new version.
Question 201 An AI search API filters Cosmos DB documents on /category, but its indexing policy explicitly excludes that property and query request units rise. Which underlying technical issue or Azure capability best explains this case? Cosmos DB hot logical partition Cosmos DB offset paging cost Cosmos DB request-rate 429 backoff Cosmos DB excluded query path index Explanation Correct Answer D:The container indexing policy excludes the frequently filtered category path and query metrics show high RU usage. Update the indexing strategy for frequently filtered query paths with a measured indexing-cost tradeoff. Incorrect Answers A:Evidence of Cosmos DB hot logical partition would look different: Normalized RU metrics concentrate on a single logical partition key value while other partitions remain lightly loaded. B:Evidence of Cosmos DB offset paging cost would look different: Query diagnostics show higher execution work and RU charge as OFFSET grows even though the returned page size stays constant. C:Evidence of Cosmos DB request-rate 429 backoff would look different: SDK diagnostics include HTTP 429 and an explicit retry-after interval during RU saturation.
Question 202 A Cosmos DB container partitions by a constant sourceType field, and one ingestion source accounts for 95 percent of traffic, causing hot-partition throttling. Which Azure design decision most specifically addresses the stated need? Cosmos DB SDK retry policy too aggressive Cosmos DB cross-partition query fan-out Cosmos DB low total provisioned RUs Cosmos DB hot logical partition Explanation Correct Answer D:Normalized RU metrics concentrate on a single logical partition key value while other partitions remain lightly loaded. Choose a higher-cardinality partitioning approach aligned to access patterns and migrate data with a deliberate plan. Incorrect Answers A:Evidence of Cosmos DB SDK retry policy too aggressive would look different: The client ignores the retry-after interval on 429 responses and immediately resubmits hundreds of requests. B:Evidence of Cosmos DB cross-partition query fan-out would look different: A query without a partition key runs over many logical partitions and incurs a high cumulative RU charge. C:Evidence of Cosmos DB low total provisioned RUs would look different: Throttling occurs uniformly across the container's partitions because the overall provisioned throughput is below aggregate demand.
Question 203 A chatbot transcript browser fetches page 500 using a huge OFFSET LIMIT query against Cosmos DB for NoSQL and RU costs increase rapidly with page depth. Which underlying technical issue or Azure capability best explains this case? Cosmos DB excluded query path index Cosmos DB offset paging cost Cosmos DB request-rate 429 backoff Cosmos DB hot logical partition Explanation Correct Answer B:Query diagnostics show higher execution work and RU charge as OFFSET grows even though the returned page size stays constant. Prefer continuation-token paging or a stable cursor strategy instead of deep OFFSET scans for the workload. Incorrect Answers A:Evidence of Cosmos DB excluded query path index would look different: The container indexing policy excludes the frequently filtered category path and query metrics show high RU usage. C:Evidence of Cosmos DB request-rate 429 backoff would look different: SDK diagnostics include HTTP 429 and an explicit retry-after interval during RU saturation. D:Evidence of Cosmos DB hot logical partition would look different: Normalized RU metrics concentrate on a single logical partition key value while other partitions remain lightly loaded.
Question 204 A batch vector ingestion job fires thousands of concurrent Cosmos DB writes, receives 429 rate-limited responses, and treats all of them as permanent failure. Which Azure design decision most specifically addresses the stated need? Cosmos DB excluded query path index Cosmos DB request-rate 429 backoff Cosmos DB offset paging cost Cosmos DB hot logical partition Explanation Correct Answer B:SDK diagnostics include HTTP 429 and an explicit retry-after interval during RU saturation. Apply bounded concurrency and respect the SDK's retry-after guidance while tuning provisioned throughput where justified. Incorrect Answers A:Evidence of Cosmos DB excluded query path index would look different: The container indexing policy excludes the frequently filtered category path and query metrics show high RU usage. C:Evidence of Cosmos DB offset paging cost would look different: Query diagnostics show higher execution work and RU charge as OFFSET grows even though the returned page size stays constant. D:Evidence of Cosmos DB hot logical partition would look different: Normalized RU metrics concentrate on a single logical partition key value while other partitions remain lightly loaded.
Question 205 A change feed processor never starts listening after a role migration, even though the source container has new documents. Which underlying technical issue or Azure capability best explains this case? Cosmos DB change feed replay idempotency Cosmos DB change feed lease container permissions Cosmos DB change feed start position Cosmos DB default change feed delete visibility Explanation Correct Answer B:The processor can read source data but lacks permission to create or update its lease container checkpoints. Grant scoped lease-container data permissions and validate a processor instance acquiring and updating its lease. Incorrect Answers A:Evidence of Cosmos DB change feed replay idempotency would look different: The same document change can be reprocessed when the lease checkpoint has not advanced after an external write. C:Evidence of Cosmos DB change feed start position would look different: Processor configuration explicitly starts from now rather than from the beginning or required continuation point. D:Evidence of Cosmos DB default change feed delete visibility would look different: The configured change feed mode surfaces creates and updates but not physical deletes of source items.
Question 206 An ingestion service is deployed to backfill historical document changes, but its new feed processor starts only from the current point onward. Which Azure design decision most specifically addresses the stated need? Cosmos DB default change feed delete visibility Cosmos DB change feed lease container permissions Cosmos DB change feed replay idempotency Cosmos DB change feed start position Explanation Correct Answer D:Processor configuration explicitly starts from now rather than from the beginning or required continuation point. Initialize the change feed start position and lease state for the required historical backfill policy. Incorrect Answers A:Evidence of Cosmos DB default change feed delete visibility would look different: The configured change feed mode surfaces creates and updates but not physical deletes of source items. B:Evidence of Cosmos DB change feed lease container permissions would look different: The processor can read source data but lacks permission to create or update its lease container checkpoints. C:Evidence of Cosmos DB change feed replay idempotency would look different: The same document change can be reprocessed when the lease checkpoint has not advanced after an external write.
Question 207 A change feed consumer writes embeddings to an external index and occasionally duplicates them after a restart between processing and checkpoint. Which underlying technical issue or Azure capability best explains this case? Cosmos DB change feed replay idempotency Cosmos DB change feed start position Cosmos DB change feed lease container permissions Cosmos DB default change feed delete visibility Explanation Correct Answer A:The same document change can be reprocessed when the lease checkpoint has not advanced after an external write. Make downstream embedding updates idempotent using stable document IDs and version information before checkpointing. Incorrect Answers B:Evidence of Cosmos DB change feed start position would look different: Processor configuration explicitly starts from now rather than from the beginning or required continuation point. C:Evidence of Cosmos DB change feed lease container permissions would look different: The processor can read source data but lacks permission to create or update its lease container checkpoints. D:Evidence of Cosmos DB default change feed delete visibility would look different: The configured change feed mode surfaces creates and updates but not physical deletes of source items.
Question 208 An AI catalog pipeline relies on the standard latest-version change feed to remove embeddings when a source item is hard-deleted, but deletion produces no matching event. Which Azure design decision most specifically addresses the stated need? Cosmos DB change feed replay idempotency Cosmos DB change feed start position Cosmos DB default change feed delete visibility Cosmos DB change feed lease container permissions Explanation Correct Answer C:The configured change feed mode surfaces creates and updates but not physical deletes of source items. Implement an explicit soft-delete marker or choose a supported change feed mode that meets deletion requirements. Incorrect Answers A:Evidence of Cosmos DB change feed replay idempotency would look different: The same document change can be reprocessed when the lease checkpoint has not advanced after an external write. B:Evidence of Cosmos DB change feed start position would look different: Processor configuration explicitly starts from now rather than from the beginning or required continuation point. D:Evidence of Cosmos DB change feed lease container permissions would look different: The processor can read source data but lacks permission to create or update its lease container checkpoints.
Question 209 A Cosmos DB knowledge base stores embeddings calibrated for cosine similarity, but the container policy uses Euclidean distance and retrieval ordering disagrees with the validated benchmark. Which underlying technical issue or Azure capability best explains this case? Cosmos DB vector distance metric mismatch Cosmos DB vector query tenant partition design Cosmos DB embedding model version mixing Cosmos DB approximate vector recall tradeoff Explanation Correct Answer A:The configured vector embedding distance function differs from the cosine metric used in the model evaluation. Plan a compatible container policy and migrate vectors using the intended cosine distance metric for consistent retrieval. Incorrect Answers B:Evidence of Cosmos DB vector query tenant partition design would look different: Query metrics show fan-out across partitions even though the current request specifies one authenticated tenant key. C:Evidence of Cosmos DB embedding model version mixing would look different: Vector metadata shows two distinct embedding model versions despite equal-length arrays in one search corpus. D:Evidence of Cosmos DB approximate vector recall tradeoff would look different: Evaluation compares the diskANN search results to exact flat neighbors and shows small recall reductions at lower latency.
Question 210 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 Azure design decision most specifically addresses the stated need? Cosmos DB vector query tenant partition design Cosmos DB vector distance metric mismatch Cosmos DB embedding model version mixing Cosmos DB approximate vector recall tradeoff Explanation Correct Answer C:Vector metadata shows two distinct embedding model versions despite equal-length arrays in one search corpus. Reembed or separate incompatible model-version corpora and query using a consistent embedding space. Incorrect Answers A:Evidence of Cosmos DB vector query tenant partition design would look different: Query metrics show fan-out across partitions even though the current request specifies one authenticated tenant key. B:Evidence of Cosmos DB vector distance metric mismatch would look different: The configured vector embedding distance function differs from the cosine metric used in the model evaluation. D:Evidence of Cosmos DB approximate vector recall tradeoff would look different: Evaluation compares the diskANN search results to exact flat neighbors and shows small recall reductions at lower latency.