FlashKeepers

Databases · College · College and University

MongoDB Fundamentals

Documents and collections, BSON, CRUD operators, aggregation pipeline, indexes, replica sets and sharding.

About this set

40 basic cards for College Databases. It opens with "What is a document in MongoDB?" and "What is a collection in MongoDB?". Study it alongside the other College sets below.

40 cards · basic cards · AI-written, checked twice. Edit anything.

Study this set free Look inside first Get FlashKeepers for iPhone

Opens in your browser, no account. Get the iPhone and iPad app · Android app

What is a document in MongoDB?
Show answerA record or JSON-like object that stores data.
What is a collection in MongoDB?
Show answerA group or set of documents stored together.
What field uniquely identifies every MongoDB document?
Show answerThe _id field.
What is the default data format for MongoDB documents?
Show answerBSON (Binary JSON).
Can a MongoDB document contain nested documents?
Show answerYes, documents can contain other documents as values.
What is the maximum size of a single MongoDB document?
Show answer16 megabytes.
What is BSON in MongoDB?
Show answerA binary-encoded serialization format for JSON-like documents.
Name three data types supported by BSON.
Show answerDate, ObjectId, Binary (other examples: Int32, Int64, Double, String, Array, Document, Boolean, Null).
What key advantage does BSON have over JSON?
Show answerBSON supports more data types and is more efficient for storage and transmission.
Does BSON support array data types?
Show answerYes, BSON has native support for arrays.
What does CRUD stand for?
Show answerCreate, Read, Update, Delete.
What MongoDB method creates a new document?
Show answerinsertOne or insertMany.
What MongoDB method retrieves documents from a collection?
Show answerfind or findOne.
What MongoDB methods modify existing documents?
Show answerupdateOne, updateMany, or replaceOne.
What MongoDB methods remove documents from a collection?
Show answerdeleteOne or deleteMany.

25 more cards in the app

Study this set free