C100DEV • Practice Test 5 — 25 Questions
Free C100DEV practice test 5 — 25 questions with explanations. No signup required.
An analytics job updates counters in the 'metrics' collection with db.metrics.updateOne({ metric: "visits" }, { $inc: { count: 1 } }). The job runs with write concern w:1 against a three-node replica set, and a failover occurs immediately after the primary acknowledges a write. The developer reports that a counter increment appears to be lost. Which statement best explains this outcome?
Choose an answer to begin — your selection is scored in the full session.
25 questions · instant feedback and full explanations after every question.