thinQmaster Virtual testing partner Adaptive practice exams that find your weak spots and drill them. Every answer explained. From $69
Enroll

thinQmaster

Find your exam

Five questions free, before you decide.

Step 1 · choose a vendor

In one of our camps? Your practice exams come with the tuition — they are on your study page already.

Data & Analytics · Foundational

MongoDB

A popular document database that stores BSON documents in collections and supports rich queries, indexes, aggregation and horizontal sharding.

Definition

MongoDB supports secondary, compound, multikey, text, geospatial and wildcard indexes, multi-document ACID transactions (since 4.0) and change streams. MongoDB Atlas is its managed cloud service and adds Atlas Search and Vector Search.

Example

db.orders.find({ status: 'shipped', total: { $gt: 100 } }).sort({ total: -1 })

Exam tip

Remember the mapping: database -> collection -> document, compared with database -> table -> row.

Related terms