51. In MongoDB, the shard key: Check all that apply:
题目选项
- A.determines how data is partitioned across shards.
- B.allows the mongos to route requests to the correct shards.
- C.provides an authentication mechanism for shard clusters.
答案置信度:高
正确答案:A、B
解析语言:中文
分片键首先定义文档在分片间的划分方式(范围或哈希),并决定 mongos 依据 chunk 元数据把读写请求路由到哪些分片。C 属于典型混淆项:分片键与认证无关,集群认证由 SCRAM、x.509 等机制提供。