1.

Which of the following flag can be set by mongo shell?(a) Timeout(b) noTimeout(c) Time(d) None of the mentionedThis question was posed to me by my college director while I was bunking the class.Query is from Read Operations topic in portion MongoDB CRUD Concepts and Operation of MongoDB

Answer»

Right OPTION is (b) noTimeout

For explanation: By default, the SERVER will automatically close the cursor after 10 MINUTES of INACTIVITY or if client has exhausted the cursor.



Discussion

No Comment Found

Related InterviewSolutions