MongoDB DBA · Question 51 · Multiple choice

51. In MongoDB, the shard key: Check all that apply:

Answer options

  1. A.
    determines how data is partitioned across shards.
  2. B.
    allows the mongos to route requests to the correct shards.
  3. C.
    provides an authentication mechanism for shard clusters.

Answer confidence: High

Correct answer: A, B

Explanation language: Chinese

分片键首先定义文档在分片间的划分方式(范围或哈希),并决定 mongos 依据 chunk 元数据把读写请求路由到哪些分片。C 属于典型混淆项:分片键与认证无关,集群认证由 SCRAM、x.509 等机制提供。

Papers containing this question

This question appears in 4 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.

AUTHOR · PROJECTS · OPEN SOURCE

Author & MongoDB projects

Building data platforms, MongoDB migration and sync tools, and cloud operations products.

Contact the author for any MongoDB needs.

Contact the author ↗mlhp123@outlook.com

Support the author

If this question bank helps you, optional donations are welcome.

Scan with Alipay to support the authorOpen full-size donation image ↗