College MongoDB Questions:

I’m taking a Computer Science course and most of the MongoDB questions we get are always confusing!
I wanted to see if developers and academics here share the same concern. Here is a sample question to illustrate my point:

Which of the following is true about MongoDB? (Select one)
A. MongoDB supports foreign key constraints.
B. MongoDB uses JSON to represent document structure.
C. MongoDB supports developers to run multiple operations at the same time.
D. MongoDB is flexible not very slow.

My understanding: MongoDB uses BSON (Binary JSON) to represent document data and structure. MongoDB also supports multiple operations using Aggregate or Bulk. MongoDB is flexible and not very slow. So I see B, C, and D are all true!

Your feedback is highly appreciated.

Hi @Bash_Hweij,

This is the answer in my opinion.

A. False - MongoDB doesn’t support foreign key constraints by itself, it’s the client’s responsibility.
B. False - MongoDB uses BSON to represent document stucture which “is a bin­ary-en­coded seri­al­iz­a­tion of JSON-like doc­u­ments.” (see the bson spec)
C. True - MongoDB supports concurrent operations.
D. Unclear - MongoDB is very fast if used wisely

So I would select C.

Goodluck,
Rafael,

1 Like