Home > Cloud Computing > Quizzes > CCA-500: Cloudera Certified Administrator for Apache Hadoop Exam Practice Test 2
CCA-500: Cloudera Certified Administrator for Apache Hadoop Exam Practice Test 2
Fast practice, instant feedback. Timer auto-submits when time’s up.
Avg score: 28% Most missed: “Which two are features of Hadoop's rack topology?”
CCA-500: Cloudera Certified Administrator for Apache Hadoop Exam Practice Test 2
Time left 00:00
25 Questions

1. Identify features/issues that YARN is designated to address:
2. Which two features does Kerberos security add to a Hadoop cluster?
3. During the execution of a MapReduce v2 (MRv2) job on YARN, where does the Mapper place the intermediate data of each Map Task?
4. You want to understand more about how users browse your public website. For example, you want to know which pages they visit prior to placing an order. You have a server farm of 200 web servers hosting your website. Which is the most efficient process to gather these web server across logs into your Hadoop cluster analysis?
5. Table schemas in Hive are:
6. You are running a Hadoop cluster with a NameNode on host mynamenode. What are two ways to determine available HDFS space in your cluster?
7. Your Hadoop cluster is configuring with HDFS and MapReduce version 2 (MRv2) on YARN. Can you configure a worker node to run a NodeManager daemon but not a DataNode daemon and still have a functional cluster?
8. Which YARN process run as container 0" of a submitted job and is responsible for resource qrequests?"
9. A user comes to you, complaining that when she attempts to submit a Hadoop job, it fails. There is a Directory in HDFS named /data/input. The Jar is named j.jar, and the driver class is named DriverClass. She runs the command: Hadoop jar j.jar DriverClass /data/input/data/output The error message returned includes the line: PriviligedActionException as:training (auth:SIMPLE) cause:org.apache.hadoop.mapreduce.lib.input.invalidInputException: Input path does not exist: file:/data/input What is the cause of the error?
10. You suspect that your NameNode is incorrectly configured, and is swapping memory to disk. Which Linux commands help you to identify whether swapping is occurring?
11. You need to analyze 60,000,000 images stored in JPEG format, each of which is approximately 25 KB. Because you Hadoop cluster isn't optimized for storing and processing many small files, you decide to do the following actions: 1. Group the individual images into a set of larger files 2. Use the set of larger files as input for a MapReduce job that processes them directly with python using Hadoop streaming. Which data serialization system gives the flexibility to do this?
12. You decide to create a cluster which runs HDFS in High Availability mode with automatic failover, using Quorum Storage. What is the purpose of ZooKeeper in such a configuration?
13. You're upgrading a Hadoop cluster from HDFS and MapReduce version 1 (MRv1) to one running HDFS and MapReduce version 2 (MRv2) on YARN. You want to set and enforce version 1 (MRv1) to one running HDFS and MapReduce version 2 (MRv2) on YARN. You want to set and enforce a block size of 128MB for all new files written to the cluster after upgrade. What should you do?
14. Your cluster is running MapReduce version 2 (MRv2) on YARN. Your ResourceManager is configured to use the FairScheduler. Now you want to configure your scheduler such that a new user on the cluster can submit jobs into their own queue application submission. Which configuration should you set?
15. On a cluster running CDH 5.0 or above, you use the hadoop fs put command to write a 300MB file into a previously empty directory using an HDFS block size of 64 MB. Just after this command has finished writing 200 MB of this file, what would another use see when they look in directory?
16. Your cluster's mapred-start.xml includes the following parameters mapreduce.map.memory.mb 4096 mapreduce.reduce.memory.mb 8192 And any cluster's yarn-site.xml includes the following parameters yarn.nodemanager.vmen-pmen-ration 2.1 What is the maximum amount of virtual memory allocated for each map task before YARN will kill its Container?
17. Assume you have a file named foo.txt in your local directory. You issue the following three commands: Hadoop fs mkdir input Hadoop fs put foo.txt input/foo.txt Hadoop fs put foo.txt input What happens when you issue the third command?
18. Your Hadoop cluster contains nodes in three racks. You have not configured the dfs.hosts property in the NameNode's configuration file. What results?
19. Your cluster has the following characteristics: A rack aware topology is configured and on Replication is set to 3 Cluster block size is set to 64MB Which describes the file read process when a client application connects into the cluster and requests a 50MB file?
20. You observed that the number of spilled records from Map tasks far exceeds the number of map output records. Your child heap size is 1GB and your io.sort.mb value is set to 1000MB. How would you tune your io.sort.mb value to achieve maximum memory to disk I/O ratio?
21. You are migrating a cluster from MApReduce version 1 (MRv1) to MapReduce version 2 (MRv2) on YARN. You want to maintain your MRv1 TaskTracker slot capacities when you migrate. What should you do/
22. You have a cluster running with the fair Scheduler enabled. There are currently no jobs running on the cluster, and you submit a job A, so that only job A is running on the cluster. A while later, you submit Job B. now Job A and Job B are running on the cluster at the same time. How will the Fair Scheduler handle these two jobs?
23. Cluster Summary: 45 files and directories, 12 blocks = 57 total. Heap size is 15.31 MB/193.38MB(7%) Refer to the above screenshot. You configure a Hadoop cluster with seven DataNodes and on of your monitoring UIs displays the details shown in the exhibit. What does the this tell you?
24. You have a cluster running with a FIFO scheduler enabled. You submit a large job A to the cluster, which you expect to run for one hour. Then, you submit job B to the cluster, which you expect to run a couple of minutes only. You submit both jobs with the same priority. Which two best describes how FIFO Scheduler arbitrates the cluster resources for job and its tasks?
25. Which process instantiates user code, and executes map and reduce tasks on a cluster running MapReduce v2 (MRv2) on YARN?