Jenkins MCQs with answers Page - 5

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 • 2.41K Points
Master

Q. Which of the following is not a Jenkins trigger?

  • (A) Poll SCM
  • (B) Build periodically
  • (C) Webhook trigger
  • (D) Memory trigger

S

Satya • 2.41K Points
Master

Q. What is the function of the 'tools' block in Jenkins pipeline?

  • (A) To define test cases
  • (B) To specify Jenkins agents
  • (C) To install and configure tools like JDK, Maven, etc.
  • (D) To run scripts

S

Satya • 2.41K Points
Master

Q. How can Jenkins jobs be triggered automatically by GitHub?

  • (A) Using Git commands
  • (B) Using GitHub webhooks
  • (C) Using Jenkins timers
  • (D) Using polling

S

Satya • 2.41K Points
Master

Q. Which Jenkins plugin allows storing credentials securely?

  • (A) Security Plugin
  • (B) Vault Plugin
  • (C) Credentials Plugin
  • (D) Secrets Manager

S

Satya • 2.41K Points
Master

Q. What is the purpose of 'retry' block in Jenkins pipeline?

  • (A) Repeats a failed stage
  • (B) Retries a block of steps a set number of times upon failure
  • (C) Reverts the last commit
  • (D) Retries entire pipeline

S

Satya • 2.41K Points
Master

Q. Which of the following is NOT a Jenkins job type?

  • (A) Freestyle project
  • (B) Pipeline
  • (C) Multi-configuration project
  • (D) Macro project

S

Satya • 2.41K Points
Master

Q. How can you view real-time logs of a running Jenkins job?

  • (A) Console Output tab
  • (B) System Logs
  • (C) Build History tab
  • (D) Manage Jenkins

S

Satya • 2.41K Points
Master

Q. Which step is used to send an email notification in Jenkins?

  • (A) mail
  • (B) emailSend
  • (C) sendMail
  • (D) notify

S

Satya • 2.41K Points
Master

Q. What is Jenkins X?

  • (A) A plugin for Jenkins
  • (B) A version of Jenkins for desktop
  • (C) An extension of Jenkins for Kubernetes and cloud-native CI/CD
  • (D) A Jenkins backup tool

S

Satya • 2.41K Points
Master

Q. How do you clean the workspace in Jenkins?

  • (A) workspaceClear
  • (B) deleteDir
  • (C) removeFiles
  • (D) cleanAll

Add MCQ in this Category

If you want to share an MCQ question in this category, it's a great idea! It will be helpful for many other students using this website.

Share Your MCQ