nerdexam
MongoDB

C100DBA · Question #95

Mongodb does provide high availability via which option?

The correct answer is A. Replication. MongoDB achieves high availability through Replication (A), specifically via Replica Sets - a group of MongoDB instances that maintain the same dataset, where a primary node handles writes and secondary nodes automatically take over (failover) if the primary goes down, ensuring c

Replication

Question

Mongodb does provide high availability via which option?

Options

  • AReplication
  • BIndexing
  • CSharding
  • DJournaling

How the community answered

(41 responses)
  • A
    93% (38)
  • B
    5% (2)
  • D
    2% (1)

Explanation

MongoDB achieves high availability through Replication (A), specifically via Replica Sets - a group of MongoDB instances that maintain the same dataset, where a primary node handles writes and secondary nodes automatically take over (failover) if the primary goes down, ensuring continuous availability.

  • B (Indexing) improves query performance and lookup speed, not availability - the database can still go down even with perfect indexes.
  • C (Sharding) addresses scalability by distributing data across multiple servers to handle large datasets and high throughput, not redundancy or failover.
  • D (Journaling) provides durability by logging write operations so data can be recovered after a crash - it helps with data integrity, not uptime across node failures.

Memory tip: Think "Replication = Redundancy = Reliability" - having multiple copies of your data means one node can fail without taking the service down.

Topics

#high availability#replication#replica set

Community Discussion

No community discussion yet for this question.

Full C100DBA Practice