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)- A8% (3)
- B13% (5)
- C77% (30)
- D3% (1)
Community Discussion
No community discussion yet for this question.