Q7 Cosmos DB Domain 2 · 25–30% of exam Priority · Real Exam

With multi-region writes enabled and last-writer-wins configured, what determines the surviving document on a conflict?

  1. A The document with the largest size
  2. B The highest value of the configured conflict resolution path, by default _ts (correct answer)
  3. C The region with the lowest latency
  4. D The first write received

Shortcut: Last-writer-wins compares the conflict resolution path, which defaults to the _ts timestamp. You can nominate a custom numeric path instead, or use a stored procedure for custom resolution.