| Exam Code/Number: | C100DEVJoin the discussion |
| Exam Name: | MongoDB Certified Developer Associate Exam |
| Certification: | MongoDB |
| Question Number: | 253 |
| Publish Date: | Jun 12, 2026 |
|
Rating
100%
|
|
Suppose you have an accounts collection with the following document structure: { _id: ObjectId("61af47c6e29861661d063714"), account_id: 1010, type: 'investment', limit: 1000000 }, { _id: ObjectId("61af47c6e29861661d063715"), account_id: 4336, type: 'derivatives', limit: 100000 }, { _id: ObjectId("61af47c6e29861661d063716"), account_id: 4336, type: 'commodity', limit: 1000 } Which of the following documents would be modified by this update? db.accounts.updateMany( { "type": "investment" }, { "$set": { "limit": 2000000 } } )
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' ] } Which of the following queries will find all movies that do not contain the Comedy and Romance genres?
We have the following index in a movies collection: { title: 1, genres: 1 } We want to insert the following document: { "title": "The Immigrant", "year": 1917, "genres": [ "Short", "Comedy", "Drama" ] } Select proper index entries.
We have the following index in a movies collection: { title: 1, genres: 1 } We want to insert the following document: { "title": "The Immigrant", "year": 1917, "genres": [ "Short", "Comedy", "Drama" ] } How many index entries will be created?