Labour Day Special - Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: top65certs

Hortonworks HCAHD Apache-Hadoop-Developer New Questions

Hadoop 2.0 Certification exam for Pig and Hive Developer Questions and Answers

Question 13

Which one of the following statements regarding the components of YARN is FALSE?

Options:

A.

A Container executes a specific task as assigned by the ApplicationMaster

B.

The ResourceManager is responsible for scheduling and allocating resources

C.

A client application submits a YARW job to the ResourceManager

D.

The ResourceManager monitors and restarts any failed Containers

Question 14

Your client application submits a MapReduce job to your Hadoop cluster. Identify the Hadoop daemon on which the Hadoop framework will look for an available slot schedule a MapReduce operation.

Options:

A.

TaskTracker

B.

NameNode

C.

DataNode

D.

JobTracker

E.

Secondary NameNode

Question 15

Review the following data and Pig code.

M,38,95111

F,29,95060

F,45,95192

M,62,95102

F,56,95102

A = LOAD 'data' USING PigStorage('.') as (gender:Chararray, age:int, zlp:chararray);

B = FOREACH A GENERATE age;

Which one of the following commands would save the results of B to a folder in hdfs named myoutput?

Options:

A.

STORE A INTO 'myoutput' USING PigStorage(',');

B.

DUMP B using PigStorage('myoutput');

C.

STORE B INTO 'myoutput';

D.

DUMP B INTO 'myoutput';

Question 16

In a MapReduce job, the reducer receives all values associated with same key. Which statement best describes the ordering of these values?

Options:

A.

The values are in sorted order.

B.

The values are arbitrarily ordered, and the ordering may vary from run to run of the same MapReduce job.

C.

The values are arbitrary ordered, but multiple runs of the same MapReduce job will always have the same ordering.

D.

Since the values come from mapper outputs, the reducers will receive contiguous sections of sorted values.