MCQs
Collections are analogous to a table in relational databases.
hasNext() returns true if the cursor returned by the db.collection.find() query can iterate further to return more documents.
Data modification refers to operations that create, update, or delete data.
At any time,db operation at the mongo shell is used to report the name of the current database.
The toArray() method returns an array that contains all the documents from a cursor.
MongoDB provides a db.collection.findOne() method as a special case of find() that returns a single document.
Projections are the second argument to the find() method,which specify a list of fields to return or list fields to exclude in the result documents.
You should either close the cursor manually or exhaust the cursor.
Only the OP_QUERY and OP_GET_MORE messages result in a response from the database.
MongoDB allows clients to read documents inserted or modified before it commits these modifications to disk, regardless of write concern level or journaling configuration.