nerdexam
Cloudera

CCD-410 · Question #60

To process input key-value pairs, your mapper needs to lead a 512 MB data file in memory. What is the best way to accomplish this?

The correct answer is D. Place the data file in the DistributedCache and read the data into memory in the configure method of the. See the full explanation below for the reasoning.

Question

To process input key-value pairs, your mapper needs to lead a 512 MB data file in memory. What is the best way to accomplish this?

Options

  • ASerialize the data file, insert in it the JobConf object, and read the data into memory in the configure
  • BPlace the data file in the DistributedCache and read the data into memory in the map method of the mapper.
  • CPlace the data file in the DataCache and read the data into memory in the configure method of the mapper.
  • DPlace the data file in the DistributedCache and read the data into memory in the configure method of the

How the community answered

(26 responses)
  • A
    12% (3)
  • B
    4% (1)
  • C
    4% (1)
  • D
    81% (21)

Community Discussion

No community discussion yet for this question.

Full CCD-410 Practice