C100DBA Application Administration Practice Question
An application needs to perform a series of reads and writes across multiple documents in two collections atomically. The deployment is a replica set running MongoDB 4.2. Which feature should the application use?
⚠ Common exam trap
The trap here is assuming that change streams or capped collections can provide atomicity, when they are designed for streaming or fixed-size storage, not for multi-document transactions.
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
✓
Multi-document transactions
Multi-document transactions in MongoDB 4.2 on replica sets provide ACID guarantees across multiple documents and collections. They are the only feature listed that ensures a series of reads and writes across two collections are applied atomically. The other options are storage or streaming features that do not offer transactional atomicity.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Multi-document transactions
Why this is correct
Multi-document transactions allow atomic reads and writes across multiple documents, collections, and databases in a replica set. They provide ACID guarantees for the entire transaction. Since the deployment is a replica set running MongoDB 4.2, multi-document transactions are supported and are the correct feature to achieve atomicity across multiple documents in two collections.
- ✗
Change streams with resume tokens
Why it's wrong here
Change streams allow applications to listen for real-time changes to data, but they do not provide atomicity for writes. They are a notification mechanism, not a transactional one. Using change streams would not ensure that a series of reads and writes across two collections are applied atomically; they only report changes after they occur.
- ✗
Capped collections with tailable cursors
Why it's wrong here
Capped collections are fixed-size collections that support high-throughput writes and tailable cursors for streaming reads. They do not provide atomicity across multiple documents or collections. Tailable cursors are for reading new data as it arrives, not for transactional updates. This feature is unrelated to the requirement for atomic multi-document operations.
- ✗
GridFS for storing large documents
Why it's wrong here
GridFS is a specification for storing and retrieving files that exceed the BSON document size limit. It splits files into chunks and stores them in two collections. GridFS does not provide multi-document atomicity for arbitrary application operations; it is a storage mechanism for large files. It is not relevant to the requirement for atomic transactions across collections.
About these practice questions
Courseiva writes every C100DBA question from scratch — 222 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 →
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 C100DBA 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 C100DBA exam.