MongoDB Exam Questions / Learn / Paper 3 / Question 127 MongoDB DBA · Question 127 · Multiple choice
11. Which of the following is/are true of single field indexes?
Check all that apply: Answer options A. Single field indexes can only index the top-level fields in documents.
B. Single field indexes can be sorted in ascending or in descending order.
C. Single field indexes cannot index embedded documents or nested fields.
Answer confidence: High
Correct answer: B Explanation language: Chinese 单字段索引既可用升序(1)也可用降序(-1)创建,查询的排序方向可以由索引正/反向扫描来满足,所以 B 正确。A、C 错:单字段索引可以建在嵌套字段或整个内嵌文档上,例如 {"address.city": 1},并不是只能索引顶层字段,也不是不能索引嵌套字段。
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