Match the tool or feature to the scenario: mongodump/mongorestore for binary backups, mongosh for interactive and scripted administration, sessions for causal consistency, and transactions for multi-document atomicity. The key skill is reading the exhibit or requirement and choosing the correct next step, not just naming the command.
Start practicing
Drivers, Tools, Transactions, and Search — choose a session length
Free · No account required
Domain overview
This domain covers MongoDB's client tooling and operational features: mongosh, Database Tools like mongodump and mongorestore, sessions and transactions, and Atlas Search. Questions present scenarios—an error exhibit, a backup requirement, or a session behavior—and ask you to pick the correct tool, command, or next step rather than recite definitions.
Exam objectives
Selecting mongodump and mongorestore for binary BSON backups versus mongosh for interactive queries
Explaining causally consistent sessions and causal ordering of reads and writes within a session
Using multi-document transactions with startTransaction, commitTransaction, and abortTransaction in sessions
Choosing mongosh for JavaScript-based administrative scripting and Atlas Search for full-text queries
Confusing mongodump/mongorestore binary backups with mongoexport/mongoexport JSON or CSV exports, which lose BSON types and index metadata
Assuming every read in a causally consistent session sees the latest write across all clients, rather than only causally related operations
Treating transactions as available on standalone servers or forgetting that collections must already exist before use
Click any question to see the full explanation and answer options, or start a focused practice session above.
Refer to the exhibit. What is the impact of setting 'dynamic' to true in this Atlas Search index definition?
2When using MongoDB Compass to analyze query performance, which tool is most effectively used to view the explain plan output in a visual format?
3Which of the following describes the behavior of a 'write concern' in a MongoDB transaction?
4Refer to the exhibit. What is the most appropriate next step for an application encountering this error?
5When using the MongoDB C#/.NET driver, which object is essential for managing the scope and lifecycle of a multi-document transaction?
6Which of the following best describes the purpose of the MongoDB 'mongosh' shell?
7What is the primary role of the 'mongos' process in a sharded cluster?
8Which of the following describes the behavior of a 'causally consistent' session in MongoDB?
9An application uses a multi-document transaction to update inventory and process an order. What happens if the transaction exceeds the default transaction lifetime limit of 60 seconds?
10Which tool is primarily recommended for performing binary backups and restores of a MongoDB deployment?
11Refer to the exhibit. An application receives this error during a multi-document transaction. What is the correct approach for the application developer?
12Which MongoDB tool should be used to perform a point-in-time backup of a MongoDB cluster while the database is running?
13What is the primary purpose of the 'causal consistency' feature provided by MongoDB sessions?
14In the context of the MongoDB Node.js driver, what happens if an application fails to provide a write concern?
15Which TWO of the following are common use cases for using the 'mongosh' shell in a production environment?
16What is the primary function of the MongoDB connection pool in a driver?
17A developer uses the MongoDB Node.js driver to run a multi-document transaction that updates an accounts collection and inserts a ledger entry. The transaction commits successfully, but a second application instance immediately reads the ledger entry through a session that is not causally linked to the transaction session and receives stale data. The developer wants the second instance to observe the transaction's committed writes without changing the transaction itself. Which approach should the developer use?
18A developer needs to run a multi-document transaction using the MongoDB Node.js driver. The transaction must read from the 'orders' collection and write to the 'inventory' collection. Which sequence of operations correctly implements the transaction?
19A developer is using the MongoDB Node.js driver to perform a multi-document transaction that updates multiple collections. During testing, the transaction occasionally fails with a TransientTransactionError. What is the most appropriate way to handle this error?
20A developer runs `mongosh` against a replica set and wants to inspect the current database's collections before writing any queries. Which command should be executed?
21A developer wants to query MongoDB Atlas Search for documents where the 'description' field contains the phrase 'wireless headphones'. Which Atlas Search operator should be used to achieve this?
22A developer is writing a Node.js application that must execute a series of document updates across two collections atomically. The application uses the MongoDB Node.js driver and needs to ensure that if any operation fails, all changes are rolled back. Which driver API should the developer use to achieve this?
23An application using the MongoDB Node.js driver must ensure that a multi-document transaction is retried correctly when it encounters a transient error. Which two practices are required? (Choose two.)
24A 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?
25A developer is using mongosh to connect to a MongoDB Atlas cluster and needs to run several administrative commands. The developer wants to ensure that the connection uses the correct authentication database and that all commands are executed with the appropriate read preference. Which mongosh command-line option should be used to specify the authentication database?
26A developer is debugging a multi-document transaction in the MongoDB Node.js driver. The transaction updates a document in the `orders` collection and inserts into `audit`. The commit fails with a `WriteConflict` error that does not carry the `TransientTransactionError` label. What is the most appropriate action?
27A developer wants to run ad-hoc queries against a MongoDB Atlas cluster from a terminal, including commands like db.collection.find() and db.adminCommand({listDatabases: 1}). The developer has the connection string and wants the least additional setup. Which tool should be used?
28A developer needs to create an Atlas Search index that supports autocomplete on a `name` field. Which Atlas Search index definition is required?
29A developer is building a Node.js application that connects to a MongoDB replica set. The application must ensure that every read operation sees a consistent snapshot of the data, even if other clients are concurrently modifying documents. Which read concern level should be used for these reads?
30A developer is configuring an Atlas Search index on a collection of product documents. The index definition uses a dynamic mapping. Which two statements accurately describe the behavior or configuration of Atlas Search indexes in this scenario? (Choose two.)
31A developer needs to perform a point-in-time backup of a MongoDB replica set while the database remains online and serving reads and writes. Which MongoDB Database Tool is designed for this task?
32A developer needs to quickly inspect the contents of a collection and run ad-hoc queries against a MongoDB Atlas cluster without installing any additional software. Which tool should be used?
33A developer needs to load a large JSON file into a collection named 'inventory' in the 'retail' database on a MongoDB server running on localhost. The file contains one JSON document per line. Which command-line tool should be used?
34A developer is using the MongoDB Node.js driver to perform a multi-document transaction that updates a document in the 'orders' collection and inserts a record into the 'audit' collection. After starting the session and transaction, the update succeeds, but the insert fails due to a duplicate key error. What should the developer do to handle this error and ensure data consistency?
35A developer is building an application that uses the MongoDB Node.js driver to perform a multi-document transaction. The transaction includes an update to an 'inventory' collection and an insert into an 'orders' collection. During testing, the developer notices that occasionally the transaction aborts with a TransientTransactionError. What is the most appropriate way to handle this error in the application code?
36A developer needs to import a large JSON file into a MongoDB collection named 'products' in the 'catalog' database. The file contains one JSON document per line (JSON Lines format). Which MongoDB tool should be used to accomplish this efficiently?
37A developer needs to quickly inspect the contents of a MongoDB collection and run ad-hoc queries during development. The developer prefers a command-line interface that supports JavaScript syntax and allows direct interaction with the database. Which MongoDB tool should be used?
38A developer is using the MongoDB Node.js driver to perform a multi-document transaction that includes a read operation followed by a write operation. The developer wants to ensure that the read sees a consistent snapshot of the data and that the write is atomic with the read. Which of the following read concerns should be used for the read operation within the transaction?
39A developer needs to create a backup of a MongoDB deployment that includes all databases and their indexes, and then restore it to a different server. The backup should be in a binary format that preserves BSON data types. Which tool should be used to create the backup?
Match the tool or feature to the scenario: mongodump/mongorestore for binary backups, mongosh for interactive and scripted administration, sessions for causal consistency, and transactions for multi-document atomicity. The key skill is reading the exhibit or requirement and choosing the correct next step, not just naming the command.
The Courseiva C100DEV question bank contains 39 questions in the Drivers, Tools, Transactions, and Search domain. Click any question to see the full explanation and answer breakdown.
Start with a 10-question focused session to identify your baseline accuracy in this domain. Read every explanation — even for questions you answer correctly — to understand the reasoning. Once you score consistently above 80%, move to a 20–30 question session to confirm depth before moving to the next domain.
Yes — the session launcher on this page draws questions exclusively from the Drivers, Tools, Transactions, and Search domain. Choose 10, 20, 30, or 50 questions for a focused session, or click individual questions to review them one by one.
Save your results, see per-domain analytics, and get readiness scores — free, for every certification.
Sign Up FreeFree forever · Every certification included