nerdexam
Cloudera

DS-200 · Question #21

You have acquired a new data source of millions of customer records, and you've this data into HDFS. Prior to analysis, you want to change all customer registration to the same date format, make all…

The correct answer is C. Write a script that receives records on stdin, corrects them, and then writes them to stdout. See the full explanation below for the reasoning.

Question

You have acquired a new data source of millions of customer records, and you've this data into HDFS. Prior to analysis, you want to change all customer registration to the same date format, make all addresses uppercase, and remove all customer names (for anonymization). Which process will accomplish all three objectives?

Options

  • AAdapt the data cleansing module in Mahout to your data, and invoke the Mahout library when you
  • BPull this data into an RDBMS using sqoop and scrub records using stored procedures
  • CWrite a script that receives records on stdin, corrects them, and then writes them to stdout.
  • DWrite a MapReduce job with a mapper to change words to uppercase and to reduce different

How the community answered

(29 responses)
  • A
    17% (5)
  • B
    3% (1)
  • C
    72% (21)
  • D
    7% (2)

Community Discussion

No community discussion yet for this question.

Full DS-200 Practice