Skip to content

Latest commit

 

History

History
1086 lines (730 loc) · 38.7 KB

README.md

File metadata and controls

1086 lines (730 loc) · 38.7 KB

Installation

Does Java requires to install Jenkins?

Solution Yes, It's mandatory.
https://www.jenkins.io/doc/book/installing/linux/#prerequisites

Which version of Java does Jenkins support?

Solution In Java, between Java 8 to 12. It supports only Java 8 and 11. Java 9 and 10 are not supported.
https://www.jenkins.io/doc/administration/requirements/java/#java-requirements

What is the minimum RAM required to run Jenkins?

Solution Minimum 256MB of RAM required to run Jenkins.
https://www.jenkins.io/doc/book/installing/linux/#prerequisites

Can we install Jenkins on Windows?

Solution Yes, we can install Jenkins on Windows.
https://www.jenkins.io/doc/book/installing/windows/#windows

What is the default path of the initialAdminPassword in the Linux distributions system?

Solution Default path is /var/lib/jenkins/secrets/.
https://www.jenkins.io/doc/book/installing/linux/#unlocking-jenkins

What is the default path of the initialAdminPassword in the Docker based Jenkins container?

Solution Default path is /var/jenkins_home/secrets/.
https://www.jenkins.io/doc/book/installing/docker/#unlocking-jenkins

Jenkins is distributed as:

Solution (a.) OS native packages (RPM, DEB ...)/Windows (MSI Installer) (b.) WAR (Web Application Archive/Web Application Resource) File (c.) Docker Image (d.) Cloud Templates (Azure, AWS, GCP)
https://www.jenkins.io/download/#downloading-jenkins

What is the location of the file where we can change default Jenkins user, log, home and arguments to pass to Jenkins such as --httpListenAddress, --httpPort?

Solution It is a /etc/default/jenkins or /etc/sysconfig/jenkins.
https://support.cloudbees.com/hc/en-us/articles/209715698-How-to-add-Java-arguments-to-Jenkins-#traditionalplatform

What is the location of the file where we can change the default JVM options in Jenkins?

Solution It is a /etc/default/jenkins or /etc/sysconfig/jenkins.
https://support.cloudbees.com/hc/en-us/articles/209715698-How-to-add-Java-arguments-to-Jenkins-#debianubuntubasedlinuxdistributions

What is the default $JENKINS_HOME path in the Linux distributions?

Solution It's a /var/lib/jenkins.
https://www.jenkins.io/doc/book/installing/linux/#unlocking-jenkins
https://docs.cloudbees.com/docs/admin-resources/latest/backup-restore/jenkins-home
https://wiki.jenkins.io/display/JENKINS/Administering+Jenkins

Does .NET 2.0 Framework required for installing Jenkins 2.249.1 and above as a Windows service?

Solution No, Microsoft .NET Framework 2.0 support removed in Jenkins version 2.249.1. Actually starting from Jenkins version 2.238, .NET Framework 4.0 or above is required for all Windows service installations and built-in Windows service management logic.
https://www.jenkins.io/doc/upgrade-guide/2.249/#upgrading-to-jenkins-lts-2-249-1

In which version of Jenkins it was supported .NET Framework 2.0?

Solution Before Jenkins version 2.238, .NET Framework 2.0 was supported.
https://www.jenkins.io/doc/administration/requirements/windows/#net-requirements

What is the default location of Jenkins home directory in Windows?

Solution It's a %JENKINS_HOME% of User home directory.
https://www.jenkins.io/blog/2020/08/12/windows-installers-upgrade/#road-forward

Which of the two options will appear after unlocking Jenkins?

Solution (a.) Install suggested plugins (b.) Select plugins to install
https://www.jenkins.io/doc/book/installing/windows/#customizing-jenkins-with-plugins

Can we skip the e-mail ID of user while registering in Create First Admin User page?

Solution No, e-mail ID is required while adding name of user, password, e-mail. Otherwise it will give an error.

WAR file based installation of Jenkins can be run as a stand-alone application in a servlet container?

Solution Yes, It's run as a stand-alone application in a servlet container.
$ java ${JAVA_OPTS} -jar jenkins.war ${JENKINS_OPTS}
Note: If you misspell in command line parameters, Jenkins ignores it rather than generating an error.
https://www.jenkins.io/doc/book/installing/#installing-jenkins
https://www.jenkins.io/doc/book/installing/initial-settings/#jenkins-parameters

During POST-INSTALLATION WIZARD process, What kind of three instructions you will see when you access Jenkins from the browser for the first time?

Solution (a.) Unlock Jenkins (b.) Install essential plugins (Customize Jenkins Plugins) (c.) Create first admin user
https://www.jenkins.io/doc/book/installing/windows/#setup-wizard

Can we modify the default Jenkins URL before viewing the Jenkins home page?

Solution Yes, we can modify the default Jenkins URL before viewing the Jenkins Dashboard. If we'll not modify that time then we have to go to Manage Jenkins > Configure System > Jenkins Location Section.
https://stackoverflow.com/a/17711268/12522533
https://wiki.jenkins.io/display/JENKINS//Starting+and+Accessing+Jenkins

Can we install the additional plugins in Jenkins?

Solution Yes, You can install the additional plugins anytime. You have to go into the Manage Jenkins > Manage Plugins aka Plugin Manager.
You will see Updated, Available, Installed and Advanced Section.
https://www.jenkins.io/doc/book/managing/plugins/#installing-a-plugin

What is the name and location of the root configuration file of Jenkins?

Solution Name of the root configuration file of Jenkins is config.xml and location path is /var/lib/jenkins/config.xml and common for all Linux distributions.
https://jenkins-le-guide-complet.github.io/html/sec-hudson-home-directory-contents.html

What is the path of installed plugins for Jenkins?

Solution Path is /var/lib/jenkins/plugins/.

What is the path of where it stores build job workspaces, history and artifacts of Jenkins?

Solution Path is /var/lib/jenkins/jobs/.

Where is it store the local user database of Jenkins?

Solution Path is /var/lib/jenkins/users/.

What is the command to start the Jenkins Web application ARchive (WAR) file from the command line?

Solution java -jar jenkins.war
If you don't want to run the Jenkins on default port 8080 and wants to run on port 9595 then specify --httpPort flag.
java -jar jenkins.war --httpPort=9595
https://www.jenkins.io/doc/book/installing/war-file/#run-the-war-file

In Jenkins, Which process generates the artifacts, logs and history?

Solution That's builds process.

What kind of expandable volumes available for Jenkins in Windows and Linux systems?

Solution (a.) "Spanned volume" on Windows (b.) "LVM" on Linux

What is the most common command line flags which we can use with java -jar jenkins.war ${JENKINS_OPTIONS} for Jenkins?

Solution Jenkins Flags/Options:
--prefix (default: /), --httpPort (default: 8080), --httpListenAddress (default: 0.0.0.0), --logfile
java ${JAVA_OPTIONS} -jar jenkins.war ${JENKINS_OPTIONS}

What is the final command if we add prefix=/apps, httpPort=8085 to WAR file to start Jenkins?

Solution java -jar jenkins.war --httpPort=8085 --prefix=/apps --httpListenAddress=127.0.0.1
After that we can access in the browser url http://127.0.0.1:8085/apps
https://www.jenkins.io/doc/book/installing/initial-settings/#configuring-http

Can we install Jenkins in a Docker and Kubernetes?

Solution Yes, we can install Jenkins in a Docker container and Kubernetes Pod's container.
https://www.jenkins.io/doc/book/installing/docker/
https://hub.docker.com/r/jenkins/jenkins/
https://www.jenkins.io/doc/book/installing/kubernetes/

How many ways we can set JENKINS_HOME directory for Jenkins?

Solution In generally three ways:
(a.) By setting Environment Variable (b.) By setting System Property (c.) By setting JNDI (Java Naming and Directory Interface) Environment
We can also set in ~/.jenkins for system configuration. It's appear in the User's home directory when we install Jenkins from WAR file.
https://wiki.jenkins.io/display/JENKINS/Administering+Jenkins

In Jenkins Dashboard, which section tell us about upgrades are available?

Solution That's Manage Jenkins section.
https://jenkins-le-guide-complet.github.io/html/sect-installation-upgrading.html

What is the use case and location of Prepare for Shutdown?

Solution Prepare for Shutdown is initiate to a graceful shutdown of Jenkins. It's ensure that no jobs build during shutdown.
It's available in the Manage Jenkins > Prepare for Shutdown.
We can do gracefully shutdown from the browser also.
http://127.0.0.1:8080/quietDown
We can perform restart and exit as well.
https://support.cloudbees.com/hc/en-us/articles/216118748-How-to-Start-Stop-or-Restart-your-Instance-

During the process of upgrading Jenkins, to the next available version. What is the default location of jenkins.war file on Linux systems to replace with the new one?

Solution Path is /usr/share/jenkins/ on Linux systems.
After replace with the new WAR file, restart the Jenkins service to apply the upgrades.

What is the simplest option I have to choose If I have to share some information with other users?

Solution We can write information in the System Message Box, which is located at Manage Jenkins > Configure System section.
As we know that the Global System Message in Jenkins clearly indicates that this message should only be shown on the "top of our Jenkins home page". So we can use this option.

What kind of configuration we can do in the System Configuration section in Jenkins?

Solution We can configure Security, JDK Installations, Version Control Tools (Git), Build Tools (Ant, Gradle and Maven), Global properties, Jenkins location, e-mail notification, Plugin configurations.
System Configuration is located at Manage Jenkins.

What we have to do to prevent builds in the master node?

Solution Make it Executor count to 0.

what is the name of plugin extension file in Jenkins?

Solution It's contain .hpi extension.

How many ways we can install plugins on the master controller?

Solution We can install plugins on the master controller via (a.) Using the "Plugin Manager" in the Web UI. (b.) Using the Jenkins CLI install-plugin command.
https://www.jenkins.io/doc/book/managing/plugins/#installing-a-plugin

Can we install plugins on the master controller by uploading the plugin files?

Solution Yes, we can install plugins from .hpi file. You have to go to the Manage Jenkins > Manage Plugins page in the web UI.
Click on the Advanced tab, then upload the plugin file under the Upload Plugin section.
https://www.jenkins.io/doc/book/managing/plugins/#advanced-installation

Can we install plugins which is already downloaded on the master controller's system?

Solution Yes, we can install already downloaded plugin files (.hpi). We have to put the .hpi plugin file into the JENKINS_HOME/plugins/ path. In common cases, it's /var/lib/jenkins/plugins/.
https://www.jenkins.io/doc/book/managing/plugins/#on-the-master

How can we update the plugins on the master controller?

Solution Go into the Manage Jenkins > Manage Plugins then click on the Updates tab and update the required plugins.
By default, on the master controller - Jenkins will check for updates from the Update Center once every 24 hours. To manually trigger a check for updates, simply click on the Check now button in the Updates tab.

What is the location to set the HTTP Proxy Configuration in the Jenkins?

Solution You have to go into the Manage Jenkins > Manage Plugins > Advanced tab.
https://wiki.jenkins.io/display/JENKINS/JenkinsBehindProxy

How many ways you can see the installed plugins on the master controller?

Solution We can check installed plugins in three ways, (a.) Manage Plugins (b.) System Information both are located at Manage Jenkins and (c.) In the $JENKINS_HOME/plugins/ (/var/lib/jenkins/plugins/) on the host system.
https://www.jenkins.io/doc/book/managing/plugins/

What is the two options we will get in the Post-installation setup wizard to install plugins in the installation of Jenkins?

Solution (a.) Install suggested plugins, which are based on common use cases. (b.) Select plugins to install, which are used to install set of plugins not all suggested plugins. By default, it selected all the suggested/common plugins in the Select plugins to install section. We have to do untick which we don't want to install.
https://www.jenkins.io/doc/book/installing/linux/#customizing-jenkins-with-plugins

What is the location of Executor in the Jenkins?

Solution It's located at Manage Jenkins > Configure System. By default, it sets to 2. There is no fix number to set maximum number of executor.
https://support.cloudbees.com/hc/en-us/articles/216456477-What-is-a-Jenkins-Executor-and-how-can-I-best-utilize-my-executors
https://support.cloudbees.com/hc/en-us/articles/115002654991-Remoting-Best-Practices#numberofexecutors

What is the default value of quiet-period in the Jenkins?

Solution Defaults to 0.
Quiet Period : Provide a gaps between builds. In the queue, Build A and Build B. We set quiet period to 2min so after successful Build A, process will take a break of 2min to start build for Build B.
https://www.jenkins.io/blog/2010/08/11/quiet-period-feature/

How many Source Code Management (SCM) Tools do you know which Jenkins supports?

Solution Lists are : Subversion, Mercurial, Perforce, Team Foundation Server (TFS), GitHub, Concurrent Versions System (CVS), REPO, GitLab, P4, Bitbucket, ClearCase etc.
https://devops.stackexchange.com/a/22

What is the work of JUnit test in the Jenkins?

Solution It consumes XML test reports which is generated during the builds and provides us graphical visualization of the test reports.
https://www.jenkins.io/doc/pipeline/steps/junit/#junit-plugin
https://wiki.jenkins.io/display/JENKINS/JUnit+graph

What is the work of xUnit test in the Jenkins?

Solution After installation and configuration of this xUnit plugin, Jenkins can transform test result reports produced by different testing tools into JUnit test result format. Under the hood it helps to display the test results.
https://www.jenkins.io/doc/pipeline/steps/xunit/#xunit-plugin
https://www.jenkins.io/blog/2016/10/31/xunit-reporting/
https://plugins.jenkins.io/xunit/

Where we can update the site in Jenkins to download new plugins from different site?

Solution Go into the Manage Jenkins > Manage Plugins (PluginManager) > Advanced tab after that at the bottom we can see Update Site section. Update with the new site URL.
https://updates.jenkins.io/

How many categories available in the Experimental Plugin Site?

Solution There is only alpha and beta.
https://updates.jenkins.io/#experimental-plugin-site

In case of Version-Specific Update Sites, what is the format to update site for a specific version?

Solution Jenkins added a query parameter ?version to the update site URL for a specific version number. So format is:
https://updates.jenkins.io/update-center.json?version=2.263.1
We specified version number to look only for that version specific updates not for all (version) one which is available in the Update Center.
https://updates.jenkins.io/#version-specific-update-sites

By default, Timestamper is a builtin feature of Jenkins or install through plugin based?

Solution Timestamper plugin based. By default, It's not available in the Jenkins instance. We have to install its plugin. It's used to define Time Format.
https://www.jenkins.io/doc/pipeline/steps/timestamper/

Where can we update the system admin e-mail address?

Solution In the Manage Jenkins > Configure System > Jenkins Location.

In which file, it stores the details of Update Site URL in the system?

Solution It's store in the file hudson.model.UpdateCenter.xml. Which is located in the path /var/lib/jenkins/ in Linux distribution. May be different as per installation process. We can add/update Update Site URL into that file also and restart the Jenkins service after made changes.
https://stackoverflow.com/a/37989185/12522533

Most popular build tools in Jenkins:

Solution Build Tools: Gradle, Groovy, Ant, Maven and NPM etc.
https://plugins.jenkins.io/

Can we install multiple versions of JDK package from the Jenkins Web UI?

Solution Yes, we can install multiple versions of JDK package in the system as per use cases through Jenkins Web UI.
Go into the Manage Jenkins > Global Tool Configuration > JDK.
We can also install JDK from Oracle site and locally available archive file. All different kind of options are available in the Add Installer tab.
https://www.jenkins.io/doc/administration/requirements/upgrade-java-guidelines/
https://plugins.jenkins.io/jdk-tool/

Can we install Maven automatically in the Jenkins?

Solution Yes, We have to tick mark the option to Install automatically in the Manage Jenkins > Global Tool Configuration > Maven.
First Maven plugin should be installed and configured to use.
We can install direct from the Apache site or locally available archive file. All different kind of options are available in the Add Installer tab.

Is it possible to restart the Jenkins without access Jenkins Service in the system?

Solution Yes, it's possible via Reload Configuration from Disk option. It's located in the bottom at Manage Jenkins.
Highlighted section - Tools and Actions.
https://support.cloudbees.com/hc/en-us/articles/209691677-What-does-Reload-Configuration-from-Disk-do

In the Manage Plugins, installed plugin section a few of the plugins are blocked (cannot be disabled/uninstall). What is the reason behind that?

Solution Because they have one or more enabled dependents. For an e.g. Pipeline: Groovy dependent on Pipeline, Pipeline: Declarative, Pipeline: Shared Groovy Libraries, Pipeline: Multibranch, Pipeline: Declarative Extensions Points API etc.

What is the original project name and year of renamed original project to Jenkins?

Solution The original project name is Hudson and renamed into Jenkins in 2011.

Does the pipeline runs each time if the code is modified?

Solution Yes
https://www.jenkins.io/doc/book/pipeline/

What is the other name of Source Code Management System (SCM)?

Solution Version Control System (VCS).
https://www.cloudbees.com/blog/source-code-management-more-just-git

By default, we will get any VCS installed in Jenkins instance/controller?

Solution No, It's available after installed and configured respective VCS plugin.

How Jenkins will trigger your code modifications/changes from the cloud-based SCM repository?

Solution Through Source Code Management > Build Triggers > Poll SCM. We have to set the schedule in Poll SCM to check in every sec/min/hr/day/week/month.
Format is based on the cron. (* * * * *)
https://crontab.guru/
https://stackoverflow.com/q/10121098/12522533

List the different types of testing which is fast in the Jenkins?

Solution Unit testing, integration testing, and smoke testing

What is the name of testing, which can be run in the same order, parallel and define different tests to run at different stages?

Solution Yes, it is Automated testing.
https://www.jenkins.io/doc/developer/testing/

Which one is testing the small piece of code?

Solution It's Unit tests.

What is the minimum requirements to run a Jenkins?

Solution current versions of Linux/Windows/macOS/Unix|BSD, Java 8 or 11, Jenkins LTS runs on Java 11 in Release 2.164.1 or newer.

What is the runtime requirements for JVM to run a Jenkins?

Solution Java Virtual Machine (JVM) must be tuned:
Memory Heap size: -Xms1G -Xmx2G
G1 garbage collector for heap > 4GB : -XX:+UseG1GC
-XX:+UseG1GC: enables the G1 Garbage Collector

https://docs.cloudbees.com/docs/admin-resources/latest/jvm-troubleshooting/#suggested-specifications

What is the runtime requirements for Operating System to run a Jenkins?

Solution Operating system limits max number of open files, max number of forked processes, network tuning (packet size, TCP timeouts).

In what situation, disk usages grows over time on Jenkins?

Solution When we start to build the host jobs and due to distance of host, it increases files size. Because Jenkins writes a lot of files (Artifacts, logs and other files) as it processes builds.

What is the disk requirements to run a Jenkins?

Solution In Jenkins, bigger disk is good but low latency SSD disk is perfect.

NFS, SAN supported by Jenkins?

Solution Yes
https://support.cloudbees.com/hc/en-us/articles/217479948-NFS-Guide

During processes of builds what kind of files it generates?

Solution Artifacts, logs and other files (tmp/xml).

Can back up Jenkins files to a local directory then copy those files to an external location?

Solution Yes, We can. But must have enough space on the disk to accommodate the backed up files.
Instead of create a separate filesystem for the backup directory.

Which volume type is supported by Linux/Windows?

Solution Spanned volume on Windows.
LVM on Linux but not recommended for initial level because have to do upfront planning for this.
https://www.jenkins.io/doc/book/scaling/architecting-for-scale/#scalable-storage-for-master

List all the Build Status.

Solution Aborted: Interrupted before it reaches its expected end.
Failed: Failed due to fatal error.
Stable: The Build was Successful and no Publisher reports it as Unstable.
Successful: No compilation errors.
Unstable: The Build had some errors but they were not fatal. A Build is unstable if it was built successfully and one or more publishers report it unstable.
https://www.jenkins.io/doc/book/glossary/#build-status

Where can we set the new URL to access Jenkins?

Solution You have to move into the Manage Jenkins > Configure System, after drop down you will see Jenkins Location where you have to set the new URL in Jenkins URL. URL should be ideal/easy.

Which section covers the controlling or restriction access to third party sites and applications through credentials?

Solution It's a Manage Jenkins > Configure Credential Providers.
Like Artifact Repositories, Cloud-based Storage Systems, Services and so on.
https://www.jenkins.io/doc/book/using/using-credentials/#using-credentials

Which type of credentials it supports in Jenkins to access third party providers/applications?

Solution Secret text: A token such as an API token (e.g. a GitHub personal access token).
Username and password: Which could be handled as separate components or as a colon separated string in the format username:password. (e.g. david:s8*4123dhf)
Secret file: Which is essentially secret content in a file.
SSH Username with private key: An SSH public/private key pair.
Certificate: A PKCS#12 Certificate file and optional Password.
Docker Host Certificate Authentication credentials.

Where can we run an arbitrary Groovy script on the server in Jenkins UI?

Solution You have to move into the Manage Jenkins > Script Console.
Scripts execute in a Groovy Sandbox that limits the internal APIs that are accessible. To secure unsafe method to display result in the Jenkins environment, Admin can use Script Security Plugin.
https://www.jenkins.io/doc/book/managing/script-console/#script-console

Where can we add, remove, control and view the nodes in Jenkins?

Solution Manage Jenkins > Manage Nodes and Clouds
https://wiki.jenkins.io/display/JENKINS/Distributed+builds

Where can we add/delete/modify user to the Jenkins User Database and lists all the users who are in that Database?

Solution Go into the Manage Jenkins > Manage Users
https://wiki.jenkins.io/display/jenkins/standard+security+setup

Who manages the executors on a remote node on behalf of Jenkins?

Solution Agent
https://support.cloudbees.com/hc/en-us/articles/216456477-What-is-a-Jenkins-Executor-and-how-can-I-best-utilize-my-executors

In which location we can set the executors in the Jenkins UI?

Solution We can set the executors in the multiple locations, which are : Manage Jenkins > Configure System and Manage Jenkins > Manage Nodes and Clouds (in the Node's Configure Settings)

From which section we can monitor the resource utilization of Jenkins instance?

Solution It's a Manage Jenkins > Load Statistics.

Where can we see the activities or information of processes running on the Jenkins?

Solution In the System Log from the Manage Jenkins.
It doesn't contain build logs.
https://www.jenkins.io/doc/book/system-administration/viewing-logs/

Where can we set the custom log recorder in the Jenkins?

Solution Move into the Manage Jenkins > System Log > Add New Log Recorder.
https://www.jenkins.io/doc/book/system-administration/viewing-logs/#logs-in-jenkins

What kind of reports contain Load Statistics about nodes configured on Jenkins? 

Solution Number of online executors.
Number of busy executors.
Number of available executors.
Queue length (number of jobs that are waiting for an available executor).

Where can you see the list of system properties, environmental variables, memory usages, thread dumps and plugins all at once in the Jenkins?

Solution You can see from the Manage Jenkins > System Information.
System Properties that can be used as arguments to the command line to start Jenkins and Environment Variables with current values.

Where can we see the list of installed plugins in the Jenkins?

Solution In the Manage Jenkins > Manage Plugins under the installed tab and in the Manage Jenkins > System Information under the Plugins section.

What is the name of page where can we see the release and version details of Jenkins?

Solution In the Manage Jenkins > About Jenkins page.

Where can we see the list of third party libraries and about each libraries details?

Solution In the Manage Jenkins > About Jenkins page.

What is the location of license and dependency information for plugins in the Jenkins?

Solution In the Manage Jenkins > About Jenkins page. Contain links of all third-party dependencies for each plugins. 

Where is located the Jenkins CLI page in the Jenkins?

Solution It's located at Manage Jenkins > Jenkins CLI. It's used to access and manage Jenkins from a shell or from a script.
https://www.jenkins.io/doc/book/managing/cli/

How can we remove the old data from the Jenkins instance?

Solution Go into the Manage Jenkins > Manage Old data.
https://www.jenkins.io/doc/book/managing/plugins/#removing-old-data

What is the extension of Jenkins plugin files?

Solution .hpi or .jpi extension.
https://stackoverflow.com/questions/30658375/what-is-difference-between-hpi-and-jpi-of-jenkins-plugins

What is the Jenkins argument to change the directory where the plugins are being installed?

Solution Option is --pluginroot.
https://support.cloudbees.com/hc/en-us/articles/115000486312-CloudBees-CI-CloudBees-Core-Performance-Best-Practices-for-Linux#jenkinshomesharedstorage

How can we downgrade the installed plugins if something wrong happens?

Solution From Jenkins GUI, it's not possible. Instead, we have to install the old version or different version after that put the .hpi plugin file into the path $JENKINS_HOME/plugins.
https://www.jenkins.io/doc/book/managing/plugins/#on-the-master

What is the mean of greyed-out check marks and no uninstall button for plugins in the Installed tab from the Manage Plugins?

Solution That's means that are required by other plugins.

If we uninstall the plugin after that plugin will work until we will not restart the Jenkins?

Solution Yes, plugin continues to function until you restart Jenkins.
After a restart, plugin does not appear in the Jenkins GUI and all extensions it contributed disappear.
https://wiki.jenkins.io/display/JENKINS/Removing+and+disabling+plugins

After uninstall the plugin, it will also remove the configuration files that it's created?

Solution No, it will not remove that configuration files. We can use Manage Old Data page to remove those configuration files left by an uninstalled plugin.

Can we remove the plugin binary from $JENKINS_HOME/plugins directory to remove the plugin?

Solution Yes, we can remove .hpi or .jpi file from the $JENKINS_HOME/plugins directory to remove/uninstall the plugin.

*.jpi.disabled or *.hpi.disabled files available in the $JENKINS_HOME/plugins directory. What is the meaning of that file in Jenkins?

Solution That means the plugin is disabled and contains suffix .disabled at the end of the plugin file. 
https://support.cloudbees.com/hc/en-us/articles/204323074-How-to-disable-a-plugin-when-Jenkins-is-down-

How can we clean up configurations left by uninstalled and disabled plugins in the Jenkins?

Solution We can choose the Manage Jenkins > Manage Old Data page to clean up those configuration files.
https://www.jenkins.io/doc/book/managing/plugins/#removing-old-data

How can we notify the admin for success of job builds via notification?

Solution Through email, slack and SMS notifications etc. Many third party plugins are available to send notification messages.
https://www.cloudbees.com/blog/sending-notifications-pipeline
https://www.jenkins.io/blog/2017/02/15/declarative-notifications/

Folders can be nestable in the Jenkins? (e.g. folder-A/folder-B/folder-C)

Solution Yes, we can create nested subfolders in the Jenkins.
https://docs.cloudbees.com/docs/admin-resources/latest/plugins/folder

What is the default location of logs on Linux Systems for Jenkins?

Solution By default, logs are available in /var/log/jenkins/jenkins.log.
Log location can be customized:
In /etc/default/jenkins (for *.deb)
In /etc/sysconfig/jenkins (for *.rpm)
https://www.jenkins.io/doc/book/system-administration/viewing-logs/#viewing-logs

What is the default location of logs on Windows Systems for Jenkins?

Solution By default logs should be at %JENKINS_HOME%/jenkins.out and %JENKINS_HOME%/jenkins.err
Log location can be customized:
In %JENKINS_HOME%/jenkins.xml
https://www.jenkins.io/doc/book/system-administration/viewing-logs/#windows

Where can we check logs on Jenkins GUI?

Solution In the Manage Jenkins > System Log.
https://www.jenkins.io/doc/book/system-administration/viewing-logs/#logs-in-jenkins

Is it possible to create a custom log recorder? If yes, then where can we create?

Solution In the Manage Jenkins > System Log > New Log Recorder.
Path is http://localhost:8080/log/new

To monitor the server loads and displays a graph of the server load time for the master node which four metrics should be consider?

Solution Number of online executors, Number of busy executors, Number of available executors and Queue length.

Name of open source plugins are available for monitoring.

Solution some of the popular ones are:
Monitoring, Disk Usage and Build Monitor.
https://www.jenkins.io/doc/book/system-administration/monitoring/

What is the default Job type available in the Jenkins without installing plugin?

Solution Freestyle project

How can we configure the job build from the host system of Jenkins controller instead of Web UI?

Solution To configure into the main configuration file under the $JENKINS_HOME/jobs/[JOB_NAME]/config.xml.
https://www.jenkins.io/doc/book/managing/system-properties/#jenkins-model-jenkins-buildsdir

What is the command to list the available jobs in the Jenkins by Jenkins CLI?

Solution java -jar jenkins-cli.jar -s http://JENKINS_URL list-jobs