Which of the following is NOT a key feature of MongoDB?
High Scalability and Performance
Support for ACID transactions
Flexible document structure
Schema-less data model
What is the primary purpose of MongoDB drivers?
To perform data analysis within MongoDB
To visualize data stored in MongoDB
To interact with MongoDB databases from application code
To store data in a relational database
Which command is used to create a new database in MongoDB?
make database
new database
create database
use database
What Java class is commonly used with the MongoDB Java driver to interact with MongoDB collections?
MongoCollection
MongoDatabase
MongoClient
MongoCursor
Which command creates a new collection in the currently active database?
create collection
make collection
db.createCollection()
new collection()
What is the role of a MongoDB cursor in the context of database interactions?
To store the results of a query, allowing for iteration over the returned documents
To create and manage indexes on a collection
To define the structure of a document
To handle authentication and authorization for database access
What does the findOne() method in MongoDB return?
findOne()
All documents in the collection
The first matching document
An array of matching documents
The number of matching documents
In the context of the Python MongoDB driver (PyMongo), what does the find_one() method return?
find_one()
A single document matching the query (or None if no match)
A list of all documents matching the query
The number of documents matching the query
A cursor object for iterating over matching documents
Which update operator replaces the value of a field with a specified value?
$set
$rename
$inc
$push
Which of the following is NOT a commonly used MongoDB driver?
Node.js driver
Java driver
C# driver
Python driver