Explain replica set?



Explain replica set?..

Answer / Sakshi Upadhyay

A replica set in MongoDB is a group of member nodes that maintain the same data. It provides high availability and data durability by ensuring that there are multiple copies of the data across different servers. A replica set has one primary node responsible for handling writes, while the secondary nodes are read-only.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More MongoDB Interview Questions

When was mongodb created?

1 Answers  


Why is mongodb?

1 Answers  


How do you see the locking status in mongo instances?

1 Answers  


Does mongodb have tables?

1 Answers  


Which language is used in mongodb?

1 Answers  


What is difference between mongod and mongodb?

1 Answers  


Does mongodb store data in memory?

1 Answers  


Should you start out with sharded or with a non-sharded mongodb environment?

1 Answers  


Why are data files so large?

1 Answers  


What is projection in mongodb?

1 Answers  


Does mongodb support primary-key, foreign-key relationship?

1 Answers  


What is a secondary or slave?

1 Answers  


Categories