Question 5/20
intermediate
Select one answer

What does the $match stage do in aggregation?

Groups documents by a field
Filters documents to pass only matching ones to the next stage
Joins two collections
Sorts documents

Premium Question

Upgrade to unlock this question and 300+ more interview prep MCQs.