0% found this document useful (0 votes)
2 views3 pages

Devops Interview Questions

The document provides an overview of key concepts in DevOps, including definitions of DevOps, CI/CD, and popular tools like Git, Jenkins, and Docker. It explains the importance of version control, Infrastructure as Code, and monitoring in the DevOps process. Additionally, it discusses deployment strategies, metrics, and specific technologies like Kubernetes and Ansible.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views3 pages

Devops Interview Questions

The document provides an overview of key concepts in DevOps, including definitions of DevOps, CI/CD, and popular tools like Git, Jenkins, and Docker. It explains the importance of version control, Infrastructure as Code, and monitoring in the DevOps process. Additionally, it discusses deployment strategies, metrics, and specific technologies like Kubernetes and Ansible.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

1. What is Devops?

Ans. Devops is a process of Improving the applica on delivery by ensuring proper automa on,

Quality, Con nuous Monitoring and Con nuous Tes ng.

2. What is CI/CD?

Ans. CI/CD is a modern so ware development prac ce that automates the process of:

 Building

 Tes ng

 Integra ng

 Deploying applica ons

CI/CD helps developers release so ware faster, more reliably, and with fewer manual errors.

3. What are some popular DevOps tools, and what do they do?

Ans. Popular DevOps tools include Git for version control, Jenkins and GitHub Ac ons for CI/CD
automa on, Docker for containeriza on, Kubernetes for container orchestra on, Terraform and
Ansible for infrastructure automa on, and Prometheus/Grafana for monitoring. These tools
help automate so ware development, deployment, scaling, and monitoring processes.

4. What is difference between git pull and git fetch?

Ans. Git Pull automa cally merges the fetched changes into the current branch while git fetch
does not

5. What is Infrastructure as Code (IAC)?

Ans. Infrastructure as Code means managing servers, networks, cloud resources, and
infrastructure through configura on files or scripts in an automated and repeatable way.

6. What is version control ?

Ans. Version control is a system that tracks and manages changes to source code over me,
allowing developers to collaborate, maintain history, and restore previous versions when
needed.

7. Why is Git widely used in Devops?

Ans. Git is widely used in DevOps because it supports distributed development, branching,
collabora on, CI/CD integra on, change tracking, and automa on. It enables teams to manage
code efficiently and integrate smoothly with modern DevOps pipelines.
8. What are microservices, and how do they relate to Devops?

Ans. Microservices rely heavily on DevOps prac ces because managing mul ple independent
services requires automa on, CI/CD pipelines, containeriza on, orchestra on, monitoring, and
infrastructure automa on. DevOps enables efficient deployment and scaling of microservices.

9. What is a Jenkins?

Ans. Jenkins is an open-source automa on tool used mainly in so ware development to help
teams build, test, and deploy their code automa cally.

10. What is a Docker?

Ans. Docker is a tool used to package and run applica ons in a lightweight, portable
environment called a container.

11. What is a DockerFile?

Ans. A Dockerfile is a text file that contains instruc ons to build a Docker image.
FROM node:18
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY .
EXPOSE 3000
CMD ["npm", "start"]

12. What is Ansible?

Ans. Ansible is an open-source IT automa on tool used to configure systems, deploy


applica ons, and manage servers in a simple and consistent way.

13. What is monitoring in devops?

Ans. Monitoring in DevOps is the con nuous tracking of applica on and infrastructure
performance to ensure system health, detect issues early, and maintain reliability in produc on.

14. What is an Ansible Playbook?

Ans. A playbook is a YAML file that defines a set of tasks to be executed on remote servers.

15. What is Terraform?

Ans. Terraform is an open-source Infrastructure as Code (IaC) tool used to provision and manage
cloud infrastructure using simple configura on files.
16. What is reverse proxy?

Ans. A Reverse Proxy is a server that sits between clients (users) and backend servers, and
forwards client requests to the appropriate server.

17. Example of a reverse Proxy?

Ans. A reverse proxy example is Nginx receiving client requests and forwarding them to backend
servers like [Link] running on port 3000, while hiding backend details and improving security
and scalability.

18. What are key DevOps pipeline metrics?

Ans. DevOps pipeline metrics include deployment frequency, lead me for changes, change
failure rate, and mean me to recovery, which together measure the speed, stability, and
reliability of the CI/CD pipeline.

19. How do you achieve zero-down me deployment?

Ans. Zero-down me deployment is achieved using strategies like blue-green, rolling, and canary
deployments along with load balancing, health checks, and container orchestra on to ensure
users are never impacted during updates.

20. What are statefulsets in Kubernetes?

Ans. StatefulSets in Kubernetes are used to manage stateful applica ons by providing stable pod
iden ty, persistent storage, and ordered deployment, making them ideal for databases and
distributed systems.

You might also like