1.

To handle large datasets, set _________ option to true to enable writing data to temporary files.(a) enableDiskUse(b) allowDiskUse(c) validateDiksUse(d) none of the mentionedThis question was posed to me in exam.The origin of the question is Aggregation Pipeline topic in chapter Aggregation Concepts and Aggregation Mechanics of MongoDB

Answer»

Right OPTION is (b) allowDiskUse

Best EXPLANATION: In the mongo shell, when you assign the CURSOR returned from the find() method to a variable using the var KEYWORD, the cursor does not automatically ITERATE.



Discussion

No Comment Found

Related InterviewSolutions