MongoDB Exam Questions / Learn / Paper 5 / Question 234 MongoDB DBA · Question 234 · Multiple choice
12. Which of the following operations may be faster after adding an index?
Check all that apply: Answer options A. db.collection.deleteOne()
B. C. db.collection.insertOne()
Answer confidence: High
Correct answer: B Explanation language: Chinese 索引让查询只扫描命中的索引键并直接定位文档,因此 db.collection.find()(尤其带等值/范围条件的查询)可能变快。B、C 都是写操作:插入和删除都必须额外维护索引条目,只会变慢不会变快。
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