Continuous Integration with Jenkins Interview Questions and Answers

Q.1 Jenkins allows you to parse the code with tools like _______.

       A. Findbugs

       B. CheckStyle

       C. All of the options

       D. None of the options

Ans : All of the options


Q.2 Project type supported by Jenkins is/are:

       A. External

       B. Multi-Configuration

       C. Free-style

       D. All of the options

Ans : All of the options


Q.3 Which of the following statement is true about Jenkins?

       A. Jenkins supports plugins to showcase both metrics and trends

       B. Jenkins supports plugins to depict trends only

       C. Jenkins supports plugins to report metrics only

       D. None of the options

Ans : Jenkins supports plugins to showcase both metrics and trends


Q.4 Which one of the following functionality is not supported by Jenkins?

       A. Build

       B. Test

       C. Deploy

       D. Code

Ans : Code


Q.5 Jabber is a :

       A. Build plugin

       B. Deployment plugin

       C. Messaging plugin

Ans : Messaging plugin


Q.6 Jenkins allows you to parse the code with tools like _______.

       A. Findbugs

       B. PMD

       C. All of the options

       D. None of the options

Ans : All of the options


Q.7 Jenkins can manage dependencies using ____________.

       A. Distributed Build

       B. File Fingerprinting

       C. Build Configuration

       D. None of the options

Ans : File Fingerprinting


Q.8 ‘Copy artifacts’ is an option that is available for selection under the ___________.

       A. Build Triggers

       B. Post-Build Actions

       C. Build Environment

       D. Build Step

Ans : Build Step


Q.9 Which of the following statement is correct about the build status images?

       A. ‘Partial Sun with clouds’ icon in the status means all of the recent builds have failed

       B. ‘Partial Sun with clouds’ icon in the build status means 40-60% of the recent builds have failed

       C. ‘Partial Sun with clouds’ icon in the status means 60-80% of the recent builds have failed

       D. ‘Partial Sun with clouds’ icon in the status means 20-40% of the recent builds have failed

Ans : ‘Partial Sun with clouds’ icon in the status means 20-40% of the recent builds have failed


Q.10 If you have multiple projects, and if you need to check for new updates, every five minutes, which is the correct CRON expression that Jenkins can use to avoid polling of all the projects at the same time.

       A. */5 * * * *

       B. H/5 * * * *

       C. 5 * * * *

       D. None of the options

Ans : H/5 * * * *


Q.11 A build can be triggered ______________.

       A. At a specific time

       B. By source code management commits

       C. After completion of other builds

       D. Manual Build Requests

       E. All of the options

Ans : All of the options


Q.12 Jenkins build job cannot be triggered manually.

       A. True

       B. False

Ans : False


Q.13 Functional testing can be automated using Jenkins.

       A. True

       B. False

Ans : True


Q.14 After you configure backup settings using the backup plugin, backup jobs will run automatically and start taking backups at the prescribed interval.

       A. True

       B. False

Ans : False


Q.15 User security in Jenkins can be defined using :

       A. Project based matrix authorization

       B. Both matrix and project based authorization

       C. Matrix based security

       D. None of the options

Ans : Both matrix and project based authorization


Q.16 Master and slave nodes communicate through __________.

       A. separate socket connection

       B. DCOM

       C. All of the options

       D. None of the options

Ans : All of the options


Q.17 Jenkins supports:

       A. 100+ community contributed plugins

       B. 900+ community contributed plugins

       C. 600+ community contributed plugins

       D. 1000+ community contributed plugins

Ans : 1000+ community contributed plugins


Q.18 Backups can be automated using :

       A. Backup Plugin

       B. ThinBackup plugin

       C. Backup Manager

       D. None of the options

Ans : ThinBackup plugin


Q.19 Number of concurrent job executions can be mentioned in the ______________ is a continuous integration tool.

       A. Build Triggers Section

       B. Configure System

       C. Project Configuration Section

Ans : Configure System


Q.20 File usage across Jenkins jobs can be tracked using ____________.

       A. Fingerprints

       B. Plugins

       C. Distributed build

       D. All of the options

Ans : Fingerprints


Q.21 Which architecture is prescribed for a scalable Jenkins environment?

       A. Distributed Builds

       B. Manual Polling

       C. Automatic Builds

       D. Central Master

Ans : Distributed Builds


Q.22 Job status notifications can be sent in JSON or XML formats from Jenkins without extending its functionality.

       A. True

       B. False

Ans : False


Q.23 Jenkins is a/an ______________ that can accelerate software development process.

       A. open source automation server

       B. free source automation server

Ans : open source automation server


Q.24 ‘Archiving the artifacts’ is an option that is present for selection under the _________.

       A. Job notifications

       B. Build Triggers

       C. Build Step

       D. Post-Build actions

Ans : Post-Build actions


Q.25 Jenkins can be configured for monitoring external jobs such as CRON jobs:

       A. Select the ‘Monitor External job’ option under ‘Post Build Actions’ section

       B. Select the ‘External’ project type

       C. Select the ‘Monitor External job’ option under ‘Build Triggers’ section

       D. Select the ‘Monitor External job’ option under ‘Build Step’ section

Ans : Select the ‘Monitor External job’ option under ‘Post Build Actions’ section


Q.26 ______________ is a continuous integration tool.

       A. Ansible

       B. Teamcity

       C. Nexus

       D. Maven

Ans : Teamcity


Q.27 In a distributed environment, reporting can be performed using _________.

       A. Master Node

       B. Slave Node

       C. both slave and master node

       D. None of the options

Ans : both slave and master node


Q.28 Users can now implement the entire build, deploy and test using _________.

       A. Deploy Plugin

       B. Build flow plugin

       C. Pipeline Plugin

       D. All of the options

Ans : Pipeline Plugin


Leave a Comment