質問 1:You want to count the number of occurrences for each unique word in the supplied input data. You've decided to implement this by having your mapper tokenize each word and emit a literal value 1, and then have your reducer increment a counter for each literal 1 it receives. After successful implementing this, it occurs to you that you could optimize this by specifying a combiner. Will you be able to reuse your existing Reduces as your combiner in this case and why or why not?
A. Yes, because Java is a polymorphic object-oriented language and thus reducer code can be reused as a combiner.
B. No, because the Combiner is incompatible with a mapper which doesn't use the same data type for both the key and value.
C. No, because the Reducer and Combiner are separate interfaces.
D. Yes, because the sum operation is both associative and commutative and the input and output types to the reduce method match.
E. No, because the sum operation in the reducer is incompatible with the operation of a Combiner.
正解:D
解説: (Topexam メンバーにのみ表示されます)
質問 2:To use a lava user-defined function (UDF) with Pig what must you do?
A. Define an alias to shorten the function name
B. Register the JAR file containing the UDF
C. Put the JAR file into the user's home folder in HDFS
D. Pass arguments to the constructor of UDFs implementation class
正解:B
質問 3:Which one of the following statements is true regarding a MapReduce job?
A. The job's Partitioner shuffles and sorts all (key.value) pairs and sends the output to all reducers
B. The default Hash Partitioner sends key value pairs with the same key to the same Reducer
C. The Mapper must sort its output of (key.value) pairs in descending order based on value
D. The reduce method is invoked once for each unique value
正解:A
質問 4:Which describes how a client reads a file from HDFS?
A. The client queries all DataNodes in parallel. The DataNode that contains the requested data responds directly to the client. The client reads the data directly off the DataNode.
B. The client contacts the NameNode for the block location(s). The NameNode contacts the DataNode that holds the requested data block. Data is transferred from the DataNode to the NameNode, and then from the NameNode to the client.
C. The client queries the NameNode for the block location(s). The NameNode returns the block location(s) to the client. The client reads the data directory off the DataNode(s).
D. The client contacts the NameNode for the block location(s). The NameNode then queries the DataNodes for block locations. The DataNodes respond to the NameNode, and the NameNode redirects the client to the DataNode that holds the requested data block(s). The client then reads the data directly off the DataNode.
正解:C
解説: (Topexam メンバーにのみ表示されます)
質問 5:Table metadata in Hive is:
A. Stored as metadata on the NameNode.
B. Stored in ZooKeeper.
C. Stored in the Metastore.
D. Stored along with the data in HDFS.
正解:C
解説: (Topexam メンバーにのみ表示されます)
質問 6:You've written a MapReduce job that will process 500 million input records and generated 500 million key-value pairs. The data is not uniformly distributed. Your MapReduce job will create a significant amount of intermediate data that it needs to transfer between mappers and reduces which is a potential bottleneck. A custom implementation of which interface is most likely to reduce the amount of intermediate data transferred across the network?
A. Partitioner
B. Combiner
C. WritableComparable
D. Writable
E. InputFormat
F. OutputFormat
正解:B
解説: (Topexam メンバーにのみ表示されます)
質問 7:Review the following data and Pig code:
What command to define B would produce the output (M,62,95l02) when invoking the DUMP operator on B?
A. B = FILTER A BY (zip = = '95102' AND gender = = M");
B. B= GROUP A BY (zip = = '95102' AND gender = = 'M');
C. B= FOREACH A BY (gender = = 'M' AND zip = = '95102');
D. B = JOIN A BY (gender = = 'M' AND zip = = '95102');
正解:A
質問 8: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:
A. You will have twelve failed task attempts
B. You will have twenty failed task attempts
C. You will have five failed task attempts
D. You will have forty-eight failed task attempts
E. You will have seventeen failed task attempts
正解:B
解説: (Topexam メンバーにのみ表示されます)
安全的な支払方式を利用しています
Credit Cardは今まで全世界の一番安全の支払方式です。少数の手続きの費用かかる必要がありますとはいえ、保障があります。お客様の利益を保障するために、弊社のHDPCD問題集は全部Credit Cardで支払われることができます。
領収書について:社名入りの領収書が必要な場合、メールで社名に記入していただき送信してください。弊社はPDF版の領収書を提供いたします。
弊社は失敗したら全額で返金することを承諾します
我々は弊社のHDPCD問題集に自信を持っていますから、試験に失敗したら返金する承諾をします。我々のHortonworks HDPCDを利用して君は試験に合格できると信じています。もし試験に失敗したら、我々は君の支払ったお金を君に全額で返して、君の試験の失敗する経済損失を減少します。
TopExamは君にHDPCDの問題集を提供して、あなたの試験への復習にヘルプを提供して、君に難しい専門知識を楽に勉強させます。TopExamは君の試験への合格を期待しています。
一年間の無料更新サービスを提供します
君が弊社のHortonworks HDPCDをご購入になってから、我々の承諾する一年間の更新サービスが無料で得られています。弊社の専門家たちは毎日更新状態を検査していますから、この一年間、更新されたら、弊社は更新されたHortonworks HDPCDをお客様のメールアドレスにお送りいたします。だから、お客様はいつもタイムリーに更新の通知を受けることができます。我々は購入した一年間でお客様がずっと最新版のHortonworks HDPCDを持っていることを保証します。
弊社は無料Hortonworks HDPCDサンプルを提供します
お客様は問題集を購入する時、問題集の質量を心配するかもしれませんが、我々はこのことを解決するために、お客様に無料HDPCDサンプルを提供いたします。そうすると、お客様は購入する前にサンプルをダウンロードしてやってみることができます。君はこのHDPCD問題集は自分に適するかどうか判断して購入を決めることができます。
HDPCD試験ツール:あなたの訓練に便利をもたらすために、あなたは自分のペースによって複数のパソコンで設置できます。
弊社のHortonworks HDPCDを利用すれば試験に合格できます
弊社のHortonworks HDPCDは専門家たちが長年の経験を通して最新のシラバスに従って研究し出した勉強資料です。弊社はHDPCD問題集の質問と答えが間違いないのを保証いたします。
この問題集は過去のデータから分析して作成されて、カバー率が高くて、受験者としてのあなたを助けて時間とお金を節約して試験に合格する通過率を高めます。我々の問題集は的中率が高くて、100%の合格率を保証します。我々の高質量のHortonworks HDPCDを利用すれば、君は一回で試験に合格できます。
Hortonworks HDPCD 認定試験の出題範囲:
トピック | 出題範囲 |
---|
トピック 1 | - Write and execute a Pig script
|
トピック 2 | - Import data from a table in a relational database into HDFS
|
トピック 3 | - Write and execute a Hive query.
|
参照:http://hortonworks.com/training/class/hdp-certified-developer-hdpcd-exam/