Courseiva

C100DEV Drivers, Tools, Transactions, and Search Practice Question

A developer is using the MongoDB Node.js driver to perform a multi-document transaction that includes a read operation on a collection with a read concern of 'snapshot'. What is the effect of using 'snapshot' read concern in this transaction?

⚠ Common exam trap

Test-takers frequently confuse snapshot read concern with read preference or automatic retry, when it actually provides a consistent data snapshot within the transaction.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

It provides a consistent snapshot of the data at the start of the transaction, ensuring reads see the same version of documents throughout the transaction.

In a multi-document transaction, using snapshot read concern guarantees that all reads within the transaction see a consistent snapshot of the data as of the transaction start. This prevents anomalies such as non-repeatable reads and ensures that the transaction operates on a stable view of the data, which is critical for maintaining integrity.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✓

    It provides a consistent snapshot of the data at the start of the transaction, ensuring reads see the same version of documents throughout the transaction.

    Why this is correct

    The snapshot read concern ensures that all reads within the transaction see a consistent version of the data as of the transaction start time. This prevents non-repeatable reads and provides isolation. It is the recommended read concern for multi-document transactions to avoid inconsistencies.

  • ✗

    It allows reads to see uncommitted changes from other transactions, improving performance.

    Why it's wrong here

    Snapshot read concern does not allow dirty reads. It provides isolation from uncommitted changes. Allowing reads of uncommitted data would violate isolation and is not how snapshot works. The snapshot read concern actually prevents such anomalies.

  • ✗

    It ensures that reads are distributed across secondary nodes for load balancing.

    Why it's wrong here

    Snapshot read concern does not control which nodes are read from. In a transaction, reads are typically served from the primary. Read preference can direct reads to secondaries outside transactions, but snapshot read concern is about consistency, not load balancing.

  • ✗

    It automatically retries reads if a transient error occurs, without failing the transaction.

    Why it's wrong here

    Snapshot read concern does not include automatic retry logic. Transient errors still cause the transaction to fail and must be handled by the application. The read concern only affects the consistency guarantee, not error handling or retry behavior.

About these practice questions

Courseiva writes every C100DEV question from scratch — 259 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official MongoDB exam blueprint

This C100DEV practice question is part of Courseiva's free MongoDB certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the C100DEV exam.