Quick Answer
Config servers store all metadata for a sharded cluster: which collections are sharded, the shard key, chunk ranges, and which chunk lives on which shard. Run as a replica set (CSRS). The mongos routers cache this metadata. If config servers are unavailable, mongos can still serve reads from cache but no new chunk migrations or shard key changes can occur. Config servers must be highly available.
Answer
Config servers store cluster metadata. If the config server cluster fails, routing and chunk management halt.
S
SugharaIQ Editorial Team
Verified Answer
This answer has been peer-reviewed by industry experts holding senior engineering roles to ensure technical accuracy and relevance for modern interview standards.
MongoDB interview questions and answers for beginner, junior, mid-level, senior, and expert developers. Perfect for freshers and experienced candidates.