C100DEV Drivers, Tools, Transactions, and Search Practice Question
Exhibit
Error: Transaction 1 has been aborted on node 1. (TransientTransactionError)
Refer to the exhibit. What is the most appropriate next step for an application encountering this error?
⚠ Common exam trap
Candidates often attempt to fix the error by modifying specific operations within the transaction, rather than following the mandatory protocol of aborting and restarting the entire 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
✓
Abort the transaction and retry the entire operation.
The 'TransientTransactionError' label indicates that the failure occurred due to a temporary issue, such as a network hiccup or a transient server conflict. In accordance with MongoDB best practices, the application must catch this error, perform a rollback if necessary, and then retry the entire transaction from the beginning. This mechanism ensures that the application state remains consistent despite the intermittent nature of the underlying failure.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Display an error message to the user and stop.
Why it's wrong here
Giving up immediately provides a poor user experience. Since the error is explicitly labeled as transient, it is intended to be retried. By simply stopping, the application fails to handle standard distributed system behavior, which degrades reliability and forces users to manually trigger the operation again.
- ✗
Retry the individual failed operation only.
Why it's wrong here
In a transaction, you cannot retry a single operation. You must re-run the entire transaction logic from the start to ensure data atomicity and consistency. Retrying just one operation inside a multi-document transaction is not a supported pattern and would likely lead to incomplete or invalid data state.
- ✓
Abort the transaction and retry the entire operation.
Why this is correct
When a TransientTransactionError occurs, the correct procedure is to abort the failed transaction and execute the entire sequence of operations again. This guarantees that all changes are applied atomically, adhering to the ACID properties of the transaction and ensuring that the final state is correct and consistent.
- ✗
Ignore the error and continue with the next request.
Why it's wrong here
Ignoring errors in a transaction is catastrophic, as it leads to partial data updates or corrupted application state. If an operation fails, the entire transaction block must be handled, and proceeding without ensuring the previous transaction finished correctly will result in unpredictable data integrity issues across the cluster.
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 →
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.