nerdexam
Cloudera

CCD-333 · Question #9

Which of the following best describes the map method input and output?

The correct answer is C. It acceptsasinglekey-valuepairasinputand emits a single key and list of corresponding values. See the full explanation below for the reasoning.

Question

Which of the following best describes the map method input and output?

Options

  • AIt accepts a single key-value pair as input and can emit only one key-value pair as output.
  • BIt acceptsa list ofkey-valuepairsasinput hut run emitonly one key value pair as output.
  • CIt acceptsasinglekey-valuepairasinputand emits a single key and list of corresponding values
  • DIt accepts a singlekey-valuepairas inputandcan emitany number ofkey-valuepairs as output,

How the community answered

(39 responses)
  • A
    8% (3)
  • B
    13% (5)
  • C
    77% (30)
  • D
    3% (1)

Community Discussion

No community discussion yet for this question.

Full CCD-333 Practice