Question 340
An app currently re-queries its entire NoSQL container every minute for updated documents. Which test result provides the strongest acceptance evidence?
Explanation
Correct Answer
Change feed emits incremental updates and supports event-driven downstream materialization. The observed result “A modified source item appears in the embedding index without a full container scan” would confirm the change “Use Cosmos DB change feed processing to capture incremental changes and trigger embedding updates” in this situation: An app currently re-queries its entire NoSQL container every minute for updated documents.
Incorrect Answers
Cosmos DB item identity is based on id and logical partition key, not arbitrary business fields. The situation here is: An app currently re-queries its entire NoSQL container every minute for updated documents. A test of this alternative would miss the specific outcome “A modified source item appears in the embedding index without a full container scan”.
ETag-based conditional writes protect against lost updates when callers race. The situation here is: An app currently re-queries its entire NoSQL container every minute for updated documents. A test of this alternative would miss the specific outcome “A modified source item appears in the embedding index without a full container scan”.
Point reads with item id and partition key are an efficient way to retrieve individual NoSQL items. The situation here is: An app currently re-queries its entire NoSQL container every minute for updated documents. A test of this alternative would miss the specific outcome “A modified source item appears in the embedding index without a full container scan”.