Jenkins Certification Practice Quiz.

Jenkins Certification Practice Quiz.

1. What is Jenkins primarily used for?

A. Configuration management
B. Continuous Integration and Continuous Delivery
C. Container orchestration
D. Cloud provisioning

Answer: B

2. Jenkins is written in which language?

A. Python
B. C++
C. Java
D. Go

Answer: C

3. What file defines a Jenkins pipeline?

A. Dockerfile
B. Jenkins.yml
C. Jenkinsfile
D. pipeline.xml

Answer: C

4. Which Jenkins pipeline type uses a predefined structure?

A. Scripted Pipeline
B. Declarative Pipeline
C. FreeStyle Pipeline
D. XML Pipeline

Answer: B

5. Which block is mandatory in a Declarative Pipeline?

A. steps
B. stages
C. pipeline
D. agent

Answer: C

6. What does a Jenkins agent do?

A. Stores plugins
B. Runs builds
C. Manages users
D. Controls UI

Answer: B

7. Which command starts Jenkins on Linux?

A. jenkins start
B. service jenkins start
C. start jenkins
D. systemctl run jenkins

Answer: B

8. Jenkins default web port is:

A. 80
B. 443
C. 8080
D. 9000

Answer: C

9. Which plugin is required for Git integration?

A. SCM Plugin
B. Git Plugin
C. GitHub UI Plugin
D. Source Plugin

Answer: B

10. What is a Jenkins Job?

A. A pipeline stage
B. A build trigger
C. A runnable task or project
D. A Jenkins plugin

Answer: C

11. What is a Jenkins workspace?

A. Jenkins UI
B. Directory where build runs
C. Plugin directory
D. Jenkins home

Answer: B

12. Where is Jenkins configuration stored?

A. /etc/jenkins
B. JENKINS_HOME
C. /var/log/jenkins
D. /opt/jenkins

Answer: B

13. Which syntax is used in Jenkinsfile?

A. XML
B. JSON
C. YAML
D. Groovy

Answer: D

14. What triggers a Jenkins build automatically?

A. Manual execution
B. Poll SCM
C. Webhook
D. All of the above

Answer: D

15. Which Jenkins job type is legacy but still used?

A. Pipeline
B. Multibranch
C. Freestyle
D. Matrix

Answer: C

16. What does SCM stand for?

A. Source Code Management
B. System Code Module
C. Software Control Model
D. Source Configuration Mode

Answer: A

17. Which plugin helps store secrets securely?

A. Vault Plugin
B. Credentials Plugin
C. Security Plugin
D. Password Plugin

Answer: B

18. What is the purpose of Jenkins stages?

A. Run jobs faster
B. Organize pipeline steps
C. Secure builds
D. Manage plugins

Answer: B

19. Which directive defines where a pipeline runs?

A. node
B. executor
C. agent
D. stage

Answer: C

20. What is Blue Ocean?

A. Jenkins security model
B. Jenkins UI for pipelines
C. Jenkins plugin manager
D. Jenkins agent

Answer: B

21. Which file stores Jenkins system logs?

A. config.xml
B. jenkins.log
C. system.log
D. console.log

Answer: B

22. Jenkins supports which operating systems?

A. Linux only
B. Windows only
C. macOS only
D. All major OS

Answer: D

23. What is a Multibranch Pipeline?

A. One pipeline with many stages
B. One pipeline per Git branch
C. Multiple Jenkins servers
D. Multiple agents

Answer: B

24. What happens if a stage fails?

A. Pipeline always continues
B. Pipeline stops by default
C. Jenkins restarts
D. Agent shuts down

Answer: B

25. Which keyword runs steps inside a stage?

A. run
B. execute
C. steps
D. commands

Answer: C

26. Jenkins pipelines are stored:

A. In Jenkins UI only
B. In Jenkins database
C. In source control
D. In Jenkins logs

Answer: C

27. Which plugin enables Docker builds?

A. Container Plugin
B. Docker Pipeline Plugin
C. Kubernetes Plugin
D. Build Plugin

Answer: B

28. What is the use of post block?

A. Define stages
B. Run actions after build
C. Trigger builds
D. Set agent

Answer: B

29. Jenkins credentials are encrypted using:

A. Plain text
B. Jenkins secret key
C. User password
D. Git key

Answer: B

30. What does CI stand for?

A. Continuous Integration
B. Continuous Improvement
C. Code Integration
D. Central Integration

Answer: A

31. What is a build executor?

A. Jenkins admin
B. Build process runner
C. Job scheduler
D. Plugin manager

Answer: B

32. Jenkins supports parallel execution using:

A. Threads
B. Executors
C. Stages
D. Parallel block

Answer: D

33. Which tool is commonly paired with Jenkins for containers?

A. Ansible
B. Terraform
C. Docker
D. Puppet

Answer: C

34. What command tests Jenkinsfile syntax?

A. jenkins test
B. pipeline check
C. Jenkins Linter
D. Groovy validate

Answer: C

35. What is the Jenkins home directory variable?

A. $JENKINS
B. $JENKINS_HOME
C. $HOME
D. $JENKINS_DIR

Answer: B

36. Jenkins agents can be:

A. Static only
B. Dynamic only
C. Both static and dynamic
D. None

Answer: C

37. Which plugin supports role-based access?

A. RBAC Plugin
B. Role Strategy Plugin
C. Security Matrix Plugin
D. Auth Plugin

Answer: B

38. Jenkins is licensed under:

A. MIT
B. Apache 2.0
C. GPL
D. BSD

Answer: B

39. What does checkout scm do?

A. Cleans workspace
B. Checks out source code
C. Runs tests
D. Builds artifacts

Answer: B

40. Jenkins supports which cloud?

A. AWS
B. Azure
C. GCP
D. All of the above

Answer: D

41. Which format is Jenkins configuration stored in?

A. JSON
B. YAML
C. XML
D. TXT

Answer: C

42. What is the purpose of build artifacts?

A. Store logs
B. Store output files
C. Store plugins
D. Store credentials

Answer: B

43. Which Jenkins view shows pipeline flow visually?

A. Classic UI
B. Blue Ocean
C. Grid View
D. Tree View

Answer: B

44. What happens when Jenkins master goes down?

A. Agents stop running
B. Builds continue normally
C. Only UI stops
D. Nothing

Answer: A

45. Which Jenkins feature allows job reuse?

A. Templates
B. Shared Libraries
C. Cloning
D. Pipelines

Answer: B

46. Jenkins can trigger builds using:

A. Cron
B. SCM polling
C. Webhooks
D. All of the above

Answer: D

47. What does CD stand for?

A. Code Deployment
B. Continuous Delivery
C. Continuous Development
D. Central Deployment

Answer: B

48. Jenkins supports which build tools?

A. Maven
B. Gradle
C. Ant
D. All of the above

Answer: D

49. Which command stops Jenkins?

A. jenkins stop
B. service jenkins stop
C. kill jenkins
D. systemctl kill jenkins

Answer: B

50. Jenkins best practice for pipelines is to:

A. Store in UI
B. Store in Jenkins home
C. Store in source control
D. Store locally

Answer: C

Conclusion.

Completing this Jenkins Certification Practice Quiz is a strong step toward mastering Jenkins and building confidence for certification exams and real-world DevOps work. These questions covered core areas such as Jenkins fundamentals, pipelines, agents, plugins, security, CI/CD concepts, and best practices all key topics tested in Jenkins certifications.

Regular practice with quizzes like this helps you:

  • Identify knowledge gaps
  • Reinforce Jenkins concepts and terminology
  • Improve speed and accuracy for exams
  • Gain confidence in designing and managing CI/CD pipelines

To get the most value, review the explanations behind each answer, practice writing Jenkinsfiles, and apply these concepts in hands-on projects. With consistent study and practical experience, you’ll be well prepared to succeed in the Jenkins Certification and in real DevOps environments.

Happy learning and good luck with your certification journey.

For a deeper understanding of Jenkins, refer to Jeevi’s page. This tutorial lays the foundation advance your DevOps skills through our complete learning program.

shamitha
shamitha
Leave Comment
Share This Blog
Recent Posts
Get The Latest Updates

Subscribe To Our Newsletter

No spam, notifications only about our New Course updates.

Enroll Now
Enroll Now
Enquire Now