Hortonworks Hadoop 2.0 Certification exam for Pig and Hive Developer Sample Questions:
1. You are developing a combiner that takes as input Text keys, IntWritable values, and emits Text keys, IntWritable values. Which interface should your class implement?
A) Combiner <Text, IntWritable, Text, IntWritable>
B) Reducer <Text, IntWritable, Text, IntWritable>
C) Reducer <Text, Text, IntWritable, IntWritable>
D) Mapper <Text, IntWritable, Text, IntWritable>
E) Combiner <Text, Text, IntWritable, IntWritable>
2. For each intermediate key, each reducer task can emit:
A) As many final key-value pairs as desired, as long as all the keys have the same type and all the values have the same type.
B) One final key-value pair per value associated with the key; no restrictions on the type.
C) One final key-value pair per key; no restrictions on the type.
D) As many final key-value pairs as desired, but they must have the same type as the intermediate key-value pairs.
E) As many final key-value pairs as desired. There are no restrictions on the types of those key-value pairs (i.e., they can be heterogeneous).
3. You have the following key-value pairs as output from your Map task:
(the, 1) (fox, 1) (faster, 1) (than, 1) (the, 1) (dog, 1)
How many keys will be passed to the Reducer's reduce method?
A) Two
B) One
C) Three
D) Six
E) Four
F) Five
4. Which one of the following files is required in every Oozie Workflow application?
A) Oozie.xml
B) Config-default.xml
C) Workflow.xml
D) job.properties
5. 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?
A) Place the data file in the DistributedCache and read the data into memory in the configure method of the mapper.
B) Serialize the data file, insert in it the JobConf object, and read the data into memory in the configure method of the mapper.
C) Place the data file in the DistributedCache and read the data into memory in the map method of the mapper.
D) Place the data file in the DataCache and read the data into memory in the configure method of the mapper.
Solutions:
| Question # 1 Answer: B | Question # 2 Answer: A | Question # 3 Answer: F | Question # 4 Answer: C | Question # 5 Answer: D |














832 Customer Reviews
Quality and ValueITCertKing Practice Exams are written to the highest standards of technical accuracy, using only certified subject matter experts and published authors for development - no all study materials.
Tested and ApprovedWe are committed to the process of vendor and third party approvals. We believe professionals and executives alike deserve the confidence of quality coverage these authorizations provide.
Easy to PassIf you prepare for the exams using our ITCertKing testing engine, It is easy to succeed for all certifications in the first attempt. You don't have to deal with all dumps or any free torrent / rapidshare all stuff.
Try Before BuyITCertKing offers free demo of each product. You can check out the interface, question quality and usability of our practice exams before you decide to buy.
