Jenkins: CI/CD Automation & Pipeline Management
Jenkins: CI/CD Automation & Pipeline Management
Up to 20 questions, shuffled on every run
Welcome to the Jenkins Basics Quiz! This quiz covers fundamental Jenkins concepts, including pipeline as code, Jenkinsfile syntax, agents and stages, build automation, plugins, and CI/CD best practices with Jenkins. Each question is multiple-choice, and you’ll find hints to help you along the way. Good luck!
Answer key and explanations20 questions
The quiz above draws 20 questions at random from these 30, so a second attempt will not be the same run. Everything in the pool is listed here.
What is Jenkins?
AnswerAn open-source automation server used to implement CI/CD
What is a "Jenkinsfile"?
AnswerA text file that defines the logic of a Jenkins Pipeline as code
Which programming language is used to write Jenkins Pipelines?
AnswerGroovy
What is the difference between "Declarative" and "Scripted" pipelines?
AnswerDeclarative uses a strict structure; Scripted offers full Groovy
What is a Jenkins "Agent"?
AnswerA machine or container that executes the assigned build tasks
What does the "Blue Ocean" plugin provide?
AnswerA modern, redesigned user experience for Jenkins Pipelines
In a Declarative Pipeline, what is the "agent any" directive?
AnswerIt allows the pipeline to run on any available Jenkins agent
What is a "Freestyle Project" in Jenkins?
AnswerA traditional method of configuring jobs using the web UI
What is the purpose of "Credentials" in Jenkins?
AnswerTo securely store sensitive data like API keys and passwords
What is a "Trigger" in Jenkins?
AnswerAn event that initiates a build, such as a commit or schedule
What does the "Post" section in a Declarative Pipeline do?
AnswerIt defines actions to run after the pipeline stages complete
What is "Poll SCM"?
AnswerA trigger where Jenkins checks the repository for new changes
What is a "Shared Library" in Jenkins?
AnswerA way to share common Groovy code across multiple pipelines
What is the purpose of the "Master" (Controller) node?
AnswerTo manage the UI, coordinate schedules, and store metadata
What is the "JENKINS_HOME" directory?
AnswerThe directory that stores all Jenkins data and configuration
What is an "Executor"?
AnswerA computational slot for executing a job on a Jenkins node
What is a "Pipeline Stage"?
AnswerA logical segment of a pipeline such as Build, Test, or Deploy
What does "Discard Old Builds" do?
AnswerRemoves the logs and artifacts of older build executions
What is the "Build Pipeline View"?
AnswerA visualization of a sequence of upstream and downstream jobs
How do you parameterize a Jenkins job?
AnswerBy defining variables that users set before the build starts
What is a "Multi-branch Pipeline"?
AnswerA project that creates a pipeline for every branch in the SCM
What is "Artifact Archiving"?
AnswerStoring build outputs like JAR or WAR files for later use
What is a "Post-build Action"?
AnswerA step performed after the build, such as sending notifications
What is the "Jenkins API" used for?
AnswerTo interact with Jenkins through external scripts or tools
What is a "Pipeline Script" (from SCM)?
AnswerA setting that loads the pipeline definition from a Git file
What is "Upstream" and "Downstream"?
AnswerRelationships where one job triggers or is triggered by another
What does "Replay" do in a Jenkins Pipeline?
AnswerAllows temporary pipeline modification without a Git commit
What is a "Build Environment"?
AnswerConfiguration that prepares the node, such as setting variables
What is the "Matrix Project"?
AnswerA job type that runs a build across multiple configurations
What is "Quiet Period"?
AnswerA scheduled delay between a trigger and the build start








