hamburger menu
All Coursesall course arrow
adda247
reward-icon
adda247
    arrow
    arrow
    arrow
    In MongoDB, which feature is particularly useful for ensuring data availability and reliability in case of hardware failure or network issues?
    Question



    In MongoDB, which feature is particularly useful for ensuring data availability and reliability in case of hardware failure or network issues?

    A.

    Sharding

    B.

    Indexing

    C.

    Replication

    D.

    Aggregation

    E.

    Caching

    Correct option is C

    Replication in MongoDB ensures data availability and reliability by maintaining multiple copies of the same data across different servers in a replica set. If the primary server fails due to hardware or network issues, one of the secondary servers can automatically take over as the new primary, ensuring uninterrupted access to the data and high availability.
    Important Key Points:
    1. Replica Set: MongoDB's replication is implemented through replica sets, which consist of a primary node, secondary nodes, and an optional arbiter.
    2. Failover Mechanism: In case of a primary node failure, a secondary node is automatically elected as the new primary.
    3. Data Redundancy: Replication maintains multiple copies of data, ensuring fault tolerance and recovery options.
    Knowledge Booster:
    · Sharding: Used for horizontal scaling of large datasets across multiple servers, improving performance but not directly ensuring availability.
    · Indexing: Optimizes query performance by enabling faster data retrieval but does not provide fault tolerance.
    · Aggregation: Used for processing and analyzing data, enabling complex computations and transformations but unrelated to availability.
    · Caching: Enhances performance by storing frequently accessed data in memory, but it does not address hardware or network failures.

    Free Tests

    Free
    Must Attempt

    DSSSB G-II/ASO Full Mock Test 1

    languageIcon English
    • pdpQsnIcon200 Questions
    • pdpsheetsIcon200 Marks
    • timerIcon120 Mins
    languageIcon English
    Free
    Must Attempt

    DSSSB ASO PYP (Held on 18 Aug 2025 S1)

    languageIcon English
    • pdpQsnIcon200 Questions
    • pdpsheetsIcon200 Marks
    • timerIcon120 Mins
    languageIcon English
    Free
    Must Attempt

    General Awareness Subject Test 1

    languageIcon English
    • pdpQsnIcon20 Questions
    • pdpsheetsIcon20 Marks
    • timerIcon10 Mins
    languageIcon English
    test-prime-package

    Access ‘IBPS SO IT Officer’ Mock Tests with

    • 60000+ Mocks and Previous Year Papers
    • Unlimited Re-Attempts
    • Personalised Report Card
    • 500% Refund on Final Selection
    • Largest Community
    students-icon
    383k+ students have already unlocked exclusive benefits with Test Prime!
    Our Plans
    Monthsup-arrow