Explore topic-wise InterviewSolutions in .

This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.

1.

__________ is a standard Java API for monitoring and managing applications.(a) JVX(b) JVM(c) JMX(d) None of the mentionedI have been asked this question at a job interview.I would like to ask this question from HDFS Maintenance in section Administering Hadoop of Hadoop

Answer»

Right answer is (C) JMX

To ELABORATE: Hadoop includes several managed BEANS (MBeans), which expose Hadoop metrics to JMX-aware APPLICATIONS.

2.

Which of the tab shows all the role instances that have been instantiated for this service?(a) Service(b) Status(c) Instance(d) All of the mentionedThis question was addressed to me in class test.I need to ask this question from HDFS Maintenance topic in division Administering Hadoop of Hadoop

Answer» RIGHT option is (C) Instance

Explanation: The Instances page displays the results of the CONFIGURATION validation checks it performs for all the ROLE instances for this SERVICE.
3.

__________ Manager’s Service feature monitors dozens of service health and performance metrics about the services and role instances running on your cluster.(a) Microsoft(b) Cloudera(c) Amazon(d) None of the mentionedI had been asked this question during an online exam.My doubt stems from HDFS Maintenance in chapter Administering Hadoop of Hadoop

Answer»

Right CHOICE is (B) Cloudera

Explanation: Manager’s SERVICE feature presents health and performance DATA in a VARIETY of formats.

4.

Which of the following is a common reason to restart hadoop process?(a) Upgrade Hadoop(b) React to incidents(c) Remove worker nodes(d) All of the mentionedThis question was posed to me by my school teacher while I was bunking the class.I'd like to ask this question from HDFS Maintenance in chapter Administering Hadoop of Hadoop

Answer» RIGHT OPTION is (d) All of the mentioned

For explanation: The most COMMON reason administrators restart Hadoop processes is to enact configuration CHANGES.
5.

Point out the wrong statement.(a) If you set the HBase service into maintenance mode, then its roles (HBase Master and all Region Servers) are put into effective maintenance mode(b) If you set a host into maintenance mode, then any roles running on that host are put into effective maintenance mode(c) Putting a component into maintenance mode prevent events from being logged(d) None of the mentionedThe question was posed to me in an international level competition.My doubt stems from HDFS Maintenance in portion Administering Hadoop of Hadoop

Answer»

The correct answer is (C) PUTTING a COMPONENT into maintenance mode prevent EVENTS from being logged

Best explanation: Maintenance mode only suppresses the alerts that those events would otherwise GENERATE.

6.

Which of the following is a configuration management system?(a) Alex(b) Puppet(c) Acem(d) None of the mentionedI have been asked this question in an international level competition.Question is from HDFS Maintenance topic in division Administering Hadoop of Hadoop

Answer» RIGHT answer is (b) PUPPET

The best EXPLANATION: Administrators MAY use configuration management systems such as Puppet and Chef to manage processes.
7.

___________ mode allows you to suppress alerts for a host, service, role, or even the entire cluster.(a) Safe(b) Maintenance(c) Secure(d) All of the mentionedI have been asked this question in exam.Enquiry is from HDFS Maintenance topic in section Administering Hadoop of Hadoop

Answer»

The CORRECT choice is (B) MAINTENANCE

For explanation: Maintenance MODE can be useful when you need to TAKE actions in your cluster and do not want to see the alerts that will be generated due to those actions.

8.

Which of the following is a common hadoop maintenance issue?(a) Lack of tools(b) Lack of configuration management(c) Lack of web interface(d) None of the mentionedThis question was posed to me during an interview for a job.My question is from HDFS Maintenance topic in portion Administering Hadoop of Hadoop

Answer»

The correct option is (B) Lack of configuration MANAGEMENT

Best EXPLANATION: WITHOUT a centralized configuration management framework, you end up with a number of issues that can cascade just as your usage picks up.

9.

Point out the correct statement.(a) RAID is turned off by default(b) Hadoop is designed to be a highly redundant distributed system(c) Hadoop has a networked configuration system(d) None of the mentionedI got this question in quiz.I would like to ask this question from HDFS Maintenance in portion Administering Hadoop of Hadoop

Answer»

The correct option is (b) HADOOP is designed to be a highly REDUNDANT distributed system

To ELABORATE: Hadoop deployment is sometimes DIFFICULT to IMPLEMENT.

10.

Which of the following command runs the HDFS secondary namenode?(a) secondary namenode(b) secondarynamenode(c) secondary_namenode(d) none of the mentionedThis question was posed to me in homework.The origin of the question is HDFS Administration topic in portion Administering Hadoop of Hadoop

Answer» RIGHT option is (b) secondarynamenode

The explanation: The secondary NameNode MERGES the fsimage and the edits log files periodically and KEEPS edits log SIZE within a limit.
11.

__________ command is used to interact and view Job Queue information in HDFS.(a) queue(b) priority(c) dist(d) all of the mentionedI had been asked this question in exam.Question is from HDFS Administration topic in section Administering Hadoop of Hadoop

Answer» RIGHT OPTION is (a) queue

For explanation I WOULD say: Hadoop SCRIPT can be used to invoke any class.
12.

__________ mode is a Namenode state in which it does not accept changes to the name space.(a) Recover(b) Safe(c) Rollback(d) None of the mentionedI have been asked this question during an interview.My query is from HDFS Administration topic in portion Administering Hadoop of Hadoop

Answer» CORRECT answer is (C) Rollback

For explanation: dfsadmin runs a HDFS dfsadmin client.
13.

_________ command is used to copy file or directories recursively.(a) dtcp(b) distcp(c) dcp(d) distcThe question was posed to me in a job interview.The above asked question is from HDFS Administration in section Administering Hadoop of Hadoop

Answer»

Correct ANSWER is (B) distcp

The best I can explain: USAGE of the distcp command: HADOOP distcp .

14.

Point out the wrong statement.(a) classNAME displays the class name needed to get the Hadoop jar(b) Balancer Runs a cluster balancing utility(c) An administrator can simply press Ctrl-C to stop the rebalancing process(d) None of the mentionedThe question was asked in an international level competition.This interesting question is from HDFS Administration topic in chapter Administering Hadoop of Hadoop

Answer»

Correct choice is (a) classNAME displays the class NAME NEEDED to get the HADOOP jar

Easiest explanation: CLASSPATH prints the class path needed to get the Hadoop jar and the REQUIRED libraries.

15.

In ___________ mode, the NameNode will interactively prompt you at the command line about possible courses of action you can take to recover your data.(a) full(b) partial(c) recovery(d) commitI had been asked this question in examination.Question is from HDFS Administration topic in chapter Administering Hadoop of Hadoop

Answer»

The correct answer is (c) recovery

Easy EXPLANATION: Recovery mode can CAUSE you to LOSE data, you should ALWAYS BACKUP your edit log and fsimage before using it.

16.

HDFS supports the ____________ command to fetch Delegation Token and store it in a file on the local system.(a) fetdt(b) fetchdt(c) fsk(d) recThis question was addressed to me in an international level competition.I would like to ask this question from HDFS Administration topic in section Administering Hadoop of Hadoop

Answer»

The correct answer is (b) fetchdt

Explanation: Delegation token can be later USED to access secure SERVER from a non secure CLIENT.

17.

Point out the correct statement.(a) All hadoop commands are invoked by the bin/hadoop script(b) Hadoop has an option parsing framework that employs only parsing generic options(c) Archive command creates a hadoop archive(d) All of the mentionedI had been asked this question during a job interview.My question comes from HDFS Administration in portion Administering Hadoop of Hadoop

Answer»

Correct option is (a) All HADOOP COMMANDS are invoked by the bin/hadoop script

Easy explanation: Running the hadoop script without any ARGUMENTS PRINTS the description for all commands.

18.

Which hdfs command is used to check for various inconsistencies?(a) fsk(b) fsck(c) fetchdt(d) none of the mentionedI had been asked this question in an interview for job.Asked question is from HDFS Administration topic in section Administering Hadoop of Hadoop

Answer»

Right choice is (b) fsck

The BEST I can EXPLAIN: fsck is designed for reporting PROBLEMS with VARIOUS files, for example, missing blocks for a file or under-replicated blocks.