Here are all the actual test exam dumps for IT exams. Most people prepare for the actual exams with our test dumps to pass their exams. So it's critical to choose and actual test pdf to succeed.

Exam C100DEV Topic 1 Question 70 Discussion

Actual exam question for MongoDB's C100DEV exam
Question #: 70
Topic #: 1
Given a movies collection where each document has the following structure: { _id: ObjectId("573a1390f29313caabcd60e4"), genres: [ 'Short', 'Comedy', 'Drama' ], title: 'The Immigrant', year: 1917, imdb: { rating: 7.8, votes: 4680, id: 8133 }, countries: [ 'USA' ] } This time we are using the Aggregation Framework to search our database. Which of the following queries will find all movies with a rating greater than 8?

Suggested Answer: C Vote an answer

db.movies.aggregate([ { $match: { imdb.rating: { $gt: 8 } } } ]) This is incorrect because we need to use quotes in this case. db.movies.aggregate([ { $match: { "imdb.rating": { $gte: 8 } } } ]) This is incorrect because $gte also checks for equality. https://docs.mongodb.com/manual/reference/method/db.collection.aggregate/

by Aaron at Oct 09, 2025, 06:09 AM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.