Winter Sale - Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: dpm65

Hot Vendors
Note! The Apache-Hadoop-Developer Exam is no longer available.

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

Questions 4

A NameNode in Hadoop 2.0 manages ______________.

Options:

A.

Two namespaces: an active namespace and a backup namespace

B.

A single namespace

C.

An arbitrary number of namespaces

D.

No namespaces

Buy Now
Questions 5

You wrote a map function that throws a runtime exception when it encounters a control character in input data. The input supplied to your mapper contains twelve such characters totals, spread across five file splits. The first four file splits each have two control characters and the last split has four control characters.

Indentify the number of failed task attempts you can expect when you run the job with mapred.max.map.attempts set to 4:

Options:

A.

You will have forty-eight failed task attempts

B.

You will have seventeen failed task attempts

C.

You will have five failed task attempts

D.

You will have twelve failed task attempts

E.

You will have twenty failed task attempts

Buy Now
Questions 6

Which two of the following are true about this trivial Pig program' (choose Two)

Apache-Hadoop-Developer Question 6

Options:

A.

The contents of myfile appear on stdout

B.

Pig assumes the contents of myfile are comma delimited

C.

ABC has a schema associated with it

D.

myfile is read from the user's home directory in HDFS

Buy Now
Questions 7

You write MapReduce job to process 100 files in HDFS. Your MapReduce algorithm uses TextInputFormat: the mapper applies a regular expression over input values and emits key-values pairs with the key consisting of the matching text, and the value containing the filename and byte offset. Determine the difference between setting the number of reduces to one and settings the number of reducers to zero.

Options:

A.

There is no difference in output between the two settings.

B.

With zero reducers, no reducer runs and the job throws an exception. With one reducer, instances of matching patterns are stored in a single file on HDFS.

C.

With zero reducers, all instances of matching patterns are gathered together in one file on HDFS. With one reducer, instances of matching patterns are stored in multiple files on HDFS.

D.

With zero reducers, instances of matching patterns are stored in multiple files on HDFS. With one reducer, all instances of matching patterns are gathered together in one file on HDFS.

Buy Now
Questions 8

The Hadoop framework provides a mechanism for coping with machine issues such as faulty configuration or impending hardware failure. MapReduce detects that one or a number of machines are performing poorly and starts more copies of a map or reduce task. All the tasks run simultaneously and the task finish first are used. This is called:

Options:

A.

Combine

B.

IdentityMapper

C.

IdentityReducer

D.

Default Partitioner

E.

Speculative Execution

Buy Now
Questions 9

Which of the following tool was designed to import data from a relational database into HDFS?

Options:

A.

HCatalog

B.

Sqoop

C.

Flume

D.

Ambari

Buy Now
Questions 10

You want to understand more about how users browse your public website, such as which pages they visit prior to placing an order. You have a farm of 200 web servers hosting your website. How will you gather this data for your analysis?

Options:

A.

Ingest the server web logs into HDFS using Flume.

B.

Write a MapReduce job, with the web servers for mappers, and the Hadoop cluster nodes for reduces.

C.

Import all users’ clicks from your OLTP databases into Hadoop, using Sqoop.

D.

Channel these clickstreams inot Hadoop using Hadoop Streaming.

E.

Sample the weblogs from the web servers, copying them into Hadoop using curl.

Buy Now
Questions 11

What does the following command do?

register '/piggyban):/pig-files.jar';

Options:

A.

Invokes the user-defined functions contained in the jar file

B.

Assigns a name to a user-defined function or streaming command

C.

Transforms Pig user-defined functions into a format that Hive can accept

D.

Specifies the location of the JAR file containing the user-defined functions

Buy Now
Questions 12

Which one of the following statements describes the relationship between the NodeManager and the ApplicationMaster?

Options:

A.

The ApplicationMaster starts the NodeManager in a Container

B.

The NodeManager requests resources from the ApplicationMaster

C.

The ApplicationMaster starts the NodeManager outside of a Container

D.

The NodeManager creates an instance of the ApplicationMaster

Buy Now
Questions 13

Examine the following Hive statements:

Apache-Hadoop-Developer Question 13

Assuming the statements above execute successfully, which one of the following statements is true?

Options:

A.

Each reducer generates a file 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.

The output is guaranteed to be a single file with all the data sorted by age

Buy Now
Questions 14

Given the following Hive command:

INSERT OVERWRITE TABLE mytable SELECT * FROM myothertable;

Which one of the following statements is true?

Options:

A.

The contents of myothertable are appended to mytable

B.

Any existing data in mytable will be overwritten

C.

A new table named mytable is created, and the contents of myothertable are copied into mytable

D.

The statement is not a valid Hive command

Buy Now
Questions 15

You want to populate an associative array in order to perform a map-side join. You’ve decided to put this information in a text file, place that file into the DistributedCache and read it in your Mapper before any records are processed.

Indentify which method in the Mapper you should use to implement code for reading the file and populating the associative array?

Options:

A.

combine

B.

map

C.

init

D.

configure

Buy Now
Questions 16

A combiner reduces:

Options:

A.

The number of values across different keys in the iterator supplied to a single reduce method call.

B.

The amount of intermediate data that must be transferred between the mapper and reducer.

C.

The number of input files a mapper must process.

D.

The number of output files a reducer must produce.

Buy Now
Exam Name: Hadoop 2.0 Certification exam for Pig and Hive Developer
Last Update: Mar 21, 2024
Questions: 108
dumpsmate guaranteed to pass
24/7 Customer Support

DumpsMate's team of experts is always available to respond your queries on exam preparation. Get professional answers on any topic of the certification syllabus. Our experts will thoroughly satisfy you.

Site Secure

mcafee secure

TESTED 21 Nov 2024