Which of the following is NOT a key feature of MongoDB?
Flexible document structure
Schema-less data model
High Scalability and Performance
Support for ACID transactions
How do you switch to a specific database, for example, a database named 'myDatabase', in the MongoDB shell?
use myDatabase
connect myDatabase
switch to myDatabase
change to myDatabase
Which operator is commonly used within a $group stage to calculate the sum of a specific field?
$group
$max
$push
$avg
$sum
Which command is used to create a new database in MongoDB?
create database
use database
make database
new database
When is it generally preferred to embed data in a document rather than referencing it in MongoDB?
When maintaining data integrity across multiple collections is crucial
When the related data is rarely accessed
When minimizing document size is a top priority
When the related data is frequently accessed together with the main document
What value for the index specification sorts in descending order?
1
null
-1
0
How do you delete a database in MongoDB?
delete database
drop database
erase database
remove database
What is the primary component of MongoDB's architecture responsible for data storage?
Mongos
Router
Shard
Config Server
Which is NOT a valid index type in MongoDB?
Full Text Index
Spatial Index
Array Index
Hashed Index
What is the primary purpose of the MongoDB Aggregation Framework?
Managing user authentication and authorization.
Performing CRUD (Create, Read, Update, Delete) operations on documents.
Processing and analyzing data to extract meaningful insights.
Defining the schema and structure of MongoDB collections.