Premium

Cloudera Hadoop Administrator Certification Certification Questions and Answer (Dumps and Practice Questions)



Question : In MrV Map or Reduce tasks runs in a contatiner, which of the following compoent is responsible for launching that container
 :   In MrV Map or Reduce tasks runs in a contatiner, which of the following compoent is responsible for launching that container
1. JobHistoryServer
2. NodeManager
3. Application Master
4. Resource Manager

Correct Answer : 2

Explanation: The MapReduce-specific capabilities of the JobTracker have moved into the MapReduce Application Master, one of which is started to manage each MapReduce job and terminated when the job completes. The JobTracker's function of serving information about completed jobs has been moved to the JobHistoryServer. The TaskTracker has been replaced with the NodeManager, a YARN service that manages resources and deployment on a node. NodeManager is responsible for launching containers, each of which can house a map or reduce task.





Question : Which of the follwoing is the required properties to run YARN architecture

 :  Which of the follwoing is the required properties to run YARN architecture
1. yarn-site.xml: yarn.resourcemanager.hostname
your.hostname.com

2. yarn-site.xml: yarn.nodemanager.aux-services
mapreduce_shuffle

3. mapred-site.xml:mapreduce.framework.name
yarn

4. All 1,2 and 3
5. No, configuration is needed for CDH5, by default it will run in YARN mode

Correct Answer : 4
Exp: A minimal configuration required to run MR2 jobs on YARN is:
yarn-site.xml:

yarn.resourcemanager.hostname
your.hostname.com
yarn.nodemanager.aux-services
mapreduce_shuffle

mapred-site.xml:

mapreduce.framework.name
yarn





Question : In MR, each node was configured with a fixed number of map slots and a fixed number of reduce slots.
Under YARN, there is no distinction between resources available for maps and resources available for reduces - all resources are available for both



 :  In MR, each node was configured with a fixed number of map slots and a fixed number of reduce slots.
1. True
2. False


Correct Answer : 1
One of the larger changes in MR2 is the way that resources are managed. In MR1, each node was configured with a fixed number of map slots and a fixed number of reduce slots. Under YARN, there is no distinction between resources available for maps and resources available for reduces - all resources are available for both. Second, the notion of slots has been discarded, and resources are now configured in terms of amounts of memory (in megabytes) and CPU (in "virtual cores",). Resource configuration is an inherently difficult topic, and the added flexibility that YARN provides in this regard also comes with added complexity. Cloudera Manager will pick sensible values automatically, but if you are setting up your cluster manually or just interested in the details



Related Questions


Question : You have configured the Fair Scheduler in your Hadoop MRv cluster a pool with a minimum share configured,
for example, may take slots away from another pool to reach that minimum share when a MapReduce Mapper runs in that pool.
 : You have configured the Fair Scheduler in your Hadoop MRv cluster a pool with a minimum share configured,
1. True
2. False


Question : You have configured the Fair Scheduler in your Hadoop MRv cluster. Pools are allocated their 'fair share'
of task slots based on the total number of slots available, and also the demand in the pool, a pool will never be allocated more slots than it needs.
 : You have configured the Fair Scheduler in your Hadoop MRv cluster. Pools are allocated their 'fair share'
1. True
2. False


Question : If only one job is running on the cluster, it will consume as many task resources as it needs, up to the total of half
capacity of the cluster, in case of Fair Scheduler
 : If only one job is running on the cluster, it will consume as many task resources as it needs, up to the total of half
1. True
2. False


Question : In YARN containers are also called resources, which is collection of allocated memory and cores?
 : In YARN containers are also called resources, which is collection of allocated memory and cores?
1. True
2. False


Question : In your cluster ResourceManager is configured with the "Fair Scheduler", and on average every hour Hadoop runs jobs in parallel.
Now currently single job is running, how much of the resource capacity of the cluster will be used by this running single job.


 : In your cluster ResourceManager is configured with the
1. 1/100 resource of the cluster
2. 20% of the cluster capacity
3. May use full capacity of the cluster
4. It can not be found




Question :

The ____________ supports a number of features such as weights on queues (heavier queues get more containers),
minimum shares, maximum shares, and FIFO policy within queues, but the basic idea is to share the
resources as uniformly as possible.
 :
1. Fair Scheduler
2. Capacity Scheduler
3. FIFO Scheduler
4. Both 1 and 2
5. Both 2 and 3