What is replica set in mongodb? Explain



What is replica set in mongodb? Explain..

Answer / Priyank Kaushik

A replica set is a group of MongoDB instances that maintain identical data sets to increase availability and redundancy. Each member has the same data and automatically votes to elect a primary node responsible for handling write operations. In case of failure or maintenance, another member can be elected as the primary.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More MongoDB Interview Questions

Do the mongodb databases have schema?

1 Answers  


What do you understand by nosql databases? Is mongodb a nosql database? Explain.

1 Answers  


What is mongodb named after?

1 Answers  


How do you see the connections used by mongos?

1 Answers  


Is mongodb a nosql database? Explain.

1 Answers  


How we can create an index in mongodb?

1 Answers  


Whether use to safe backup log feature in mongodb?

1 Answers  


Is mongodb easy to learn?

1 Answers  


Why mongodb data files so large (in size)?

1 Answers  


Is there any need to create database command in mongodb?

1 Answers  


When using replication, can some members use journaling and others not?

1 Answers  


What is mongod command?

1 Answers  


Categories