C100DBA Philosophy and Features Practice Question
A healthcare startup is evaluating MongoDB for a patient management system. The CTO asks how MongoDB ensures data durability and consistency across multiple servers without manual intervention. Which feature best describes MongoDB's built-in mechanism for automatic failover and data redundancy?
⚠ Common exam trap
Watch out — candidates often confuse sharding with replica sets, but sharding is for scaling, not for automatic failover or redundancy.
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
✓
Replica sets
Replica sets are MongoDB's foundation for high availability, providing automatic failover and data redundancy across multiple nodes. When the primary becomes unavailable, the remaining nodes elect a new primary, allowing the system to continue operating. This built-in mechanism requires no manual intervention and is essential for production deployments that demand continuous uptime and data durability.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Replica sets
Why this is correct
Replica sets provide automatic failover and data redundancy by maintaining multiple copies of data across nodes. If the primary node fails, an election automatically promotes a secondary to primary, ensuring continuous availability. This built-in mechanism aligns with MongoDB's philosophy of high availability and durability without manual intervention, making it the correct choice for the scenario.
- ✗
Write concern
Why it's wrong here
Write concern defines the level of acknowledgment required for a write operation, such as waiting for a majority of replica set members to acknowledge. While it affects durability, it is not a mechanism for automatic failover or redundancy by itself. Write concern works in conjunction with replica sets, but it does not provide the automatic failover capability.
- ✗
Journaling
Why it's wrong here
Journaling ensures that writes are persisted to an on-disk journal before being applied to the data files, which helps with crash recovery on a single node. However, it does not provide redundancy across multiple servers or automatic failover. Journaling is a durability feature at the storage engine level, not a high-availability solution.
- ✗
Sharding
Why it's wrong here
Sharding distributes data across multiple servers to scale horizontally, but it does not provide automatic failover or redundancy. If a shard goes down, data on that shard may be unavailable unless each shard is itself a replica set. Sharding addresses scalability, not high availability, so it does not directly ensure data durability across servers.
About these practice questions
One of 222 original C100DBA practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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.