MongoDB
C100DBA · Question #1
What does the following aggregate query perform?
Sign in or unlock C100DBA to reveal the answer and full explanation for question #1. The question stem and answer options stay visible for context.
MongoDB Fundamentals
Question
What does the following aggregate query perform?
Options
- AFetches the posts with likes between 100 and 200 and sets their _id as null
- BGroups the posts by number of likes (101, 102, 103.) by adding 1 every time
- CCalculates the number of posts with likes between 100 and 200
- DFetches the posts with likes between 100 and 200, sets the _id of the first document as null and
Unlock C100DBA to see the answer
You've previewed enough free C100DBA questions. Unlock C100DBA for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#aggregation pipeline#$match#$group#range query