Skip to content

Instantly share code, notes, and snippets.

@manuelta
Created October 25, 2018 12:08
Show Gist options
  • Save manuelta/dfea3e5e3354c93404600b37a6354cfa to your computer and use it in GitHub Desktop.
Save manuelta/dfea3e5e3354c93404600b37a6354cfa to your computer and use it in GitHub Desktop.
Jenkins Ans 1
Question 2
We can copy a job directory to clone or replicate a job or rename the directory State True or False
Select one
a True
b False
Ans- a
Question 3
Which screen in Jenkins displays the length of the build queue which gives an idea of how long your builds executed?
a Load Statistics
b System Information
ans- a
Question 4
Which screen in Jenkins displays graphical data on how busy the Jenkins instance is in terms of the number of concurrency
Select one
a Load Statistics
b Plugins
c Information View
d Log Page
Ans – a
Question 5
On the Jenkins Dashboard which of these items are not present?
a. Build History
b. Connect
c. Manage Jenkins
d. People
Ans- b
Question 6
Which Plugin is used to transfer the build files after a successful build to he respective application/web server?
Select one
a Build to container Plugin
b. Deploy to Plugin
c Archive lo container Plugin
d Deploy to container Plugin
Ans- d
Question 7
---------Jenkins home directory in Linux?
Select one
a export JENKINS_HOME =/usr/local/Jenkins
b export HOME_JENKINS_ENV = /usr/local/Jenkins
c export JENKINSHOME = usr/local/Jenkns
d import JENKINS_HOME = usr/local/Jenkins
Ans - a
Question 8
The basic functionality of Jenkins is to execute a predefined list of steps, e.g. to compile Java source code and build a JAR from the resulting classes State True or False
Select one
a. True
b. False
Ans - True
Question 9
There are various plugins which are available in Jenkins to showcase metrics for builds which are carried out over a period of time state True or False
Ans - True
Question 10
Which is the valid usecase in Git-Jenkins Integration?
Ans - Integrate jenkins with GitHub in sucha way that commiting a change to the repository, the build should be triggered automatically
Question 11
Can we perform remote testing using Jenkins?
(i) Possible using Junit
(ii) Possible using Selenium Test
a. Both (i) & (ii)
b. ii only
c. Not possible at all
d i only
Ans. b
Question 12
By default Jenkins run on which port?
Ans - 8080
Question 13
Which concept is meant to remove the problem of finding later occurrence of issues in the built lifecycle?
a Integration Testing
b Continuous Review
c Continuous integration
Ans – c
Question 15
Jennkins has a backup plugin which can used to backup critical configuration settings related to Jenkins State True or False
Select one
Ans- True
Question 16
Hudson was the earlier name and version of current Jenkins. After some issue, the project name was changed from Hudson to Jenkins
State True or False
Select one
Ans – True
Question 17
CD stands for
a continuous Delivery
b Continuous Deletion
c Continuous development
d Continuous Deployment
Ans – d
Question 18
Which of the following is correct about Jenkins?
Select one
a is an open source automation server
b Jenkins is forked rom Hudson
C All of the listed options
d Witten n Java
Ans – c
Question 19
Which tool is used to track on version control system and to initiate and monitor a build system it changes occur?
a. Ant
b Jenkins
c. Maven
d. Git
Ans – b
Question 20
Build in ne Jenkins can be triggered by
Ans – all of the listed options
Question 21
The main purpose of bamboo tool is
i Continuous Integration
ii. Version Control System
a i only
b ii only
d. Neither i nor ii
Ans. a
Question 22
Which of the following Version control tools is not supported by Jenkins?
Select one
a vault
b Subversion
c Git
d Perforce
Ans- d
Question 23
Jenkins Web archive can be downloaded from
Select one
Ans- http://jenkins-ci.org/
Question 27
By Default, what types of releases are available for download from Jenkins Website?
O a All of the listed options
O b Pat releases
O c. Latest Release
o d. Long term release
Ans – d
Question 28
We cannot set up credentials to login into Jenkins Dashboard State True or False
Ans – False
Question 29
To unlock Jenkins it requires entering an initial administrator password which is printed on your file system and on the application server console too
Ans - True
Question 30
Access control can be customized via two ways What are they?
i user authentication
Ii authorization
a. Neither i or ii
b. i only
c. ii only
d. Both i & ii
Ans - d
=======================================================================
1. Which of the following ways can be used to schedule a build in Jenkins?
a. Can be scheduled to run at a specific time
b. By source code management commits
c. All the listed Options
d. After completion of other builds
Ans : C
2. Jenkins can be executed which of the following types of Projects, Select One
a. Ant
b. Maven
c. All the listed options
d. SBT
Ans : C
3. We cannot create a back and copy files in Jenkins. State True or false
a. True
b. False
Ans : b
4. Jenkins cannot execute which of the following types of Projects? Select One
a. Talend Project
b. ANT
c. Maven
d. SBT
Ans : A
5. MTTF Stands for
a. Meant time to failure
b. Mean time to failure
c. Mean time to Finish
d. Median time to Failure
Ans : B
6. Metrics & trends plugin calcite which of the following metrics for all of the builds once installed
a. All the listed Options
b. Standard Deviation of Build times
c. Mean time to Recovery(MTTR)
d. Mean time to Failure(MTTF)
Ans : A
7. Which plugin is used to transfer the build files after a successful build to the respective application/ web server?
a.
b. Deploy to container plugin
c. Deploy to plugin
d. Build to container plugin
8. Static Analysis collector plugin provides which of the following information, Select One
a. Trend report showing the number of warning per build
b. The total number of warning in a job
c. All the listed options
d. A showing of the new and fixed warning of a build
Ans : C
9. Jenkins provide code analysis Plugin, State true or false, Select One
a. True
b. False
Ans : True
10. Jenkins functionality can be extended with, Select One
a. A cloud computing
b. Plugins
c. Eclipse
d. Dot net
Ans : B
11. Jenkins application is basically, Select One
a. Static website
b. None of the listed options
c. Enterprise application
d. Web Application
Ans : D
12. Which of the following are the build trigger option? Select One
a. All the listed options
b. Poll SCM
c. Build Periodically
d. Build after other projects are build
Ans : A
13. In which screen, you can configure how many builds you want, Select one
a. Script log
b. None of the listed options
c. Manage Nodes
d. System information
Ans : C
14. Jenkins Home can be set using the system variable, Select One
a. HOME_JENKINS
b. JENKINS_HOME
c. HOME
d. JENKINSHOME
Ans : B
15. On configuring job in Jenkins, which options are available, Select One
a. Freestyle project
b. External Job
c. Maven
d. All the listed Options
Ans : D
16. What are the components Jenkins is mainly integrated with, Select One
a. None of the listed Options
b. Version control system like GIT, SVN
c. Build tools like Apache Maven
d. Both 1 & 2
Ans : D
17. Which of these is not a build technology, Select One
a. Jenkins
b. Maven
c. Ant
d. All the listed options
Ans : A
18. Which of the following is correct about Jenkins, Select One
a. All the listed options
b. Is an Open source automation server.
c. Written in java
d. Jenkins is forked from Hudson
Ans : A
19. Jenkins is written in which language
a. Java
b. Dot net
c. C++
d. Python
Ans : A
20. What is not possible in Jenkins, Select one
a. Artificial intelligence
b. Metrics
c. Automatic deployment
d. Trending
Ans : A
21. Which if the following is not applicable for Jenkins, Select one
a. Does not have the provision to stop the build in case of failure in any of the steps
b. Perform the code compilation & build the software with ANT, Maven or Gradle
c. Run and internal shell Script
d. Monitoring the execution of the above tasks
Ans : C
22. Jenkins was originally developed as _______ Project, Select one
a. Lime
b. Proctor
c. Perforce
d. Hudson
Ans : D
23. Jenkins web archive can be downloaded from, Select one
a. None of the listed options
b. http://jenkin-ci.org
c. http://jenkins-ci-cd.org
d. http://jenkins-ci.org
Ans: A
24. After the command “ Java – jar Jenkins.war” is run, various task will run, one of which the execution the war file in which is a webserver called winstone, State True or False
a. True
b. False
Ans : B
25. Jenkins can be installed in which of the following operation system, Select one
a. All the listed options
b. CentOS
c. Windows
d. Ubuntu
Ans : A
26. With Jenkins tomcat setup, which of the following to be installed, select one
a. Java
b. None of the listed options
c. Bothe 1 & 2
d. Tomcat
Ans : C
27. What is the minimum JDK version is required to install Jenkins, Select one?
a. JDK 1.6 or newer
b. JDK 1.7 or newer
c. JDK 1.5 or newer
d. JDK 1.4 or newer
Ans : D
28. We cannot setup credentials to login to Jenkins dashboard, State true or false
a. True
b. False
Ans : False
29. For windows authentication which plugin need to be installed in Jenkins
a. Active Directory
b. None of the listed options
c. LDAP
d. Linux secure Directory
Ans : A
30. Jenkins security can be used for
i. Authentication
ii. Authorization
a. Neither i nor ii
b. ii only
c. i only
d. both i and ii
Ans : D
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment