Point out the wrong statement.
(a) The MongoDB Wire Protocol is a simple socket-based, request-response style protocol
(b) For queries that include a sort operation without an index, the server must load all the documents in memory to perform the sort before returning any results
(c) Clients communicate with the database server through a regular TCP/IP socket
(d) All of the mentioned
(a) The MongoDB Wire Protocol is a simple socket-based, request-response style protocol
(b) For queries that include a sort operation without an index, the server must load all the documents in memory to perform the sort before returning any results
(c) Clients communicate with the database server through a regular TCP/IP socket
(d) All of the mentioned
The correct answer is (d) All of the mentioned
Easiest explanation: As you iterate through the cursor and reach the end of the returned batch, if there are more results, cursor.next() will perform a getmore operation to retrieve the next batch.