1. What is the primary role of Jenkins Master in the Jenkins architecture?
a) Execute build jobs
b) Distribute tasks to Jenkins Slaves
c) Manage the web interface
d) All of the above
*Answer: d) All of the above*
2. What component of Jenkins architecture is responsible for executing Jenkins
jobs?
a) Jenkins Master
b) Jenkins Slave
c) Jenkins Node
d) Jenkins Executor
*Answer: a) Jenkins Master*
3. Which component of Jenkins architecture directly interacts with users
through the web interface?
a) Jenkins Master
b) Jenkins Slave
c) Jenkins Node
d) Jenkins Executor
*Answer: a) Jenkins Master*
4. What is the primary function of Jenkins Slave in the Jenkins architecture?
a) Manage the web interface
b) Execute build jobs
c) Distribute tasks to other slaves
d) All of the above
*Answer: b) Execute build jobs*
5. Which Jenkins component is responsible for managing and scheduling build
jobs?
a) Jenkins Master
b) Jenkins Slave
c) Jenkins Node
d) Jenkins Executor
*Answer: a) Jenkins Master*
**Installing Jenkins:**
6. Which operating systems are officially supported for installing Jenkins?
a) Windows
b) macOS
c) Linux
d) All of the above
*Answer: d) All of the above*
7. What is the recommended method for installing Jenkins on Linux?
a) Using package managers like apt or yum
b) Downloading and running the Jenkins installer script
c) Installing from source code
d) Using a Docker container
*Answer: a) Using package managers like apt or yum*
8. Which component of Jenkins should you install if you want to set up a
distributed build environment?
a) Jenkins Master
b) Jenkins Slave
c) Jenkins Node
d) Jenkins Executor
*Answer: a) Jenkins Master*
9. During the installation process, which port is commonly used to access the
Jenkins web interface?
a) 8080
b) 9090
c) 8000
d) 8888
*Answer: a) 8080*
10. Which of the following is NOT a prerequisite for installing Jenkins?
a) Java Runtime Environment (JRE)
b) Git
c) Apache Maven
d) None of the above
*Answer: b) Git*
11. What is the default installation directory for Jenkins on Linux systems?
a) /opt/jenkins
b) /usr/local/jenkins
c) /var/lib/jenkins
d) /home/jenkins
*Answer: c) /var/lib/jenkins*
12. Which of the following is true regarding Jenkins installation on Windows?
a) It requires manual compilation from source code
b) It can be installed as a Windows service
c) It is only available through the Windows Store
d) None of the above
*Answer: b) It can be installed as a Windows service*
13. Which installer package format is commonly used for installing Jenkins on
macOS?
a) .exe
b) .msi
c) .dmg
d) .rpm
*Answer: c) .dmg*
14. Which of the following is NOT a method for accessing Jenkins post-
installation?
a) Using the web interface
b) Using the Jenkins CLI
c) Using SSH
d) Using a GUI application
*Answer: d) Using a GUI application*
15. What is the purpose of Jenkins CLI?
a) To manage Jenkins plugins
b) To interact with Jenkins from the command line
c) To configure Jenkins security settings
d) None of the above
*Answer: b) To interact with Jenkins from the command line*
16. What is the role of the Jenkins Executor in the Jenkins architecture?
a) Manage Jenkins configuration settings
b) Execute build jobs on Jenkins Nodes
c) Handle user authentication
d) All of the above
*Answer: b) Execute build jobs on Jenkins Nodes*
17. Which component of Jenkins architecture stores configuration files, job
definitions, and build artifacts?
a) Jenkins Master
b) Jenkins Slave
c) Jenkins Node
d) Jenkins Executor
*Answer: a) Jenkins Master*
18. What is the purpose of Jenkins Agents in a distributed Jenkins environment?
a) To manage Jenkins users and permissions
b) To execute Jenkins jobs on behalf of the Jenkins Master
c) To provide access control for Jenkins resources
d) None of the above
*Answer: b) To execute Jenkins jobs on behalf of the Jenkins Master*
19. In Jenkins terminology, what is a "pipeline"?
a) A graphical representation of Jenkins architecture
b) A sequence of stages defining the continuous integration and delivery
process
c) A Jenkins plugin for managing Docker containers
d) A type of Jenkins Executor
*Answer: b) A sequence of stages defining the continuous integration and
delivery process*
20. Which Jenkins component is responsible for managing plugins and
extending Jenkins functionality?
a) Jenkins Master
b) Jenkins Slave
c) Jenkins Node
d) Jenkins Plugin Manager
*Answer: a) Jenkins Master*
**Installing Jenkins:**
21. Which version control system is commonly used for storing Jenkins
configuration files and job definitions?
a) Git
b) SVN
c) Mercurial
d) All of the above
*Answer: a) Git*
22. What is the recommended approach for backing up Jenkins configurations
and data?
a) Manually copying files from the Jenkins installation directory
b) Using the Jenkins backup plugin
c) Exporting configurations from the Jenkins web interface
d) All of the above
*Answer: b) Using the Jenkins backup plugin*
23. Which of the following is NOT a method for upgrading Jenkins to a newer
version?
a) Using the Jenkins Upgrade Wizard
b) Manually downloading and replacing the Jenkins WAR file
c) Using the Jenkins plugin manager to update core components
d) None of the above
*Answer: a) Using the Jenkins Upgrade Wizard*
24. During the Jenkins installation process, which step typically involves setting
up initial administrative credentials?
a) Installation of plugins
b) Configuration of Jenkins URL
c) Creation of the first administrative user
d) All of the above
*Answer: c) Creation of the first administrative user*
25. What is the purpose of the Jenkins Setup Wizard?
a) To configure Jenkins security settings
b) To guide users through the initial Jenkins setup process
c) To install Jenkins plugins
d) None of the above
*Answer: b) To guide users through the initial Jenkins setup process*
26. Which of the following authentication methods is NOT supported by
Jenkins?
a) Username/password
b) LDAP
c) OAuth
d) None of the above
*Answer: d) None of the above*
27. What is the default behavior of Jenkins regarding anonymous access?
a) Anonymous users have read-only access
b) Anonymous users have full administrative access
c) Anonymous access is disabled by default
d) None of the above
*Answer: a) Anonymous users have read-only access*
28. Which component of Jenkins is responsible for managing Jenkins user
accounts and permissions?
a) Jenkins Master
b) Jenkins Slave
c) Jenkins Node
d) Jenkins Security Manager
*Answer: a) Jenkins Master*
29. What is the purpose of the Jenkins Plugin Manager?
a) To install and manage Jenkins plugins
b) To manage Jenkins user accounts
c) To execute build jobs
d) None of the above
*Answer: a) To install and manage Jenkins plugins*
30. Which Jenkins component is responsible for managing system
configurations such as global tool installations and email notification settings?
a) Jenkins Master
b) Jenkins Slave
c) Jenkins Node
d) Jenkins Configuration Manager
*Answer: a) Jenkins Master*