Top 50 Advanced DevOps Interview Questions (2026 Guide)
🟢 Basic Level
General Concepts
- What is DevOps and why is it important?
- What is the difference between DevOps and Agile?
- Explain the DevOps lifecycle (Plan → Code → Build → Test → Release → Deploy → Operate → Monitor).
- What is CI/CD? How do they differ?
- What is the difference between Continuous Delivery and Continuous Deployment?
Version Control
- What is Git? How is it different from SVN?
- What is the difference between
git mergeandgit rebase? - What is a pull request / merge request?
- How do you resolve a merge conflict in Git?
Linux/OS Basics
- What are inodes in Linux?
- How do you check disk usage in Linux? (
df,du) - What is the difference between a process and a thread?
- What does
chmod 755mean? - How do you check running processes? (
ps,top,htop)
🟡 Intermediate Level
CI/CD & Automation
- What tools have you used for CI/CD? (Jenkins, GitHub Actions, GitLab CI, CircleCI)
- Explain a Jenkins pipeline. What is a
Jenkinsfile? - What is the difference between a declarative and scripted pipeline in Jenkins?
- How do you handle secrets/credentials in a CI/CD pipeline?
- What is a build artifact? How do you manage them?
Containerization
- What is Docker? How does it differ from a virtual machine?
- Explain the difference between a Docker image and a container.
- What is a
Dockerfile? Walk me through writing one. - What is Docker Compose and when would you use it?
- How do Docker volumes work? Why are they needed?
- What is the difference between
CMDandENTRYPOINTin a Dockerfile?
Configuration Management
- What is Infrastructure as Code (IaC)?
- What is the difference between Ansible, Chef, and Puppet?
- What is an Ansible playbook? What is an inventory file?
- What are idempotent operations? Why do they matter in IaC?
Cloud Basics
- What is the difference between IaaS, PaaS, and SaaS?
- What is auto-scaling? How does it work in AWS/Azure/GCP?
- What is an S3 bucket? What are common use cases?
- What is a VPC? What are subnets, security groups, and NACLs?
🔴 Advanced Level
Kubernetes
- What is Kubernetes and why is it used?
- Explain the Kubernetes architecture (Master Node, Worker Node, etcd, API Server, Scheduler, Controller Manager, Kubelet, Kube-proxy).
- What is the difference between a Pod, Deployment, ReplicaSet, and StatefulSet?
- What is a Kubernetes Service? Explain ClusterIP, NodePort, and LoadBalancer.
- What are ConfigMaps and Secrets in Kubernetes?
- How does Kubernetes handle rolling updates and rollbacks?
- What is a Helm chart? When would you use it?
- What is a Kubernetes Ingress? How does it differ from a Service?
- How do you horizontally scale pods in Kubernetes? (HPA)
- What is the difference between Liveness and Readiness probes?
Terraform / IaC Advanced
- What is Terraform state? Why is it important?
- What is the difference between
terraform planandterraform apply? - How do you manage Terraform state in a team? (remote backends like S3 + DynamoDB)
- What are Terraform modules? Why use them?
- What is
terraform importused for? - How do you handle sensitive data in Terraform?
Monitoring & Observability
- What is the difference between monitoring and observability?
- What are the three pillars of observability? (Logs, Metrics, Traces)
- What tools have you used for monitoring? (Prometheus, Grafana, Datadog, ELK Stack)
- What is a Prometheus exporter? What is a scrape interval?
- How do you set up alerting with Prometheus + Alertmanager?
- What is distributed tracing? Have you used Jaeger or Zipkin?
- What is an SLO, SLI, and SLA? How do you define them?
Networking & Security
- What is a reverse proxy? How is it different from a load balancer?
- What is mTLS? Why is it used in microservices?
- What is a service mesh? (e.g., Istio, Linkerd)
- How do you secure a Kubernetes cluster?
- What is RBAC in Kubernetes?
- What is a zero-trust security model?
- How do you scan Docker images for vulnerabilities? (Trivy, Snyk)
High Availability & Scalability
- How would you design a highly available architecture on AWS?
- What is the CAP theorem? How does it apply to distributed systems?
- What is the difference between horizontal and vertical scaling?
- What are blue-green deployments and canary deployments?
- What is a circuit breaker pattern? Why is it important in microservices?
- How do you handle database migrations in a zero-downtime deployment?
🧠 Scenario-Based Questions
- Your production deployment failed. How do you rollback quickly?
- A container is running but the application is not responding. How do you debug it?
- Your CI/CD pipeline takes 45 minutes to run. How would you optimize it?
- You need to migrate a monolithic app to microservices. What is your approach?
- How would you implement GitOps for your infrastructure?
- A Kubernetes node is NotReady. Walk me through your troubleshooting steps.
Comments
Post a Comment