Which of the following is NOT a built-in authentication mechanism in MongoDB?
LDAP
SCRAM-SHA-1
x.509 Certificate Authentication
API Key Authentication
What is the primary advantage of using hashed sharding in MongoDB?
Reducing the need for a shard key
Optimizing range-based queries
Simplifying data migration between shards
Ensuring even data distribution across shards
Which stage of the explain plan indicates that an index was effectively used to limit the number of documents scanned?
COLLSCAN
FETCH
IXSCAN
SHARD_MERGE
Which operator within the $lookup stage specifies the field in the 'joined' collection that should match the 'localField'?
localField
foreignField
as
from
What is the significance of regularly rotating encryption keys used with MongoDB?
It prevents data corruption within the database.
It improves query performance by reducing index size.
It enables faster data recovery after a server failure.
It mitigates the impact of a potential key compromise.
Which component in a sharded cluster is responsible for routing read and write operations to the appropriate shards?
Replica set
Mongos router
Config server
Shard server
What is the default storage engine for MongoDB versions 4.2 and later?
MMAPv1
InMemory
RocksDB
WiredTiger
Which operator is used to create a text index in MongoDB?
$createIndex
$index
$text
$geo
What MongoDB tool is most suitable for visualizing and analyzing query performance?
mongostat
mongoexport
mongoimport
MongoDB Profiler
What is the primary purpose of sharding in MongoDB?
Improving query performance by distributing data
Simplifying data backups and restoration
Providing real-time data analytics capabilities
Enhancing data security through encryption