Question 260
Several Python workers need coordinated progress as Cosmos DB records are updated. Which test result provides the strongest acceptance evidence?
Explanation
Correct Answer
Change feed processors coordinate partitions through leases instead of a single shared cursor. The observed result “Multiple workers divide active leases and resume from stored checkpoints after restart” would confirm the change “Use a change feed processor with a correctly configured lease container” in this situation: Several Python workers need coordinated progress as Cosmos DB records are updated.
Incorrect Answers
Cosmos DB supports identity-based data-plane authorization, separate from ARM management permissions. The situation here is: Several Python workers need coordinated progress as Cosmos DB records are updated. A test of this alternative would miss the specific outcome “Multiple workers divide active leases and resume from stored checkpoints after restart”.
Eventual consistency permits replica staleness in exchange for weaker coordination requirements. The situation here is: Several Python workers need coordinated progress as Cosmos DB records are updated. A test of this alternative would miss the specific outcome “Multiple workers divide active leases and resume from stored checkpoints after restart”.
Bulk ingestion benefits from controlled parallelism, but capacity limits and throttling still apply. The situation here is: Several Python workers need coordinated progress as Cosmos DB records are updated. A test of this alternative would miss the specific outcome “Multiple workers divide active leases and resume from stored checkpoints after restart”.