Jenkins MCQs with answers Page - 1

Here, you will find a collection of MCQ questions on Jenkins. Go through these questions to enhance your preparation for upcoming examinations and interviews.

To check the correct answer, simply click the View Answer button provided for each question.

Have your own questions to contribute? Click the button below to share your MCQs with others!

+ Add Question

S

Satya • 3.38K Points
Extraordinary

Q. What is Jenkins primarily used for?

  • (A) Managing databases
  • (B) Version control
  • (C) Continuous Integration and Continuous Delivery (CI/CD)
  • (D) Hosting websites

S

Satya • 3.38K Points
Extraordinary

Q. Which programming language is Jenkins primarily written in?

  • (A) Python
  • (B) Ruby
  • (C) Java
  • (D) C++

S

Satya • 3.38K Points
Extraordinary

Q. What is a Jenkins Pipeline?

  • (A) A database connection
  • (B) A set of automated steps for CI/CD
  • (C) A plugin for Jenkins
  • (D) A container orchestration tool

S

Satya • 3.38K Points
Extraordinary

Q. Which file is typically used to define a Jenkins pipeline?

  • (A) pipeline.yaml
  • (B) jenkinsfile
  • (C) build.json
  • (D) config.xml

S

Satya • 3.38K Points
Extraordinary

Q. What is the default port number Jenkins runs on?

  • (A) 8080
  • (B) 80
  • (C) 443
  • (D) 22

S

Satya • 3.38K Points
Extraordinary

Q. Which of the following best describes a Jenkins job?

  • (A) A Docker container
  • (B) A repository
  • (C) A task or build configuration
  • (D) An IDE project

S

Satya • 3.38K Points
Extraordinary

Q. How does Jenkins execute shell commands in a pipeline?

  • (A) Using the 'cmd' block
  • (B) Using the 'sh' step
  • (C) Using the 'exec' step
  • (D) Using the 'run' block

S

Satya • 3.38K Points
Extraordinary

Q. What plugin is used to integrate Git with Jenkins?

  • (A) GitHub Plugin
  • (B) Git Plugin
  • (C) SCM Plugin
  • (D) Repo Plugin

S

Satya • 3.38K Points
Extraordinary

Q. Which type of build trigger starts a Jenkins job at regular intervals?

  • (A) SCM polling
  • (B) Webhook trigger
  • (C) Manual build
  • (D) Cron trigger

S

Satya • 3.38K Points
Extraordinary

Q. What does the 'Blue Ocean' plugin provide in Jenkins?

  • (A) A new theme for Jenkins
  • (B) A CLI for Jenkins
  • (C) A modern UI for pipelines
  • (D) Database support