1.

You can only use jsMode for result sets with fewer than 500,000 distinct key arguments to the mapper’s _______ function.(a) emit()(b) emitter()(c) emitted()(d) none of the mentionedThe question was asked at a job interview.My question is based upon Map-Reduce and Sharded Collections topic in division Aggregation Concepts and Aggregation Mechanics of MongoDB

Answer»

Correct answer is (a) EMIT()

To EXPLAIN I would say: A single emit can only hold HALF of MongoDB’s maximum BSON document SIZE.



Discussion

No Comment Found

Related InterviewSolutions