Skip to main content

CCA-500 Real Exam Questions

Cloudera Certified Administrator for Apache Hadoop (CCAH)

60 questions available · Page 1 of 6

Updated Exam DumpsVerified AnswersPass Guarantee

Get Complete Exam Dumps
Question 1 Multiple choice

Choose three reasons why should you run the HDFS balancer periodically? (Choose three)

  1. A

    To ensure that there is capacity in HDFS for additional data

  2. B

    To ensure that all blocks in the cluster are 128MB in size

  3. C

    To help HDFS deliver consistent performance under heavy loads

  4. D

    To ensure that there is consistent disk utilization across the DataNodes

  5. E

    To improve data locality MapReduce

Show answer and explanation

Correct answers: C, D, E

Question 2 Single choice

Which YARN process run as "container 0" of a submitted job and is responsible for resource qrequests?

  1. A

    ApplicationManager

  2. B

    JobTracker

  3. C

    ApplicationMaster

  4. D

    JobHistoryServer

  5. E

    ResoureManager

  6. F

    NodeManager

Show answer and explanation

Correct answer: C

Question 3 Single choice

Table schemas in Hive are:

  1. A

    Stored as metadata on the NameNode

  2. B

    Stored along with the data in HDFS

  3. C

    Stored in the Metadata

  4. D

    Stored in ZooKeeper

Show answer and explanation

Correct answer: B

Question 4 Single choice

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? (Choose two)

  1. A

    When Job B gets submitted, it will get assigned tasks, while job A continues to run with fewer tasks.

  2. B

    When Job B gets submitted, Job A has to finish first, before job B can gets scheduled.

  3. C

    When Job A gets submitted, it doesn't consumes all the task slots.

  4. D

    When Job A gets submitted, it consumes all the task slots.

Show answer and explanation

Correct answer: B

Question 5 Single choice

Which is the default scheduler in YARN?

  1. A

    YARN doesn't configure a default scheduler, you must first assign an appropriate scheduler class in yarn-site.xml

  2. B

    Capacity Scheduler

  3. C

    Fair Scheduler

  4. D

    FIFO Scheduler

Show answer and explanation

Correct answer: B

Question 6 Single choice

Your cluster implements HDFS High Availability (HA). Your two NameNodes are named nn01 and nn02.

What occurs when you execute the command: hdfs haadmin failover nn01 nn02?

  1. A

    nn02 is fenced, and nn01 becomes the active NameNode

  2. B

    nn01 is fenced, and nn02 becomes the active NameNode

  3. C

    nn01 becomes the standby NameNode and nn02 becomes the active NameNode

  4. D

    nn02 becomes the standby NameNode and nn01 becomes the active NameNode

Show answer and explanation

Correct answer: B

Question 7 Multiple choice

Which three basic configuration parameters must you set to migrate your cluster from MapReduce 1 (MRv1) to MapReduce V2 (MRv2)? (Choose three)

  1. A

    Configure the NodeManager to enable MapReduce services on YARN by setting the following property in yarn-site.xml:
    <name>yarn.nodemanager.hostname</name>
    <value>your_nodeManager_shuffle</value>

  2. B

    Configure the NodeManager hostname and enable node services on YARN by setting the following property in yarn-site.xml:
    <name>yarn.nodemanager.hostname</name>
    <value>your_nodeManager_hostname</value>

  3. C

    Configure a default scheduler to run on YARN by setting the following property in mapred-site.xml:
    <name>mapreduce.jobtracker.taskScheduler</name>
    <Value>org.apache.hadoop.mapred.JobQueueTaskScheduler</value>

  4. D

    Configure the number of map tasks per jon YARN by setting the following property in mapred:
    <name>mapreduce.job.maps</name>
    <value>2</value>

  5. E

    Configure the ResourceManager hostname and enable node services on YARN by setting the following property in yarn-site.xml:
    <name>yarn.resourcemanager.hostname</name>
    <value>your_resourceManager_hostname</value>

  6. F

    Configure MapReduce as a Framework running on YARN by setting the following property in mapred-site.xml:
    <name>mapreduce.framework.name</name>
    <value>yarn</value>

Show answer and explanation

Correct answers: A, E, F

Question 8 Single choice

Which YARN daemon or service monitors a Controller's per-application resource using (e.g.
, memory CPU)?

  1. A

    ApplicationMaster

  2. B

    NodeManager

  3. C

    ApplicationManagerService

  4. D

    ResourceManager

Show answer and explanation

Correct answer: A

Question 9 Single choice

You are running a Hadoop cluster with a NameNode on host mynamenode.

What are two ways to determine available HDFS space in your cluster?

  1. A

    Run hdfs fs du / and locate the DFS Remaining value

  2. B

    Run hdfs dfsadmin report and locate the DFS Remaining value

  3. C

    Run hdfs dfs / and subtract NDFS Used from configured Capacity

  4. D

    Connect to http://mynamenode:50070/dfshealth.jsp and locate the DFS remaining value

Show answer and explanation

Correct answer: B

Question 10 Single choice

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?

  1. A

    It only keeps track of which NameNode is Active at any given time

  2. B

    It monitors an NFS mount point and reports if the mount point disappears

  3. C

    It both keeps track of which NameNode is Active at any given time, and manages the Edits file. Which is a log of changes to the HDFS filesystem

  4. D

    If only manages the Edits file, which is log of changes to the HDFS filesystem

  5. E

    Clients connect to ZooKeeper to determine which NameNode is Active

Show answer and explanation

Correct answer: A