Hortonworks-Certified-Apache-Hadoop-2.0-Developer(Pig and Hive Developer) Sample Questions:
1. MapReduce v2 (MRv2/YARN) is designed to address which two issues?
A) Resource pressure on the JobTracker.
B) Single point of failure in the NameNode.
C) Ability to run frameworks other than MapReduce, such as MPI.
D) Standardize on a single MapReduce API.
E) Reduce complexity of the MapReduce APIs.
F) HDFS latency.
2. Your cluster's HDFS block size in 64MB. You have directory containing 100 plain text files, each of which
is 100MB in size. The InputFormat for your job is TextInputFormat. Determine how many Mappers will
run?
A) 640
B) 200
C) 64
D) 100
3. Determine which best describes when the reduce method is first called in a MapReduce job?
A) Reducers start copying intermediate key-value pairs from each Mapper as soon as it has completed.
The reduce method is called as soon as the intermediate key-value pairs start to arrive.
B) Reducers start copying intermediate key-value pairs from each Mapper as soon as it has completed.
The reduce method is called only after all intermediate data has been copied and sorted.
C) Reducers start copying intermediate key-value pairs from each Mapper as soon as it has completed.
The programmer can configure in the job what percentage of the intermediate data should arrive before
the reduce method begins.
D) Reduce methods and map methods all start at the beginning of a job, in order to provide optimal
performance for map-only or reduce-only jobs.
4. What does the following WebHDFS command do?
Curl -1 -L "http://host:port/webhdfs/v1/foo/bar?op=OPEN"
A) List a directory /foo
B) Read a file /foo/bar
C) Make a directory /foo/bar
D) Delete a directory /foo/bar
5. Identify the MapReduce v2 (MRv2 / YARN) daemon responsible for launching application containers and
monitoring application resource usage?
A) ApplicationMasterService
B) ApplicationMaster
C) JobTracker
D) ResourceManager
E) NodeManager
F) TaskTracker
Solutions:
Question # 1 Answer: A,B | Question # 2 Answer: B | Question # 3 Answer: B | Question # 4 Answer: B | Question # 5 Answer: E |