Answers are AI-generated. Review them carefully with the confidence label.
MongoDB DBA · Question 411 · Single choice
In order to route requests to the correct shards, mongos must know where each of the chunks reside in the sharded cluster.
mongos gets this chunk metadata from:
Choose the best answer:
Answer options
A.
the config servers
B.
the mongod.log file
C.
the journal
D.
the shards
E.
another mongos process
Answer confidence: High
Correct answer: A
Explanation language: Chinese
每个 chunk 的范围及其所在分片记录在 config server 的 config 数据库中,mongos 启动与运行期间从 config server 读取并缓存这些元数据来完成路由。日志、journal 不参与路由,分片自身也不知道其它分片的数据分布,另一个 mongos 也只是同样从 config server 获取信息。
This question appears in 2 bank records. Public pages combine identical prompts and options. Selected questions display the highest-confidence record; the others show a short preview. Paper-based learning preserves each record's answer, explanation, and confidence.