Exam Details

  • Exam Code
    :HDPCD
  • Exam Name
    :Hortonworks Data Platform Certified Developer
  • Certification
    :HDP Certified Developer
  • Vendor
    :Hortonworks
  • Total Questions
    :108 Q&As
  • Last Updated
    :May 15, 2024

Hortonworks HDP Certified Developer HDPCD Questions & Answers

  • Question 91:

    Identify the tool best suited to import a portion of a relational database every day as files into HDFS, and generate Java classes to interact with that imported data?

    A. Oozie

    B. Flume

    C. Pig

    D. Hue

    E. Hive

    F. Sqoop

    G. fuse-dfs

  • Question 92:

    Review the following data and Pig code.

    M,38,95111

    F,29,95060

    F,45,95192

    M,62,95102

    F,56,95102

    A = LOAD andapos;dataandapos; USING PigStorage(andapos;.andapos;) 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?

    A. STORE A INTO andapos;myoutputandapos; USING PigStorage(andapos;,andapos;);

    B. DUMP B using PigStorage(andapos;myoutputandapos;);

    C. STORE B INTO andapos;myoutputandapos;;

    D. DUMP B INTO andapos;myoutputandapos;;

  • Question 93:

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

    A. It returns a reference to a different Writable object time.

    B. It returns a reference to a Writable object from an object pool.

    C. It returns a reference to the same Writable object each time, but populated with different data.

    D. It returns a reference to a Writable object. The API leaves unspecified whether this is a reused object or a new object.

    E. It returns a reference to the same Writable object if the next value is the same as the previous value, or a new Writable object otherwise.

  • Question 94:

    In a MapReduce job with 500 map tasks, how many map task attempts will there be?

    A. It depends on the number of reduces in the job.

    B. Between 500 and 1000.

    C. At most 500.

    D. At least 500.

    E. Exactly 500.

  • Question 95:

    Which one of the following statements describes a Pig bag. tuple, and map, respectively?

    A. Unordered collection of maps, ordered collection of tuples, ordered set of key/value pairs

    B. Unordered collection of tuples, ordered set of fields, set of key value pairs

    C. Ordered set of fields, ordered collection of tuples, ordered collection of maps

    D. Ordered collection of maps, ordered collection of bags, and unordered set of key/value pairs

  • Question 96:

    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.

    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.

  • Question 97:

    Can you use MapReduce to perform a relational join on two large tables sharing a key? Assume that the two tables are formatted as comma-separated files in HDFS.

    A. Yes.

    B. Yes, but only if one of the tables fits into memory

    C. Yes, so long as both tables fit into memory.

    D. No, MapReduce cannot perform relational operations.

    E. No, but it can be done with either Pig or Hive.

  • Question 98:

    Which HDFS command copies an HDFS file named foo to the local filesystem as localFoo?

    A. hadoop fs -get foo LocalFoo

    B. hadoop -cp foo LocalFoo

    C. hadoop fs -Is foo

    D. hadoop fs -put foo LocalFoo

  • Question 99:

    In Hadoop 2.2, which TWO of the following processes work together to provide automatic failover of the NameNode? Choose 2 answers

    A. ZKFailoverController

    B. ZooKeeper

    C. QuorumManager

    D. JournalNode

  • Question 100:

    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= FOREACH A BY (gender = = 'M' AND zip = = '95102');

    C. B = JOIN A BY (gender = = 'M' AND zip = = '95102');

    D. B= GROUP A BY (zip = = '95102' AND gender = = 'M');

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Hortonworks exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your HDPCD exam preparations and Hortonworks certification application, do not hesitate to visit our Vcedump.com to find your solutions here.