nerdexam
MongoDB

C100DBA · Question #13

Which of the following does MongoDB use to provide High Scalability?

The correct answer is D. Sharding. Sharding (D) is MongoDB's mechanism for horizontal scalability - it distributes data across multiple servers (shards) by partitioning it using a shard key, allowing the database to handle massive datasets and high throughput that exceed a single machine's capacity. A…

Sharding

Question

Which of the following does MongoDB use to provide High Scalability?

Options

  • AReplication
  • BWrite Concern
  • CIndexing
  • DSharding

How the community answered

(29 responses)
  • A
    3% (1)
  • B
    3% (1)
  • D
    93% (27)

Explanation

Sharding (D) is MongoDB's mechanism for horizontal scalability - it distributes data across multiple servers (shards) by partitioning it using a shard key, allowing the database to handle massive datasets and high throughput that exceed a single machine's capacity.

  • A. Replication is wrong here because replication copies data across multiple nodes for high availability and fault tolerance, not scalability. It helps with read distribution but doesn't scale write capacity or storage horizontally.
  • B. Write Concern is wrong because it controls the acknowledgment level for write operations (how many nodes must confirm a write), which is about durability and consistency, not scalability.
  • C. Indexing is wrong because indexes improve query performance on a single node by reducing the amount of data scanned - this is optimization, not scalability.

Memory tip: Think Sharding = Scaling. Both start with "S," and sharding splits your data across servers just like scaling spreads your load. Replication = Redundancy (the other "R" word).

Topics

#sharding#horizontal scaling#high scalability

Community Discussion

No community discussion yet for this question.

Full C100DBA Practice