NANDHOO
.
Learning Paths
Dashboard
Sign In
Home
Dashboard
MongoDB Database Engineering
The Aggregation Framework (Part 1)
Quiz
Chapter Quiz: The Aggregation Framework (Part 1)
Mastery Assessment: Aggregation Basics
Complete this assessment with 100% score to master this chapter.
01
Which aggregation stage is used to deconstruct an array field into individual documents?
$match
$group
$unwind
$project
02
What is the memory limit for an individual aggregation stage before you must use `allowDiskUse: true`?
16MB
64MB
100MB
1GB
03
Which accumulator would you use in a `$group` stage to collect unique values into an array?
$push
$addToSet
$sum
$mergeObjects
04
How does the aggregation optimizer handle `$match` and `$sort` stages?
It always runs them in the order they are written.
It attempts to push `$match` before `$sort` and as early as possible to leverage indexes and reduce data volume.
It combines them into a single stage.
It ignores them if they are too complex.
Submit Answers
Back to Lesson
Next Chapter