Hortonworks HDPCD - Hortonworks Data Platform Certified Developer Exam
Page: 2 / 22
Total 108 questions
Question #6 (Topic: )
The Hadoop framework provides a mechanism for coping with machine issues such as
faulty configuration or impending hardware failure. MapReduce detects that one or a
number of machines are performing poorly and starts more copies of a map or reduce task.
All the tasks run simultaneously and the task finish first are used. This is called:
faulty configuration or impending hardware failure. MapReduce detects that one or a
number of machines are performing poorly and starts more copies of a map or reduce task.
All the tasks run simultaneously and the task finish first are used. This is called:
A. Combine
B. IdentityMapper
C. IdentityReducer
D. Default Partitioner
E. Speculative Execution
Answer: E
Question #7 (Topic: )
Consider the following two relations, A and B.
[Hortonworks-HDPCD-5.0/Hortonworks-HDPCD-6_2.png]
What is the output of the following Pig commands?
X = GROUP A BY S1;
DUMP X;
[Hortonworks-HDPCD-5.0/Hortonworks-HDPCD-7_2.png]
[Hortonworks-HDPCD-5.0/Hortonworks-HDPCD-6_2.png]
What is the output of the following Pig commands?
X = GROUP A BY S1;
DUMP X;
[Hortonworks-HDPCD-5.0/Hortonworks-HDPCD-7_2.png]
A. Option A
B. Option B
C. Option C
D. Option D
Answer: D
Question #8 (Topic: )
You want to Ingest log files Into HDFS, which tool would you use?
A. HCatalog
B. Flume
C. Sqoop
D. Ambari
Answer: B
Question #9 (Topic: )
In a large MapReduce job with m mappers and n reducers, how many distinct copy
operations will there be in the sort/shuffle phase?
operations will there be in the sort/shuffle phase?
A. mXn (i.e., m multiplied by n)
B. n
C. m
D. m+n (i.e., m plus n)
E. mn (i.e., m to the power of n)
Answer: A
Question #10 (Topic: )
You have a directory named jobdata in HDFS that contains four files: _first.txt, second.txt,
.third.txt and #data.txt. How many files will be processed by the
FileInputFormat.setInputPaths () command when it's given a path object representing this
directory?
.third.txt and #data.txt. How many files will be processed by the
FileInputFormat.setInputPaths () command when it's given a path object representing this
directory?
A. Four, all files will be processed
B. Three, the pound sign is an invalid character for HDFS file names
C. Two, file names with a leading period or underscore are ignored
D. None, the directory cannot be named jobdata
E. One, no special characters can prefix the name of an input file
Answer: C