I have selected 1,3,5 in answers but still get wrong answers. can anyone help me which one is right options for replication?
What is MongoDB Replication? In simple terms, MongoDB replication is the process of creating a copy of the same data set in more than one MongoDB server. This can be achieved by using a Replica Set. A replica set is a group of MongoDB instances that maintain the same data set and pertain to any mongod process.
6. Which of the following true about mongoDB? Explanation: MongoDB is a cross-platform, document oriented database that provides, high performance, high availability, and easy scalability. 7.
Replication provides redundancy and increases data availability with multiple copies of data on different database servers. Replication protects a database from the loss of a single server. Replication also allows you to recover from hardware failure and service interruptions.
With MongoDB, replication is achieved through a replica set. Writer operations are sent to the primary server (node), which applies the operations across secondary servers, replicating the data.
Only 1st and 5th are true.
2) MongoDB replication is *a*synchronous.
3) For mongo shell, we need to do manual fail over.
4) MongoClient connection class default write concern is w=1 and j=0.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With