NANDHOO
.
Learning Paths
Dashboard
Sign In
Home
Dashboard
MongoDB Database Engineering
MongoDB CRUD Operations (Insertion & Querying)
Quiz
Chapter Quiz: MongoDB CRUD Operations (Insertion & Querying)
Mastery Assessment: CRUD Basics
Complete this assessment with 100% score to master this chapter.
01
Which operator would you use to find documents where a field value is greater than 100?
$eq
$gt
$in
$exists
02
How does the `$elemMatch` operator differ from standard dot notation when querying an array of sub-documents?
It is faster but less accurate.
It ensures that multiple criteria match the *same* element in the array.
It can only be used with numbers.
It automatically sorts the results.
03
In a projection, what is the effect of setting a field to 0?
It includes only that field.
It excludes that field from the results.
It sets the field value to zero in the database.
It returns an error.
04
Which of the following query patterns is most likely to cause a full collection scan (COLLSCAN) even if an index exists?
{ name: 'John' }
{ age: { $gt: 25 } }
{ description: /.*keyword.*/ }
{ status: { $in: ['A', 'B'] } }
Submit Answers
Back to Lesson
Next Chapter