MongoDB Exam Questions / Learn / Paper 2 / Question 116 MongoDB DEV · Question 116 · Multiple choice
In a sharded cluster, which of the following require unique values?
Check all that apply: Answer options A. The index used as the Shard Key
B. C. Answer confidence: High
Correct answer: C Explanation language: Chinese 分片集群中 _id 的默认索引必须唯一(_id 不是分片键时,唯一性只在各分片内部保证),所以选 C。A 错:作为分片键的那个索引本身不要求唯一,只有显式声明 unique 才是唯一索引;B 错:普通单字段索引可以是普通索引,也可以带 unique/sparse/partial 等不同选项,并非必须唯一。
Start learning
Papers containing this question This question appears in 3 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.
Questions come from this project's existing bank. Answers and Chinese explanations are AI-generated. Data checks cover field formats, answer-to-option mapping, and answer consistency across duplicate questions. Confidence is not official endorsement or a correctness guarantee. Check the MongoDB documentation for your version.
Independent study resource; not affiliated with MongoDB. MongoDB documentation