Explanation:In general, map-reduce operations have two phases: a map stage that processes each document and emits one or more objects for each input document, and reduce phase that combines the output of the map operation. 3. MongoDB applies the _____ phase to each input document in mapreduce.
A. map
B. reduce
C. mapper
D. All of the mentioned
Answer:A
Explanation:In general, map-reduce operations have two phases: a map stage that processes each document and emits one or more objects for each input document, and reduce phase that combines the output of the map operation. 3. MongoDB applies the _____ phase to each input document in mapreduce.
A. map B. reduce C. mapper D. All of the mentioned
Explanation:The map function emits key-value pairs. 4. MongoDB applies the _________ phase, which collects and condenses the aggregated data.