How does sharding work with replication?



How does sharding work with replication?..

Answer / Arya Kumari

Sharding in MongoDB works alongside replication. Each shard in a sharded cluster is itself a replica set, ensuring high availability and data durability. Configurations and queries are balanced across multiple shards to distribute the load.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More MongoDB Interview Questions

How much is mongodb enterprise cost?

1 Answers  


How many indexes does mongodb create by default for a new collection?

1 Answers  


How can you take database backup in mongodb?

1 Answers  


What is the basic syntax to use index in mongodb?

1 Answers  


How to update operations immediately sync to disk in mongodb?

1 Answers  


What should all points be taken into consideration while creating a schema in mongodb?

1 Answers  


How to add new field to existing document in mongodb using java?

1 Answers  


What is a ‘namespace’?

1 Answers  


How do I drop a collection in mongodb? Write it's syntax

1 Answers  


How do you delete a document from a collection?

1 Answers  


Does mongodb database have tables for storing records?

1 Answers  


If you remove an object attribute, is it deleted from the database?

1 Answers  


Categories