Home » 
        MCQs » 
        MongoDB MCQs
    
        
    MongoDB achieves replication by the use of ___
    
    
    
    37. MongoDB achieves replication by the use of ___.
    
        - Replica set
 
        - Data set
 
        - $first
 
        - All of the mentioned above
 
    
    Answer: A) Replica set
    Explanation:
    Replication in MongoDB is accomplished through the use of replica sets. A replica set is a collection of mongod  instances that are all hosting the same data set at the same time. In a replica, one node is designated as the primary node, and it is responsible for receiving all write operations.