Which sharding strategy allows for geographically distributing data to optimize for local user access?
Hashed sharding
Zone sharding
Ranged sharding
Random sharding
What MongoDB tool is most suitable for visualizing and analyzing query performance?
MongoDB Profiler
mongoexport
mongoimport
mongostat
What is the primary purpose of roles in MongoDB's authorization system?
To manage user authentication
To enforce data validation rules
To encrypt data at rest
To define granular permissions for database operations
What is the minimum number of config servers required for a production-ready sharded cluster in MongoDB?
1
5
3
2
In the context of MongoDB Internals, what does 'Journaling' primarily ensure?
Data compression for efficient storage
Authorization and access control for database users
Real-time data replication across nodes
Data durability and recovery in case of failures
Which of the following is a disadvantage of using the MongoDB In-Memory Storage Engine?
Slower write speeds compared to WiredTiger
Increased complexity in configuration
Lack of support for indexing
Limited data size capacity
Which aggregation stage allows you to perform complex data transformations within a group in MongoDB?
$group
$project
$sort
$match
What is the primary purpose of the MongoDB In-Memory Storage Engine?
Full-text search indexing
Long-term data persistence
Reducing storage costs
High-speed data analysis
What is the primary purpose of replication in MongoDB?
Reducing data storage costs
Ensuring high availability in case of failures
Simplifying data backups
Improving read performance
Which operator is used to create a text index in MongoDB?
$index
$createIndex
$text
$geo