nerdexam
Cloudera

CCD-410 · Question #44

You have the following key-value pairs as output from your Map task: (the, 1) (fox, 1) (faster, 1) (than, 1) (the, 1) (dog, 1) How many keys will be passed to the Reducer's reduce method?

The correct answer is B. Five. Only one key value pair will be passed from the two (The, 1) key value pairs.

Developing with Apache Spark Core

Question

You have the following key-value pairs as output from your Map task:

(the, 1) (fox, 1) (faster, 1) (than, 1) (the, 1) (dog, 1) How many keys will be passed to the Reducer's reduce method?

Options

  • ASix
  • BFive
  • CFour
  • DTwo
  • EOne
  • FThree

How the community answered

(50 responses)
  • B
    78% (39)
  • C
    10% (5)
  • D
    6% (3)
  • E
    2% (1)
  • F
    4% (2)

Explanation

Only one key value pair will be passed from the two (The, 1) key value pairs.

Topics

#reducer keys#key grouping#unique keys#MapReduce output

Community Discussion

No community discussion yet for this question.

Full CCD-410 Practice