Question 17
What option(s) best describe the differences between MapReduce and Spark?
MapReduce leverages disk heavily, while Spark optimizes for memory-basedcomputations
MapReduce forces barrier synchronization after every step, while Spark usesdirected acyclic graphs to execute as many steps as possible in parallel
MapReduce is comprised of both Map and Reduce steps alternatingnecessarily, while Spark allows for any combination of actions and transformations.
MapReduce enables massively parallel computation, while Spark's driverprogram sequentially executes on each worker
MapReduce is restricted in flexibility since only Map and Reduce are possiblesteps, while Spark has a variety of Actions possible making it highly flexible