Devops Questions
Devops Questions
03.What is devops?
DevOps combines development (Dev) and operations (Ops) to
increase the efficiency, speed of software development and delivery of
application into the real world business enviromment.
Advantages:
Less downtime
Cost efficient
Time reduction
Effort reduction
Disadavantage:
It has major security concern
09.Lifecycle of Devops:
DAY 02 – GIT & GITHUB
01.Types of branches in GIT?
Master /production/main branch
Feature branch (i.e ., Dev, QAT, UAT ,Release, hot fix)
DEVOPS – JENKINS
01. Define the role of Jenkins in devops
Jenkins is an open-source automation server that enables
continuous integration and continuous delivery (CI/CD) by
automating the building, testing, and deployment of applications. It
helps streamline development workflows and ensures code quality
through automated testing and deployment pipelines.
02.
03.
256 MB of RAM
1 GB of drive space (although 10 GB is a recommended minimum
if running Jenkins as a Docker container)
Recommended:
4 GB+ of RAM
50 GB+ of drive space
Software requirements:
Java and web browser
07.Difference between freestyle and pipeline job.
A freestyle job in Jenkins is a simple, pre-configured project type with
limited customization which allows to run a single job at a time. Pipeline
job allows to run multiple job parellely through scripted pipeline
concepts.
08. Specify the port number and default path of Jenkins.
Port no: 8080
Default path : /var/lib/Jenkins
09.Difference between build periodically trigger and poll SCM trigger.
Build periodically trigger: Triggers the job to run periodically even
there is no new commits performed in that job
Poll SCM trigger: It triggers the job to run only when any new commits
are takes place in that job.
10.Give the advantages and disadvantages of using Jenkins.
Advantage: With a vast library of plugins, Jenkins can integrate with
various tools and platforms, making it highly customizable for different
workflows.
Disadvantage:
Updates are infrequent (12 weeks min)
Highly depends on internet connectivity.