Hortonworks-Certified-Apache-Hadoop-2.0-Developer(Pig and Hive Developer) 認定 HADOOP-PR000007 試験問題:
1. 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 map 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 configure 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.
2. All keys used for intermediate output from mappers must:
A) Implement a splittable compression algorithm.
B) Implement a comparator for speedy sorting.
C) Be a subclass of FileInputFormat.
D) Implement WritableComparable.
E) Override isSplitable.
3. Which one of the following statements describes a Hive user-defined aggregate function?
A) Operates on multiple input rows and produces a table as output
B) Operates on a single input row and produces a table as output
C) Operates on multiple input rows and creates a single row as output
D) Operates on a single input row and produces a single row as output
4. You want to run Hadoop jobs on your development workstation for testing before you submit them to your
production cluster. Which mode of operation in Hadoop allows you to most closely simulate a production
cluster while using a single machine?
A) Run the hadoop command with the -jt local and the -fs file:///options.
B) Run all the nodes in your production cluster as virtual machines on your development workstation.
C) Run the DataNode, TaskTracker, NameNode and JobTracker daemons on a single machine.
D) Run simldooop, the Apache open-source software for simulating Hadoop clusters.
5. Which one of the following statements describes the relationship between the NodeManager and the
ApplicationMaster?
A) The NodeManager requests resources from the ApplicationMaster
B) The ApplicationMaster starts the NodeManager in a Container
C) The ApplicationMaster starts the NodeManager outside of a Container
D) The NodeManager creates an instance of the ApplicationMaster
質問と回答:
質問 # 1 正解: D | 質問 # 2 正解: D | 質問 # 3 正解: C | 質問 # 4 正解: C | 質問 # 5 正解: D |