nerdexam
Cloudera

CCD-333 · Question #58

What is the behavior of the default partitioner?

The correct answer is D. The defaultpartitionercomputes the hash of the key and divides that value modulo the number. See the full explanation below for the reasoning.

Question

What is the behavior of the default partitioner?

Options

  • AThe defaultpartitionerassigns key value pairs to reducers based on an internal random number
  • BThedefaultpartitionerimplements a round robin strategy, shuffling the key value pairs to each
  • CThe defaultpartitionercomputes the hash of the key. Hash values between specific ranges are
  • DThe defaultpartitionercomputes the hash of the key and divides that value modulo the number
  • EThe default partitioner computes the hash of the value and takes the mod of that value with the

How the community answered

(25 responses)
  • B
    4% (1)
  • C
    4% (1)
  • D
    84% (21)
  • E
    8% (2)

Community Discussion

No community discussion yet for this question.

Full CCD-333 Practice