nerdexam
Cloudera

DS-200 · Question #26

You have just run a MapReduce job to filter user messages to only those of a selected geographical region. The output for this job in a directory named westUsers, located just below your home…

The correct answer is B. Hadoop fs - get westUsers WestUsers.txt. See the full explanation below for the reasoning.

Question

You have just run a MapReduce job to filter user messages to only those of a selected geographical region. The output for this job in a directory named westUsers, located just below your home directory in HDFS. Which command gathers these records into a single file on your local file system?

Options

  • AHadoop fs - getmerge westUsers WestUsers.txt
  • BHadoop fs - get westUsers WestUsers.txt
  • CHadoop fs - cp westUsers/* westUsers.txt
  • DHadoop fs - getmerge -R westUsers westUsers.txt

How the community answered

(21 responses)
  • A
    14% (3)
  • B
    71% (15)
  • C
    5% (1)
  • D
    10% (2)

Community Discussion

No community discussion yet for this question.

Full DS-200 Practice