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

PRWW

Uploaded by

RohitBhushan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views3 pages

PRWW

Uploaded by

RohitBhushan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
You are on page 1/ 3

Devops interview questions

General Questions:
1- Introduce yourself.
2- Describe a challenge you faced as a devops engineer and how you overcame it.
3- Would you like to work individually or in a team.
4 - Tell me about something where you got a chance to learn and implement from
scratch.
5- How would you be handling a situation where you are not getting any help from your
team members.

AWS Questions:
1- Launch template vs launch configuration.
2- How do you communicate with AWS services privately without exposing to internet.
3- NAT g/w vs NAT instance v/s Egress only IGW v/s IGW
4- Design a 3 tier infrastructure using the AWS services which should be secure and
highly available.
5- Statefull v/s stateless firewalls.
6- Differentiate between NLB and ALB.
7- You want to redirect traffic from x.company.in to company.in/x, how to achieve it.
8- Your database initially performs well, but after certain month you face slowness. How
to troubleshoot and fix the same.

K8s:
1- K8s architecture
2- Deployment v/s stateful set v/s replica set
3- What is config map
4- Role of etcd in kubernetes.
5- How rolling updates work in a deployment?

Docker:
1- ADD v/s COPY
2- Entrypoint v/s CMD
3- How to remove all unwanted or unused docker objects from system?
4- Multistage docker build.
5- Is docker file immutable

Terraform:
1- What does terraform init do ?
2- How to auto approve the terraform changes?
3- count v/s foreach
4- How to import an existing resource to terraform?
5- Data black in terraform.
6- What are provisioners in terraform?
7- Remote backend.

Linux:
1- How to check the list of installed packages?
2- Command to check kernel version.
3- How to create a new user and add it as sudo?
4- Command to check if a process called "a" is running or not. If running how stop it.
5- Command to list all files less than 5mb.
6- Hard link v/s soft link.
7- Commands to check disk space usage and free RAM.

CI/CD:
1- Git fetch v/s Git pull
2- Sonarqube quality gate vs quality profile.
3- What is sonar runner.
4- Types of pipeline in Jenkins.
5- Scripted vs Declarative pipeline.
6- Should we prefer artifactory to store artifacts or should we store them in s3.
7- How to upgrade plugins in Jenkins.
8- Usermanagement in Jenkins.
9- Concepts about Gitlab runners.
10- How to upgrade Jenkins.

Ansible:
1- loops in Ansible.
2- Ansible Roles.
3- Is Ansible idempotent?
4- Ansible script to install nginx.
5- Conditionals in Ansible.

esterday, I attended an interview for a DevOps Engineer role, and I wanted to share the
questions I encountered. These questions covered a wide range of topics, from
Kubernetes and Docker to Azure services, Terraform, and Agile practices. I'm posting
them here to help others preparing for similar roles and to invite insights from the
community:

💼 Project & Work Methodology:

What are your day-to-day activities in your project?

How do you track your work daily?

Are you using Agile or traditional waterfall methodology?

What is the duration of your sprint?

🛠 Kubernetes & Docker:


Explain the architecture of Kubernetes.

Who manages the master and control plane in AKS?

Write a Docker file for a simple Python application.

What does a requirements.txt file consist of?

What is the difference between ENTRYPOINT and CMD in Docker?

How do you inspect the status of a pod?

How do you ensure a pod is always running in production?

Write a Kubernetes manifest file for deploying a pod.

🔄 Azure DevOps & CI/CD:

Write a simple YAML pipeline syntax in Azure DevOps.

🌐 Infrastructure as Code (Terraform):

How do you create infrastructure on Azure using Terraform?

How do you configure a provider in Terraform?

When you run terraform init, what configuration files are created?

Why is the state file important, and how do you manage it?

What is stored in the state file?

If the state file is corrupted, how do you handle it?

How do you calculate a CIDR range?

How do you retrieve a deleted storage account?

What do you know about Azure App Services and Azure Front Door?

This interview gave me a chance to reflect on my strengths and identify areas for
improvement. While I was able to answer many of these, a few questions highlighted
topics I need to explore further.

You might also like