How are relationships between documents typically managed in MongoDB?
Foreign keys, like in relational databases.
Through data duplication across collections.
Embedded documents or references.
Joins, similar to SQL.
What is the BSON data type for storing an array of values in MongoDB?
set
array
object
list
How do you verify that the MongoDB server has started successfully?
Use the systemctl status mongod command to view the service's status
Try to connect to the MongoDB server using the mongo shell
Check the log file for messages indicating successful startup
All of the above
How do you delete a database in MongoDB?
delete database
erase database
drop database
remove database
The Attribute Pattern in MongoDB is best suited for:
Storing a large, sparse matrix of data
Representing hierarchical relationships between entities
Managing evolving schemas and varying attributes for different documents
Optimizing geospatial queries for location-based data
Which data type in MongoDB is used to store decimal numbers?
decimal
numberDecimal
double
int
In MongoDB, data is stored in BSON format. What does BSON stand for?
Balanced Schema Object Notation
Binary System Object Notation
Basic Serialized Object Notation
Binary Structured Object Notation
Which command creates a new collection in the currently active database?
make collection
db.createCollection()
create collection
new collection()
What type of index would be most suitable for a field containing unique user IDs?
Geospatial Index
Multikey Index
Text Index
Single Field Index
Which of the following is NOT a valid CRUD operation in MongoDB?
Delete
Retrieve
Update
Create