시험덤프
매달, 우리는 1000명 이상의 사람들이 시험 준비를 잘하고 시험을 잘 통과할 수 있도록 도와줍니다.
  / Apache Hadoop Developer 덤프  / Apache Hadoop Developer 문제 연습

Hortonworks Apache Hadoop Developer 시험

Hadoop 2.0 Certification exam for Pig and Hive Developer 온라인 연습

최종 업데이트 시간: 2024년04월24일,108문제.

당신은 온라인 연습 문제를 통해 Hortonworks Apache Hadoop Developer 시험지식에 대해 자신이 어떻게 알고 있는지 파악한 후 시험 참가 신청 여부를 결정할 수 있다.

시험을 100% 합격하고 시험 준비 시간을 35% 절약하기를 바라며 Apache Hadoop Developer 덤프 (최신 실제 시험 문제)를 사용 선택하여 현재 최신 108개의 시험 문제와 답을 포함하십시오.

 / 3

Question No : 1


In the reducer, the MapReduce API provides you with an iterator over Writable values.
What does calling the next () method return?

정답:
Explanation:
Calling Iterator.next() will always return the SAME EXACT instance of IntWritable, with the contents of that instance replaced with the next value.
Reference: manupulating iterator in mapreduce

Question No : 2


In Hadoop 2.0, which one of the following statements is true about a standby NameNode?
The Standby NameNode:

정답:

Question No : 3


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.

정답:
Explanation:
* It is legal to set the number of reduce-tasks to zero if no reduction is desired.
In this case the outputs of the map-tasks go directly to the FileSystem, into the output path set by setOutputPath(Path). The framework does not sort the map-outputs before writing them out to the FileSystem.
* Often, you may want to process input data using a map function only. To do this, simply set mapreduce.job.reduces to zero. The MapReduce framework will not create any reducer tasks. Rather, the outputs of the mapper tasks will be the final output of the job.
Note:
Reduce
In this phase the reduce(WritableComparable, Iterator, OutputCollector, Reporter) method is called for each <key, (list of values)> pair in the grouped inputs.
The output of the reduce task is typically written to the FileSystem via OutputCollector.collect(WritableComparable, Writable).
Applications can use the Reporter to report progress, set application-level status messages and update Counters, or just indicate that they are alive.
The output of the Reducer is not sorted.

Question No : 4


For each input key-value pair, mappers can emit:

정답:
Explanation:
Mapper maps input key/value pairs to a set of intermediate key/value pairs.
Maps are the individual tasks that transform input records into intermediate records. The transformed intermediate records do not need to be of the same type as the input records. A given input pair may map to zero or many output pairs.
Reference: Hadoop Map-Reduce Tutorial

Question No : 5


Which describes how a client reads a file from HDFS?

정답:
Explanation:
Reference: 24 Interview Questions & Answers for Hadoop MapReduce developers, How the Client communicates with HDFS?

Question No : 6


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

정답:
Explanation:
Note:
* Input to the Reducer is the sorted output of the mappers.
* The framework calls the application's Reduce function once for each unique key in the sorted order.
* Example:
For the given sample input the first map emits:
< Hello, 1>
< World, 1>
< Bye, 1>
< World, 1>
The second map emits:
< Hello, 1>
< Hadoop, 1>
< Goodbye, 1>
< Hadoop, 1>

Question No : 7


Given the following Hive commands:



Which one of the following statements Is true?

정답:

Question No : 8


Consider the following two relations, A and B.



정답:

Question No : 9


Given the following Pig command:
logevents = LOAD &apos;input/my.log&apos; AS (date:chararray, levehstring, code:int, message:string);
Which one of the following statements is true?

정답:

Question No : 10


Which one of the following Hive commands uses an HCatalog table named x?

정답:

Question No : 11


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?

정답:

Question No : 12


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

정답:

Question No : 13


You need to create a job that does frequency analysis on input data. You will do this by writing a Mapper that uses TextInputFormat and splits each value (a line of text from an input file) into individual characters. For each one of these characters, you will emit the character as a key and an InputWritable as the value.
As this will produce proportionally more intermediate data than input data, which two resources should you expect to be bottlenecks?

정답:

Question No : 14


What types of algorithms are difficult to express in MapReduce v1 (MRv1)?

정답:
Explanation:
See 3) below.
Limitations of Mapreduce C where not to use Mapreduce
While very powerful and applicable to a wide variety of problems, MapReduce is not the answer to every problem. Here are some problems I found where MapReudce is not suited and some papers that address the limitations of MapReuce.

Question No : 15


What does Pig provide to the overall Hadoop solution?

정답:

 / 3
Hortonworks