Official Bank 0/108

Hortonworks Data Platform Certified Developer (HDPCD) - Hworks Exam Questions

Last updated on June 20, 2026

97% Exam Compliance
108 Total Questions
1
Question
Which HDFS command copies an HDFS file named foo to the local filesystem as localFoo?
Options
A hadoop fs -get foo LocalFoo
B hadoop -cp foo LocalFoo
C hadoop fs -Is foo
D hadoop fs -put foo LocalFoo
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

2
Question
All keys used for intermediate output from mappers must:
Options
A Override isSplitable.
B Be a subclass of FileInputFormat.
C Implement WritableComparable.
D Implement a comparator for speedy sorting.
E Implement a splittable compression algorithm.
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

3
Question
Examine the following Hive statements: Assuming the statements above execute successfully, which one of the following statements is true?
Options
A The output is guaranteed to be a single file with all the data sorted by age
B The SORT BY command causes only one reducer to be used
C The output of each reducer is only the age column
D Each reducer generates a file sorted by age
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

4
Question
When can a reduce class also serve as a combiner without affecting the output of a MapReduce program?
Options
A Never. Combiners and reducers must be implemented separately because they serve different purposes.
B When the signature of the reduce method matches the signature of the combine method.
C Always. Code can be reused in Java since it is a polymorphic object-oriented programming language.
D When the types of the reduce operation’s input key and input value match the types of the reducer’s output key and output value and when the reduce operation is both communicative and associative.
E Always. The point of a combiner is to serve as a mini-reducer directly after the map phase to increase performance.
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

5
Question
For each input key-value pair, mappers can emit:
Options
A As many intermediate key-value pairs as designed, as long as all the keys have the same types and all the values have the same type.
B One intermediate key-value pair, of a different type.
C As many intermediate key-value pairs as designed, but they cannot be of the same type as the input key-value pair.
D As many intermediate key-value pairs as designed. There are no restrictions on the types of those key-value pairs (i.e., they can be heterogeneous).
E One intermediate key-value pair, but of the same type.
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

Finish Practice?

Are you sure you want to finish? This will end your practice session.