Which statement best describes a MongoDB document?
Mongodb Associate Overview Document Model
Question · Easy
What is true about BSON compared with plain JSON?
Chapter 1: Document Model & MongoDB Architecture
1.1 Document Model Fundamentals & BSON Data Types
Study guide
In MongoDB, what is a collection?
Question · Medium
Tech Exam Prep Podcast
Listen on Spotify
Podcast
A team stores product documents where only some documents include a `seasonalDiscount` field. What does this illustrate?
Which method inserts exactly one new document into a collection?
Mongodb Associate Crud
What does setting `ordered: false` on `insertMany()` allow MongoDB to do?
1.2 Databases, Collections & Schema Flexibility
What happens if you insert a document without specifying an `_id` value?
What does the filter `{ status: "open", qty: { $lt: 30 } }` match?
What does the projection `{ item: 1, status: 1, _id: 0 }` return?
Which filter matches documents where `dept` is either `sales` or `support`?
1.3 Distributed Architecture Fundamentals: Replica Sets & Sharded Clusters
Which query correctly returns the newest 5 posts first?
What does the `$set` update operator do?
Which update operator increments a numeric field by a specified amount?
What is the key behavior of `replaceOne()`?
Chapter 2: CRUD Operations: Create & Read
2.1 Document Insertion Operations
If `updateOne()` is called with `upsert: true` and no document matches the filter, what happens?
What does `deleteMany({ archived: true })` do?
Which filter matches documents where the `tags` array contains the value `red`?
You need to match documents where one embedded document inside the `results` array has both `score >= 80` and `passed: true`. Which filter is correct?
Question · Hard
2.2 Query Selectors & Filter Operators
In an update such as `{ $set: { "grades.$": 100 } }`, what does the positional `$` operator refer to?
Which update appends multiple values to an existing array field in one operation?
Which operator adds a value to an array only if that value is not already present?
Which update removes all `deprecated` values from an array field named `tags`?
2.3 Array Queries & Element Evaluation
Which aggregation stage is commonly used to filter documents early in a pipeline?
Which aggregation stage is used to include selected fields and reshape the output document?
Inside a `$group` stage, which accumulator counts the number of documents in each group?
Which accumulator computes the average order amount for each customer inside a `$group` stage?
2.4 Projections, Cursor Methods & Collation
Which aggregation sequence correctly returns documents 21 through 30 of a result set after sorting by `createdAt` descending?
Which filter matches documents where the nested field `address.city` is equal to `Austin`?
What does the `$unset` operator do?
During an upsert, which operator assigns a field only when MongoDB inserts a new document and not when it updates an existing one?
Chapter 3: CRUD Operations: Update & Delete
3.1 Field Update Operators
Which index does MongoDB create automatically for every collection?
Mongodb Associate Indexes
Which query pattern is best aligned with the compound index `{ category: 1, price: -1 }`?
What kind of index is created when you index a field that contains array values?
What must be true for a query to be covered by an index?
3.2 Array Update Operators & Positional Modifiers
In `explain()` output, which stage most directly indicates that MongoDB is scanning an index?
What is a TTL index used for?
Which index type supports text search over string content in a collection?
Which index type should you use to query GeoJSON location data on a sphere?
Loading more…