Questions: MapReduce and Batch Data Processing

4 questions to test your understanding

Score: 0 / 4
Question 1 Multiple Choice

In MapReduce word count, map emits (word, 1) for every word in its input split. What does a single reduce call receive?

AOne line of the original text
BOne word and the list of all the 1s emitted for that word, from every mapper
CAll words that start with the same letter
DThe final total for every word in the corpus
Question 2 Multiple Choice

In the design described by Dean and Ghemawat, a worker machine fails after finishing several map tasks and before all reducers have read their output. What does the master do?

ANothing, because completed tasks are never re-run
BIt re-executes those completed map tasks on other workers, because their output was stored on the failed machine's local disk
CIt restarts the entire job from the beginning
DIt asks the reducers to skip the missing data
Question 3 True / False

MapReduce is especially efficient for iterative algorithms that read the same dataset dozens of times.

TTrue
FFalse
Question 4 Short Answer

What is a combiner in MapReduce, and why does it help a job such as word count?

Think about your answer, then reveal below.