Most Important Frequently Asked Apache Ambari Interview Questions
-
Question 1. What Are The Three Layers Where The Hadoop Components Are Actually Supported By Ambari?
Answer :
The three layers that are supported by Ambari are below:
- Core Hadoop
- Essential Hadoop
- Hadoop Support
-
Question 2. What Is Apache Ambari?
Answer :
The Apache Ambari is nothing but a project which is solely focused to make life simple while using Hadoop management system.
This software helps or provides comfort zone in terms of the following aspect:
- Provisioning
- Managing
- Monitoring Hadoop clusters
- Provides intuitive interface
- It is backed up RESTful API’s.
- Provides an easy to use Hadoop management web UI
Apache Tapestry Interview Questions -
Question 3. What Are The Areas Where Ambari Helps The System Administrators To Do?
Answer :
With the help of Ambari, system administrators will be able to do the following easily, they are:
- Provision of Hadoop Cluster
- Manage a Hadoop cluster
- Monitor a Hadoop Cluster
-
Answer :
The Apache Ambari is compatible with 64-bit version and the following are the operating systems that go well with Ambari implementation:
- Debian 7
- Ubuntu 12 and 14
- SLES (Suse Linux Enterprise Server) 11
- OEL (Oracle Enterprise Linux 6) and 7
- CentOS 6 and 7
- RHEL ( Redhat Enterprise Linux) 6 and 7
Apache Tapestry Tutorial -
Answer :
The latest version of Ambari that is available in the market is Ambari 2.5.2. Within, this version they have added a feature called: Cross stack upgrade support.
Apache Cassandra Interview Questions -
Question 6. What Is Repository?
Answer :
A repository is nothing but space where it hosts the software packages which can be used for download and plus install.
-
Answer :
The Yum is nothing but a package manager which actually fetches the software packages from the repository.
On RHEL/CentOS, typically “yum”,
ON SLES, typically “Zipper”.
Apache Cassandra Tutorial Apache Spark Interview Questions -
Question 8. What Is A Local Repository And When It Is Useful While Using Ambari Environment?
Answer :
A local repository is nothing but a hosted space in the local environment. Usually, when the machines don't have an active internet connection or have restricted or very limited network access a local repository should be set up. With this setup, the user will be able to obtain Ambari and HDP software packages.
-
Question 9. How Many Types Of Ambari Repositories Are Available?
Answer :
The types of Ambari Repositories are listed below:
- Ambari: This is for Ambari server, Ambari agent and other monitoring software packages
- HDP: This is used to host Hadoop Stack packages
- HDP-UTILS: All the utility packages for Ambari and HDP are available
- EPEL: It stands for “Extra Packages for Enterprise Linux. It has a set of additional packages for the Enterprise Linux
Apache Solr Interview Questions -
Question 10. What Are The Different Methods To Set Up Local Repositories?
Answer :
There are two ways to deploy the local repositories. It actually depends on your active Internet connection and based on that we can execute it.
- First of all mirror the packages to the local repository
- If the first method doesn’t work out good for you then download all the Repository Tarball and start building the Local repository
Apache Solr Tutorial -
Question 11. How To Set Up Local Repository Manually?
Answer :
This process is only used when there is no active internet connection is not available.
So to set up a local repository, please follow the below steps:
- First and foremost, set up a host with Apache httpd
- Next is to download Tarball copy for every repository entire contents
- Once it is downloaded, one has to extract the contents
Apache Storm Interview Questions -
Question 12. What Are The Tools That Are Needed To Build Ambari?
Answer :
The following tools are needed to build Ambari:
- If you are using Mac then you have to download Xcode from the apple store.
- JDK 7
- Apache Maven 3.3.9 or later
- Python 2.6 or later
- Node JS
- G++
Apache Tapestry Interview Questions -
Question 13. What Are The Independent Extensions That Are Contributed To The Ambari Codebase?
Answer :
The independent extensions that are contributed to the Ambari Codebase are as follows:
- Ambari SCOM Management Pack
- Apache Slider View
Apache Storm Tutorial -
Question 14. Is Ambari Python Client Can Be Used To Make Good Use Of Ambari Api’s?
Answer :
Yes, Ambari Python client can be used to make good use of Ambari API’s.
-
Question 15. What Is The Process Of Creating Ambari Client?
Answer :
The following code will do help you to create an Ambari client:
from ambari_client.ambari_api import AmbariClient
headers_dict={'X-Requested-By':'mycompany'} #Ambari needs X-Requested-By header
client = AmbariClient("localhost", 8080, "admin", "admin", version=1,http_header=headers_dict)
print client.version
print client.host_url
print"n"
Apache Hive Interview Questions -
Question 16. How Can We See All The Clusters That Are Available In Ambari?
Answer :
all_clusters = client.get_all_clusters()
print all_clusters.to_json_dict()
print all_clusters
Apache Hive Tutorial -
Question 17. How Can We See All The Hosts That Are Available In Ambari?
Answer :
all_hosts = client.get_all_hosts()
print all_hosts
print all_hosts.to_json_dict()
print"n"
Apache Pig Interview Questions -
Question 18. What Does Ambari Shell Can Provide?
Answer :
The Ambari shell can provide an interactive and handy command line tool which actually supports the following:
- All the available functionality in Ambari Web-app
- All the context-aware command availability
- Tab completion
- Any required parameter support if needed
Apache Cassandra Interview Questions -
Question 19. What Are The Core Benefits For Hadoop Users By Using Apache Ambari?
Answer :
The Apache Ambari is a great gift for individuals who use Hadoop in their day to day work life.
With the use of Ambari, Hadoop users will get the core benefits:
- Installation process is simplified
- Configuration and overall management is simplified
- It has a centralized security setup process
- It gives out full visibility in terms of Cluster health
- It is extensively extendable and has an option to customize if needed.
Apache Pig Tutorial -
Question 20. What Are The Different Life Cycle Commands In Ambari?
Answer :
The Ambari has a defined life cycle commands and they are as follows:
- Start
- Stop
- Status
- Install
- Configure
Apache Flume Interview Questions -
Question 21. What Are The Tools That Are Used In Ambari Monitoring?
Answer :
Ambari Monitoring tools actually use two different open source projects for its monitoring purposes,
they are as follows:
- Ganglia
- Nagios
-
Question 22. What Is Ganglia Is Used For In Ambari?
Answer :
It is one of the tools that is used in Ambari, it is mainly used for the following purpose:
- Monitoring
- Identifying trending patterns
- Metrics collection in the clusters
- It also supports detailed heatmaps
Topic: Apache Ambari Interview Questions
No comments:
Post a Comment