Home > Cloud Computing > Quizzes > Cloudera CCD-410 Cloudera Certified Developer for Apache Hadoop (CCDH) Practice Test 2
Cloudera CCD-410 Cloudera Certified Developer for Apache Hadoop (CCDH) Practice Test 2
Fast practice, instant feedback. Timer auto-submits when time’s up.
Avg score: 25% Most missed: “To process input key-value pairs, your mapper needs to lead a 512 MB data file i…”
Cloudera CCD-410 Cloudera Certified Developer for Apache Hadoop (CCDH) Practice Test 2
Time left 00:00
25 Questions

1. Determine which best describes when the reduce method is first called in a MapReduce job?
2. A combiner reduces:
3. You want to run Hadoop jobs on your development workstation for testing before you submit them to your production cluster. Which mode of operation in Hadoop allows you to most closely simulate a production cluster while using a single machine?
4. 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?
5. You want to perform analysis on a large collection of images. You want to store this data in HDFS and process it with MapReduce but you also want to give your data analysts and data scientists the ability to process the data directly from HDFS with an interpreted high-level programming language like Python. Which format should you use to store this data in HDFS?
6. Which describes how a client reads a file from HDFS?
7. In a MapReduce job, you want each of your input files processed by a single map task. How do you configure a MapReduce job so that a single map task processes each input file regardless of how many blocks the input file occupies?
8. In a MapReduce job, the reducer receives all values associated with same key. Which statement best describes the ordering of these values?
9. What types of algorithms are difficult to express in MapReduce v1 (MRv1)?
10. 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:
11. Your cluster's HDFS block size in 64MB. You have directory containing 100 plain text files, each of which is 100MB in size. The InputFormat for your job is TextInputFormat. Determine how many Mappers will run?
12. You have user profile records in your OLPT database, that you want to join with web logs you have already ingested into the Hadoop file system. How will you obtain these user records?
13. Which project gives you a distributed, Scalable, data store that allows you random, realtime read/write access to hundreds of terabytes of data?
14. Analyze each scenario below and indentify which best describes the behavior of the default partitioner?
15. You have just executed a MapReduce job. Where is intermediate data written to after being emitted from the Mapper's map method?
16. Assuming default settings, which best describes the order of data provided to a reducer's reduce method:
17. You have a directory named jobdata in HDFS that contains four files: _first.txt, second.txt, .third.txt and #data.txt. How many files will be processed by the FileInputFormat.setInputPaths () command when it's given a path object representing this directory?
18. How are keys and values presented and passed to the reducers during a standard sort and shuffle phase of MapReduce?
19. You need to perform statistical analysis in your MapReduce job and would like to call methods in the Apache Commons Math library, which is distributed as a 1.3 megabyte Java archive (JAR) file. Which is the best way to make this library available to your MapReducer job at runtime?
20. 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?
21. Your cluster's HDFS block size in 64MB. You have directory containing 100 plain text files, each of which is 100MB in size. The InputFormat for your job is TextInputFormat. Determine how many Mappers will run?
22. To process input key-value pairs, your mapper needs to lead a 512 MB data file in memory. What is the best way to accomplish this?
23. MapReduce v2 (MRv2/YARN) splits which major functions of the JobTracker into separate daemons?
24. For each input key-value pair, mappers can emit:
25. 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.