Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
LondheShubham153 authored Aug 1, 2024
1 parent 776a060 commit 69c574c
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions 2024/day29/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
## Day 29 Task: Jenkins Important Interview Questions

<p align="center"><img align="center" src="https://user-images.githubusercontent.com/115981550/215283081-1c77ac18-4825-49d1-8727-7f0940846fff.png" /></p>

## Jenkins Interview

Here are some Jenkins-specific questions related to Docker and other DevOps concepts that can be useful during a DevOps Engineer interview:

### General Questions

1. **What’s the difference between continuous integration, continuous delivery, and continuous deployment?**
2. **Benefits of CI/CD.**
3. **What is meant by CI-CD?**
4. **What is Jenkins Pipeline?**
5. **How do you configure a job in Jenkins?**
6. **Where do you find errors in Jenkins?**
7. **In Jenkins, how can you find log files?**
8. **Jenkins workflow and write a script for this workflow?**
9. **How to create continuous deployment in Jenkins?**
10. **How to build a job in Jenkins?**
11. **Why do we use pipelines in Jenkins?**
12. **Is Jenkins alone sufficient for automation?**
13. **How will you handle secrets in Jenkins?**
14. **Explain the different stages in a CI-CD setup.**
15. **Name some of the plugins in Jenkins.**

### Scenario-Based Questions

1. **You have a Jenkins pipeline that deploys to a staging environment. Suddenly, the deployment failed due to a missing configuration file. How would you troubleshoot and resolve this issue?**
2. **Imagine you have a Jenkins job that is taking significantly longer to complete than expected. What steps would you take to identify and mitigate the issue?**
3. **You need to implement a secure method to manage environment-specific secrets for different stages (development, staging, production) in your Jenkins pipeline. How would you approach this?**
4. **Suppose your Jenkins master node is under heavy load and build times are increasing. What strategies can you use to distribute the load and ensure efficient build processing?**
5. **A developer commits a code change that breaks the build. How would you set up Jenkins to automatically handle such scenarios and notify the relevant team members?**
6. **You are tasked with setting up a Jenkins pipeline for a multi-branch project. How would you handle different configurations and build steps for different branches?**
7. **How would you implement a rollback strategy in a Jenkins pipeline to revert to a previous stable version if the deployment fails?**
8. **In a scenario where you have multiple teams working on different projects, how would you structure Jenkins jobs and pipelines to ensure efficient resource utilization and manage permissions?**
9. **Your Jenkins agents are running in a cloud environment, and you notice that build times fluctuate due to varying resource availability. How would you optimize the performance and cost of these agents?**

These questions will help you prepare for your next DevOps interview. Consider writing a blog and sharing your experiences and knowledge on LinkedIn.

**Happy Learning! :)**

[← Previous Day](../day28/README.md) | [Next Day →](../day30/README.md)

0 comments on commit 69c574c

Please sign in to comment.