DevOps Technical Round Questions & Answers
40 questions for the technical round stage — 4 easy, 29 medium, 7 hard.
About the technical round round
The technical round is the core of a DevOps interview: concept questions with follow-ups, a live hands-on task and a deep dive into one of your projects. Interviewers check depth, not just definitions.
Tips for the technical round round
- Say your approach out loud before you start writing.
- After a correct answer, expect 'why?' and 'what if?' follow-ups; go one level deeper than the question.
- Pick one project you can explain end to end, including what you would do differently.
- If you get stuck, explain what you would try next instead of going silent.
What are Terraform modules?
Show answer
What is the difference between declarative and scripted Jenkins pipelines?
Show answer
What is load average in Linux and how do you read it?
Show answer
How do an Application Load Balancer and an Auto Scaling group work together?
Show answer
What are the Prometheus metric types?
Show answer
What is the difference between git merge and git rebase?
Show answer
Explain Docker network types.
Show answer
What is a DaemonSet and when is it used?
Show answer
How do you resolve a merge conflict?
Show answer
What makes a good alert, and how do you avoid alert fatigue?
Show answer
Write a Prometheus alerting rule for a high error rate.
Show answer
What is the difference between git revert and git reset?
Show answer
An EC2 instance in a private subnet cannot download packages from the internet. Why?
Show answer
How do containers work under the hood using namespaces and cgroups?
Show answer
You need one pipeline that deploys to dev, staging and production with approval before production. How do you design it?
Show answer
Explain SLI, SLO, SLA and error budget.
Show answer
How do you create a Secret and use it as an environment variable in a pod?
Show answer
Write Terraform code to create an AWS EC2 instance.
Show answer
Pods are running but the service is not reachable. How do you debug it?
Show answer
Two features are in main but only one must go to production this week. How do you manage this?
Show answer
What is a multi-stage Docker build and why use it?
Show answer
What is remote state and state locking in Terraform?
Show answer
Builds fail randomly because of flaky tests. How do you handle it?
Show answer
A developer accidentally pushed an AWS access key to a public repository. What do you do?
Show answer
What is DevSecOps and which security checks belong in a pipeline?
Show answer
How does RBAC work in Kubernetes?
Show answer
How do you assume an IAM role in another account using the AWS CLI?
Show answer
Explain Linux file permissions and what chmod 755 means.
Show answer
How do you configure an S3 remote backend with locking?
Show answer
How do you create an EKS cluster with eksctl and connect kubectl to it?
Show answer
Write a multi-stage Dockerfile for a Java Spring Boot application.
Show answer
Write a Deployment manifest with 3 replicas, resource limits and a readiness probe.
Show answer
What are Ansible handlers and how do you use them?
Show answer
How do you quickly search logs for errors from the last hour on a server or in Kubernetes?
Show answer
Explain git reset --soft, --mixed and --hard.
Show answer
How do you manage secrets in a CI/CD pipeline?
Show answer
What does set -euo pipefail do in a bash script?
Show answer
The build works on your laptop but fails on the CI server. How do you debug it?
Show answer
An Ansible playbook run against 100 servers failed on 7 of them. What do you do?
Show answer
Frequently asked questions
What happens in the DevOps technical round round?
The technical round is the core of a DevOps interview: concept questions with follow-ups, a live hands-on task and a deep dive into one of your projects. Interviewers check depth, not just definitions.
How do I clear the technical round round?
Say your approach out loud before you start writing. After a correct answer, expect 'why?' and 'what if?' follow-ups; go one level deeper than the question. Pick one project you can explain end to end, including what you would do differently.
Which round comes next?
A typical order is online assessment, telephonic screening, one or two technical rounds, a managerial round and HR. Use the other round pages to practise each stage.