Premium

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



Question : All of the files required for running a particular YARN application will be put here(Path)
for the duration of the application run. Which of the following property in yarn-site.xml, will be used to configure this path

 :  All of the files required for running a particular YARN application will be put here(Path)
1. yarn.nodemanager.log-dirs

2. yarn.nodemanager.local-dirs

3. yarn.nodemanager.remote-app-log-dir

4. yarn.nodemanager.dirs




Correct Answer : 2


Explanation: yarn.nodemanager.local-dirs Specifies the URIs of the directories where the NodeManager stores its localized files. All of the files required for running a particular YARN application will be put here for the duration of the application run. Cloudera recommends that this property specify a directory on each of the JBOD mount points; for example, file:///data/1/yarn/local through /data/N/yarn/local.
yarn.nodemanager.log-dirs Specifies the URIs of the directories where the NodeManager stores container log files. Cloudera recommends that this property specify a directory on each of the JBOD mount points; for example, file:///data/1/yarn/logs through file:///data/N/yarn/logs.
yarn.nodemanager.remote-app-log-dir Specifies the URI of the directory where logs are aggregated. Set the value to hdfs://(namenode-host.company.com):8020/var/log/hadoop-yarn/apps,using the fully-qualified domain name of your NameNode host.






Question : Which of the following component in the MRv maintains the History of the JOB

 : Which of the following component in the MRv maintains the History of the JOB
1. MapReduce Server
2. MapReduce JobHistory Server
3. Application Master
4. 2 and 3
5. 1 , 2 and 3

Correct Answer : 2

As previously described in MapReduce 2.0 in Hadoop 0.23,the JobTracker no longer exists in MR2, and the job life cycle management functionality is now the responsibility of the short-lived Application Masters. For this reason, a new MapReduce JobHistory server was added to MR2, which maintains information about submitted MapReduce jobs after their Application Master terminates. The Resource Manager Web UI manages such forwarding of requests to the JobHistory server when the Application Master completes.






Question : YARN requires a staging directory for temporary files created by running jobs. By default it creates /tmp/hadoop-yarn/staging
But user can not run the jobs, what could be reason.

 : YARN requires a staging directory for temporary files created by running jobs. By default it creates /tmp/hadoop-yarn/staging
1. Directory path is not correct
2. stagging directory is full
3. Directry has restrictive permissions
4. None of the above


Correct Answers: 3

Explanation: YARN requires a staging directory for temporary files created by running jobs. By default it creates /tmp/hadoop-yarn/staging with restrictive permissions that may prevent your users from running jobs




Related Questions


Question : Table schemas in Hive are:


 : Table schemas in Hive are:
1. Stored as metadata on the NameNode
2. Stored along with the data in HDFS
3. Stored in the Metadata
4. Stored in ZooKeeper
5. Stored in Hive Metastore


Question : __________ are responsible for local monitoring of resource availability, fault reporting,
and container life-cycle management (e.g., starting and killing
jobs).


 : __________ are responsible for local monitoring of resource availability, fault reporting,
1. NodeManagers
2. Application Manager
3. Application Master
4. Resource Manager


Question : Typically, an ApplicationMaster will need to harness the processing power of multiple servers to complete a job. In which of the following order this
can be accomplished.

1. ApplicationMaster issues resource requests to the ResourceManager
2. ResourceManager generates a lease for the resource, which is acquired by a subsequent ApplicationMaster heartbeat
3. The ResourceManager will attempt to satisfy the resource requests coming from each application according to availability and scheduling policies.
4. A token-based security mechanism guarantees its authenticity when the ApplicationMaster presents the container lease to the NodeManager

 : Typically, an ApplicationMaster will need to harness the processing power of multiple servers to complete a job. In which of the following order this
1. 1,2,3,4
2. 1,3,4,2
3. 1,3,2,4
4. 1,4,3,2


Question : Suppose cluster resources become scarce and the scheduler ..


 : Suppose cluster resources become scarce and the scheduler ..
1. Stop working
2. All jobs will hangs for some time
3. All jobs will be stopped and needs to be re-started
4. ResourceManager symmetrically request back resources from a running application


Question : Suppose you have MapReduce jobs with each the following priorities


JobName : Priority
Job1 : 60
Job2 : 70
Job3 : 20
Job4 : 40
Job5 : 10

Higher value means higher priority, now you have Resource Manager configured with the FIFO Scheduler.
All the jobs are submitted in the Job1 first,Job2, Job3, Job4 and Job5 as lasst with their
priorities configured. So in which order the Jobs will be executed

 : Suppose you have  MapReduce jobs with each the following priorities
1. Job2,Job1,Job4,Job3,Job5
2. Job5,Job4,job3,job2,Job1
3. Job1,Job2,Job3,Job4,Job5
4. Random order based on the Data Volume


Question : You have configured Hadoop Mapreduce V with Fair Scheduler with the two queues.
But one of the queue is using the less than its fair share. Now as soon as new resources are available then that will be granted to this queue.
 : You have configured Hadoop Mapreduce V with Fair Scheduler with the two queues.
1. True
2. False