What is DevOps? Introduction to DevOps | Roles | Payscale
By this DevOps Interview Questions and answers, many students are got placed in many reputed companies with high package salary. So utilize our DevOps Interview Questions and answers to grow in your career.
Q1) what is DevOps?
Operations. But one should know that DevOps is not a tool, or a software or framework, DevOps is a Combination of Tools which helps for the automation of whole infrastructure.
DevOps is basically and implementation of Agile methodology on Development side as well as Operations side.
Q2) why do we need DevOps?
To fulfil the need of delivering more and faster and better application to meet more and more demands of users, we need DevOps. DevOps helps deployment to happen really fast compared to any other traditional tools.
Q3) Mention the key aspects or principle behind DevOps?
The key aspects or principle behind DevOps is:
Infrastructure as a Code
Q4) List out some of the popular tools for DevOps?
ELK (Elasticsearch, Logstash, Kibana)
Q5) what is a version control system?
Version Control System (VCS) is a software that helps software developers to work together and maintain a complete history of their work.
Some of the feature of VCS as follows:
Allow developers to wok simultaneously
Does not allow overwriting on each other changes.
Maintain the history of every version.
There are two types of Version Control Systems:
- Central Version Control System, Ex: Git, Bitbucket
- Distributed/Decentralized Version Control System, Ex: SVN
Q6) What is Git and explain the difference between Git and SVN?
Git is a source code management (SCM) tool which handles small as well as large projects with efficiency. It is basically used to store our repositories in remote server such as GitHub.
|Git is a Decentralized Version||SVN is a Centralized Version|
|Control Tool||Control Tool|
|Git contains the local repo as well||SVN relies only on the central server|
|as the full history of the whole||to store all the versions of the|
|project on all the developers hard||project file|
|drive, so if there is a server outage ,|
|you can easily do recovery from|
|your team mates local git repo.|
|Push and pull operations are fast||Push and pull operations are slower|
|compared to Git|
|It belongs to 3rd generation Version||It belongs to 2nd generation Version|
|Control Tool||Control tools|
|Client nodes can share the entire||Version history is stored on|
|repositories on their local system||server-side repository|
|Commits can be done offline too||Commits can be done only online|
|Work are shared automatically by||Nothing is shared automatically|
Q7) what language is used in Git?
Git is written in C language, and since its written in C language its very fast and reduces the overhead of runtimes.
Q8) what is SubGit?
SubGit is a tool for migrating SVN to Git. It creates a writable Git mirror of a local or remote Subversion repository and uses both Subversion and Git if you like.
Q9) how can you clone a Git repository via Jenkins?
First, we must enter the e-mail and user name for your Jenkins system, then switch into your job þÿ
Q10)What are the Advantages of Ansible?
Very low overhead
Very Easy to learn
Declarative not procedural
Ansible is mainly used in IT infrastructure to manage or deploy applications to remote nodes.
then Ansible is the one actually coming into the picture but should have some knowledge on
Ansible script to understand or execute the same.
|Roles are reusable subsets of a||Playbooks contain Plays.|
|A set of tasks for accomplishing||Mapps among hosts and roles.|
|Example: common, webservers.||Example: site.yml, fooservers.yml,|
Q13) How do I see a list of all the ansible_ variables?
Playbooks and in templates. To see a list of all the facts that are available about a machine, you þÿ
Ansible -m setup hostname
This will print out a dictionary of all the facts that are available for that particular host.
Q14) what is Docker?
Docker is a containerization technology that packages your application and all its dependencies together in the form of Containers to ensure that your application works seamlessly in any environment.
Q15) what is Docker image?
Docker image is the source of Docker container. Or in other words, Docker images are used to create containers.
Q16) what is Docker Container?
Docker Container is the running instance of Docker Image.
Q17) Can we consider DevOps as Agile methodology?
Of Course, we can!! The only difference between agile methodology and DevOps is that, agile methodology is implemented only for development section and DevOps implements agility on both development as well as operations section.
Q18) what are the advantages of using Git?
- Data redundancy and replication
- High availability
- Only one. git directory per repository
- Superior disk utilization and network performance
- Collaboration friendly
- Git can use any sort of projects.
Q19) what is kernel?
A kernel is the lowest level of easily replaceable software that interfaces with the hardware in your computer.
Q20) what is difference between grep -i and grep -v?
I ignore alphabet difference V accept this value
ex) ls | grep -i docker
ls | grep -v docker