- Why is MongoDB not chosen for a 32-bit system?
- In which format MongoDB represents document structure?
- Are null values permitted?
- On a high level, compare SQL databases and MongoDB.
- How does Scale-Out occur in MongoDB?
- Does MongoDB write to disk automatically or slowly?
- How to query MongoDB with %like%?
- How does MongoDB provide concurrency?
- “When you add more slaves to a replica set, both writes and reads become faster.” Is this claim correct or incorrect? Why is this so?
- What are the similarities and differences between sharding and replication in MongoDB?
- What is the difference between a secondary and a slave?
- What is the significance of a covered query?
- Define the Aggregation pipeline.
- When to use MongoDB?
- When to use - embeded or referenced relationship?
- Can you configure the cache size for WiredTiger?
- Define the application-level Encryption.
- What are 32-bit nuances?
- While creating Schema in MongoDB what are the points need to be taken in consideration?
- Does an update fsync to the disk immediately?
- What are some features of MongoDB?
- How can concurrency affect replica sets primary?
- Which are the two storage engines used by MongoDB?
- What will happen when you remove a document from database in MongoDB? Does MongoDB remove it from disk?
- Is it essential for MongoDB to have a ton of RAM?
- Is an object attribute deleted from the store as it is removed?
- Explain relationships in MongoDB?
- When do we use a namespace in MongoDB?
- How can applications access real-time data changes in MongoDB?
- How many indexes does MongoDB create by default for a new collection?
- Can you configure the cache size for MMAPv1?
- Define MapReduce.
- Describe oplog?
- Do the MongoDB databases have schema?
- Explain the situation when an index does not fit into RAM.
- Explain what is GridFS in MongoDB?
- What exactly do you mean by NoSQL databases? Is MongoDB a NoSQL database? Please elaborate.
- When and to what degree does data become multi-slice?
- Why use MongoDB?
- What will have to do if a shard is down or slow and you do a query?
- Why MongoDB is known as best NoSQL database?
- What type of data is stored by MongoDB?
- When should we embed one document within another in MongoDB?
- What are the data types in MongoDB?
- What are MongoDB’s data models?
- What is a Collection in MongoDB?
- In MongoDB, how are constraints managed?
- What is a Document in MongoDB?
- What is Splitting in MongoDB?
- What is sharding in MongoDB?
- What is the use of the dot notation in MongoDB?
- Why are MongoDB data files large in size?
- What is the use of the db command?
- Is MongoDB better than other SQL databases? If yes then how?
- Define Auditing.
- How does MongoDB do text search?
- Can journaling features be used to perform safe hot backups?
- What are the main distinctions between BSON documents in MongoDB and JSON documents in general?
- MongoDB is referred to as a schema-less database. Is this true? How can you make a schema in MongoDB?
- How does MongoDB handle transactions or locking?
- What is Vertical Scaling?
- What are Databases in MongoDB?
- In MongoDB, how can CRUD operations be performed?
- State the difference between find() and limit() method.
- To do safe backups what is the feature in MongoDB that you can use?
- What type of DBMS is MongoDB?
- Define Horizontal Scaling.
- Can one MongoDB operation lock more than one databases? If yes, how?
- What is upsert operation in MongoDB?
- Explain Single Field Indexing?
- Explain Compound Indexing?
- Explain the process of Sharding.
- How is Querying done in MongoDB?
- Define MongoDB Projection.
- What are the components of the Sharded cluster?
- Describe oplog.
- Explain the term “Indexing” in MongoDB?
- Is there an "upsert" option in the mongodb insert command?
- When is MultiKey Indexing used?
- When and how is Text Indexing used?
- What are the types of Indexes available in MongoDB?
- What are MongoDB Charts?
- What are the aggregate functions of MongoDB?
- How do we find array elements with multiple criteria?
- What are the pros and cons of normalizing data in a MongoDB database?
- Should I normalize my data before storing it in MongoDB?
- What do you mean by Transactions?
- Explain the concept of pipeline in the MongoDB aggregation framework.
- How do we control the MongoDB Performance?
- What is a Replica Set in MongoDB?
- What is the difference between the $all operator and the $in operator?
- Explain the concept of pipeline in the MongoDB aggregation framework.
- What is the Aggregation Framework in MongoDB?
- How MongoDB supports ACID transactions and locking functionalities?
- Assume there is a collection named users that looks like the one below. How can you get all houses in the “Rabia” neighborhood? [ { "_id" : ObjectId("5d011c94ee66e13d34c7c388"), "userName" : "kevin", "email" : "[email protected]", "password" : "affdsg342", "houses" : [ { "name" : "Big Villa", "neighborhood" : "Zew Ine" }, { "name" : "Small Villa", "neighborhood" : "Rabia" } ] }, { "_id" : ObjectId("5d011c94ee66e13d34c7c387"), "userName" : "sherif", "email" : "[email protected]", "password" : "67834783ujk", "houses" : [ { "name" : "New Mansion", "neighborhood" : "Nasr City" }, { "name" : "Old Villa", "neighborhood" : "Rabia" } ] } ]
- How can we sort the user-defined function? For example, x and y are integers, and how do we calculate “x-y”?
- What is the difference between the save and insert commands in MongoDB, and when do they act similarly?
- When a “moveChunk” fails, is it required to clean up partly moved docs?
- Assume there is a document with nested arrays that looks like the one below. How can you insert a “room” that has the name “Room 44” and size of “50” for a particular “house” that belongs to this user? { "_id": "682263", "userName" : "sherif", "email": "[email protected]", "password": "67834783ujk", "houses": [ { "_id": "2178123", "name": "New Mansion", "rooms": [ { "name": "4th bedroom", "size": "12" }, { "name": "kitchen", "size": "100" } ] } ] }
- A staple feature of relational database systems is the JOIN clause. What is the equivalent in MongoDB, and does it have any known limitations?
- Explain the Replication Architecture in MongoDB?
- Could you catch how the two queries are different? dealers.find({ "$and": [ { "length": { "$gt": 2000 } }, { "cars.weight": { "$gte": 800 } } ] }); and dealers.find({ "length": { "$gt": 2000 }, "cars.weight": { "$gte": 800 } });
- When is the SET Modifier used in MongoDB?
- How does MongoDB ensure high availability?
- What are some utilities for backup and restore in MongoDB?