MongoDB Exam Questions / Learn / Paper 4 / Question 194 MongoDB DEV · Question 194 · Single choice
Aggregation: Question 5 Which of the following Aggregation queries will only return documents where "a" is greater than 5?
Choose the best answer: Answer options A. B. { $match: { a: { $gt: 5 } } }
C. D. E. Answer confidence: High
Correct answer: B Explanation language: Chinese 要只返回 a > 5 的文档只能用 $match 过滤。$limit 只限制条数、$project 只管字段、$sort 只排序、$count 只统计数量,都不过滤文档。
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