MongoDB Exam Questions / Learn / Paper 17 / Question 492 MongoDB DBA · Question 492 · Multiple choice
9. Which of the following are true for MongoDB's compound indexes?
Check all that apply: Answer options A. The field order in the compound index is not important.
B. Support queries that match on the postfix of the index fields.
C. Support queries that match on the prefix of the index fields.
Answer confidence: High
Correct answer: C Explanation language: Chinese 复合索引遵循最左前缀原则,查询用到索引的前缀字段(如 {a} 或 {a,b})才能被索引支持,所以 A 正确。B 错:字段顺序决定索引能支持哪些查询模式,非常重要;C 错:跳过前导字段、只用后缀字段(例如只按第二个字段查)无法使用该索引,索引无法“从中间”开始扫描。
Start learning
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.
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