---
tags:
- devops
- l1
- flashcard-deck
- cicd
---
<!-- wiki:breadcrumb:start -->
[Portal](../../../../library/portal/index.md) | **Level:** [L1: Foundations](../../../../library/portal/levels.md) | **Topics:** [CI/CD](../../../../library/portal/topics.md) | **Domain:** DevOps & Tooling
<!-- wiki:breadcrumb:end -->

id	category	difficulty	tags	question	answer	source_path
jenkins/012a12ea8607	jenkins	hard	jenkins, pipeline, blue-ocean	Difference between Parallel and Sequential Jobs.	* Sequential Execution: Jobs executed one after another in a sequence.\n* Parallel Execution: Jobs executed concurrently, allowing multiple tasks to run simultaneously. Use sequential for dependent tasks and parallel for independent tasks or to speed up the overall build time by leveraging available resources efficiently.	projects/knowledge/interview/jenkins/002-difference-between-parallel-and-sequential-jobs.txt
jenkins/02af7f3a2785	jenkins	medium	jenkins, pipeline, blue-ocean	How to trigger job outside of Jenkins.	Jobs can be triggered outside Jenkins via Jenkins Remote Access API, allowing you to trigger builds remotely using tools or scripts. Alternatively, Jenkins provides webhooks or integrations with version control systems, chat platforms like Slack, or other CI/CD tools that can trigger jobs externally.\n\nExample: curl -X POST http://jenkins/job/myjob/build --user user:token triggers remotely. Webhooks trigger on push.	projects/knowledge/interview/jenkins/003-how-to-trigger-job-outside-of-jenkins.txt
jenkins/06472d96e65b	jenkins	medium	jenkins, pipeline, plugins, blue-ocean	How to pass a variable’s/parameter value to another parameter?	Use Jenkins parameters to pass information from one job to another. Parameters can be defined as build parameters or environment variables, allowing data exchange between jobs. Use the Parameterized Trigger plugin or pass values via env vars in pipeline steps.\n\nExample: build job: 'downstream', parameters: [string(name: 'VERSION', value: env.BUILD_TAG)]	projects/knowledge/interview/jenkins/008-how-to-pass-a-variablesparameter-value-to-another-.txt
jenkins/1a0467fe44ef	jenkins	hard	jenkins, pipeline, agents, blue-ocean	Tell me the difference between an executor and an agent.	* Agent: A machine (physical or virtual) that executes Jenkins builds. It can have multiple executors.\n* Executor: Represents a single task within a Jenkins agent. An agent can have multiple executors, which run individual jobs or build steps.\n\nRemember: Agent=machine, Executor=build slot. 4 executors on 1 agent = 4 concurrent builds.	projects/knowledge/interview/jenkins/004-tell-me-the-difference-between-an-executor-and-an-.txt
jenkins/2be5ea3bf7ee	jenkins	medium	jenkins, pipeline, shared-library	Explain the Jenkins shared library and its purpose.	Jenkins Shared Library: A collection of reusable pipeline code. It enables sharing common code, functions, and procedures across multiple pipelines, improving maintainability and readability.\n\nExample: vars/deployToK8s.groovy in a Git repo. Pipelines: @Library('mylib'). Eliminates copy-paste across Jenkinsfiles.	projects/knowledge/interview/jenkins/011-explain-the-jenkins-shared-library-and-its-purpose.txt
jenkins/47b022791efe	jenkins	medium	jenkins, pipeline, jenkinsfile	Why can we delete freestyle jobs but not Pipeline jobs ?	`Freestyle jobs` can be deleted in the background because they don’t involve complex interdependencies and are standalone, \nwhereas `Pipeline jobs`, defined in Jenkinsfile, have interdependencies and are handled differently, ensuring no accidental deletion due to their code-based nature and possible complexities.\n\nUnder the hood: Pipeline = code (Jenkinsfile), riskier to delete. Freestyle = UI-configured, standalone lifecycle.	projects/knowledge/interview/jenkins/007-why-can-we-delete-freestyle-jobs-but-not-pipeline-.txt
jenkins/cc1af0e53bc0	jenkins	easy	jenkins, pipeline, credentials	What are Credentials in Jenkins, and what types are supported?	* Credentials: Stored authentication information used by Jenkins jobs.\n* Supported types: Jenkins supports various credential types like Username/Password, Secret text, SSH private key, Certificate, Username/Password (Amazon Web Services), and more.\n\nGotcha: never hardcode secrets in Jenkinsfiles. Use withCredentials block. Credentials are masked in logs by default.	projects/knowledge/interview/jenkins/009-what-are-credentials-in-jenkins-and-what-types-are.txt
jenkins/e14f3fb25e9e	jenkins	medium	jenkins, pipeline, plugins	Where is all user data stored on the server ?	Jenkins user data is usually stored in the JENKINS_HOME directory. The specific location varies based on the installation and operating system but typically contains configuration, job data, logs, and plugins.\n\nRemember: JENKINS_HOME (/var/lib/jenkins/) = config + jobs + plugins + secrets. Back it up — losing it = losing Jenkins.	projects/knowledge/interview/jenkins/006-where-is-all-user-data-stored-on-the-server.txt
jenkins/e7a25f16d21e	jenkins	easy	jenkins, blue-ocean, pipeline	What is the difference between Continous Integration and Continour Delivery ?	* Continuous Delivery: It's the practice of ensuring software can be released to production at any time but not necessarily automatically deployed. It focuses on automated testing, deployment-ready code, and enabling frequent releases.\n* Continuous Deployment: It extends continuous delivery by automatically deploying each successful build to production without human intervention, assuming all quality checks pass.	projects/knowledge/interview/jenkins/005-what-is-the-difference-between-continous-integrati.txt
jenkins/e9c16c730b66	jenkins	hard	jenkins, agents, blue-ocean	Explain the difference between a Jenkins executor and a Jenkins worker node.	* Executor: Represents a task within a worker node. A worker node can have multiple executors running in parallel.\n* Worker Node: The physical or virtual machine where builds are executed, it can run multiple executors and handle several concurrent tasks.	projects/knowledge/interview/jenkins/010-explain-the-difference-between-a-jenkins-executor-.txt

<!-- wiki:related:start -->
---

## Wiki Navigation

### Related Content

- [Adversarial Interview Gauntlet (30 sequences)](../../../../library/interview-scenarios/gauntlet/README.md) (Scenario, L2) — CI/CD
- [CI Pipeline Documentation](../../../../library/guides/ci-pipeline.md) (Reference, L1) — CI/CD
- [CI/CD Drills](../../../../library/drills/ci_drills.md) (Drill, L1) — CI/CD
- CI/CD Flashcards *(CLI)* (flashcard_deck, L1) — CI/CD
- [CI/CD Pipelines & Patterns](../../../../library/topics/cicd/index.md) (Topic Pack, L1) — CI/CD
- Circleci Flashcards *(CLI)* (flashcard_deck, L1) — CI/CD
- [Dagger / CI as Code](../../../../library/topics/dagger/index.md) (Topic Pack, L2) — CI/CD
- [Deep Dive: CI/CD Pipeline Architecture](../../../../library/deep-dives/ci.cd.pipeline.architecture.md) (deep_dive, L2) — CI/CD
- [GitHub Actions](../../../../library/topics/github-actions/index.md) (Topic Pack, L1) — CI/CD
- [Interview: CI Vuln Scan Failed](../../../../library/interview-scenarios/06-ci-vuln-scan-failed.md) (Scenario, L2) — CI/CD

<!-- wiki:related:end -->
