MongoDB DBA · Question 532 · Multiple choice

52. Which of the following are true for MongoDB's concept of a chunk in a sharded cluster? Check all that apply:

Answer options

  1. A.
    A chunk is stored in multiple distinct shards for redundancy
  2. B.
    Sharding partitions data, each partition is called a chunk and represents a logical set of documents
  3. C.
    A chunk denotes a range of values with the total range of values covered by a shard key

Answer confidence: High

Correct answer: B, C

Explanation language: Chinese

chunk 是分片键取值空间上一段连续的区间,所有 chunk 合起来覆盖整个分片键取值范围(A 正确);分片把数据分区,每个分区叫一个 chunk,是一组逻辑文档(C 正确)。B 错:一个 chunk 只存放在一个分片上,数据冗余是靠分片内部的副本集实现的,不存在"同一 chunk 存多个分片"。

Papers containing this question

This question appears in 1 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 ↗