Explanation:When using sharded collection as the input for a map-reduce operation, mongos will automatically dispatch the map-reduce job to each shard in parallel. 6. Which of the following function follows the reduce method and modifies the output ?
A. finalize
B. final
C. Max
D. All of the mentioned
Answer:A
Explanation:When using sharded collection as the input for a map-reduce operation, mongos will automatically dispatch the map-reduce job to each shard in parallel. 6. Which of the following function follows the reduce method and modifies the output ?
A. finalize B. final C. Max D. All of the mentioned
Explanation:Finalize fucntion is optional for mapreduce operation. 7. __________ specifies global variables that are accessible in the map