100% Free Forever
AI-Powered Learning
Industry Expert Content
Certificates & Badges
Learn At Your Own Pace

DevOps Interview Questions

CI/CD, Docker, Kubernetes, infrastructure as code and automation.

224 questions

  1. 1. What is CI/CD?

    easyAutomation 5 mins
  2. 2. Containers vs Virtual Machines

    mediumContainers 5 mins
  3. 3. What is Kubernetes?

    mediumOrchestration 6 mins
  4. 4. What is Infrastructure as Code?

    mediumInfrastructure 5 mins
  5. 5. What is Docker?

    easyContainers 5 mins
  6. 6. What is a Docker Image vs a Container?

    easyContainers 5 mins
  7. 7. What is a Dockerfile?

    easyContainers 5 mins
  8. 8. Blue-Green vs Canary Deployment

    mediumDeployment Strategies 6 mins
  9. 9. What is a Kubernetes Pod?

    mediumKubernetes 6 mins
  10. 10. Continuous Integration vs Continuous Deployment

    easyAutomation 5 mins
  11. 11. What is Container Orchestration?

    mediumContainers 5 mins
  12. 12. What is Monitoring vs Observability?

    mediumReliability 6 mins
  13. 13. What is Terraform?

    mediumInfrastructure as Code 6 mins
  14. 14. What is Ansible?

    mediumConfiguration Management 6 mins
  15. 15. What is a CI/CD Pipeline?

    easyAutomation 5 mins
  16. 16. What is GitOps?

    mediumDeployment Strategy 6 mins
  17. 17. What is a Helm Chart?

    mediumKubernetes Tooling 5 mins
  18. 18. What is a Service Mesh?

    hardNetworking 6 mins
  19. 19. What is Log Aggregation?

    easyObservability 5 mins
  20. 20. What Is Horizontal Pod Autoscaling?

    mediumScaling 5 mins
  21. 21. What Is a Rolling Update?

    easyDeployments 4 mins
  22. 22. What Is Immutable Infrastructure?

    mediumInfrastructure 5 mins
  23. 23. What Is a Kubernetes Secret?

    easySecurity 4 mins
  24. 24. What Is Configuration Management?

    mediumAutomation 5 mins
  25. 25. How Do Docker Image Layers and Build Caching Work?

    mediumContainers 5 mins
  26. 26. What is a Docker Multi-Stage Build?

    mediumContainers 6 mins
  27. 27. How Do Docker Volumes Persist Data?

    mediumContainers 5 mins
  28. 28. How Does Docker Networking Work?

    mediumContainers 6 mins
  29. 29. What is Docker Compose and When Do You Use It?

    easyContainers 5 mins
  30. 30. What Are Dockerfile Best Practices?

    mediumContainers 6 mins
  31. 31. What is a Docker Registry?

    easyContainers 5 mins
  32. 32. What is a Container Runtime?

    mediumContainers 6 mins
  33. 33. Docker vs Podman: What Is the Difference?

    mediumContainers 6 mins
  34. 34. What Are Distroless Images?

    hardContainers 6 mins
  35. 35. What is Docker Image Security Scanning and Why Does It Matter?

    mediumContainer Security 6 mins
  36. 36. What is the Difference Between ENTRYPOINT and CMD?

    mediumContainers 5 mins
  37. 37. What is the Difference Between Docker Bind Mounts and Volumes?

    mediumStorage 6 mins
  38. 38. What is a Docker HEALTHCHECK and How Does It Work?

    mediumContainers 6 mins
  39. 39. What is the Docker Build Context and Why Does It Matter?

    mediumContainers 6 mins
  40. 40. What is a Kubernetes Deployment and How Does It Manage Rollouts?

    mediumKubernetes 6 mins
  41. 41. What Are the Different Kubernetes Service Types?

    mediumKubernetes 6 mins
  42. 42. What is Kubernetes Ingress and How Does It Route Traffic?

    mediumKubernetes 6 mins
  43. 43. What is a Kubernetes ConfigMap and How Is It Used?

    easyKubernetes 5 mins
  44. 44. What is a Kubernetes Namespace and When Should You Use One?

    easyKubernetes 5 mins
  45. 45. What is a Kubernetes DaemonSet?

    mediumKubernetes Workloads 6 mins
  46. 46. What is a Kubernetes StatefulSet?

    mediumKubernetes Workloads 6 mins
  47. 47. What is a Kubernetes ReplicaSet?

    easyKubernetes Workloads 5 mins
  48. 48. What are Kubernetes Job and CronJob?

    mediumKubernetes Workloads 6 mins
  49. 49. What are Kubernetes Liveness and Readiness Probes?

    mediumKubernetes Workloads 6 mins
  50. 50. What are Kubernetes Resource Requests and Limits?

    mediumKubernetes 6 mins
  51. 51. What is Kubernetes Node Affinity?

    mediumKubernetes 6 mins
  52. 52. What are Kubernetes Taints and Tolerations?

    mediumKubernetes 6 mins
  53. 53. What is a Kubernetes Persistent Volume?

    mediumKubernetes 6 mins
  54. 54. What is a Kubernetes StorageClass?

    mediumKubernetes 6 mins
  55. 55. What is Kubernetes RBAC and How Does It Work?

    mediumKubernetes Security 6 mins
  56. 56. What is a Kubernetes NetworkPolicy?

    mediumKubernetes Security 6 mins
  57. 57. What is a Kubernetes Operator?

    hardKubernetes Extensibility 6 mins
  58. 58. What is a Custom Resource Definition (CRD)?

    mediumKubernetes Extensibility 5 mins
  59. 59. What is etcd and Why Does Kubernetes Depend on It?

    mediumKubernetes Architecture 6 mins
  60. 60. What is the Kubernetes Control Plane?

    mediumKubernetes Architecture 6 mins
  61. 61. What is the Kubelet and What Does It Do?

    mediumKubernetes Architecture 5 mins
  62. 62. How Does the Kubernetes Scheduler Assign Pods to Nodes?

    mediumKubernetes Architecture 6 mins
  63. 63. Horizontal Pod Autoscaler vs Vertical Pod Autoscaler

    mediumKubernetes Autoscaling 6 mins
  64. 64. How Does the Kubernetes Cluster Autoscaler Work?

    hardKubernetes Autoscaling 6 mins
  65. 65. What is a Kubernetes PodDisruptionBudget?

    mediumKubernetes 6 mins
  66. 66. What are Kubernetes Init Containers?

    mediumKubernetes 6 mins
  67. 67. What is the Kubernetes Sidecar Pattern?

    mediumKubernetes 6 mins
  68. 68. What is a Kubernetes ServiceAccount?

    mediumKubernetes 6 mins
  69. 69. What are the Essential kubectl Commands?

    easyKubernetes 5 mins
  70. 70. What are Kubernetes Admission Controllers?

    hardKubernetes 6 mins
  71. 71. Helm Values Files vs Templates: What Is the Difference?

    mediumKubernetes 5 mins
  72. 72. What are Kubernetes Pod Security Standards?

    hardKubernetes 6 mins
  73. 73. What are Multi-Container Pod Design Patterns?

    mediumKubernetes 6 mins
  74. 74. How Does Service Discovery Work in Kubernetes?

    mediumKubernetes 6 mins
  75. 75. What is Jenkins and How Does It Work?

    mediumCI/CD Tools 6 mins
  76. 76. What is GitHub Actions and How Do Workflows Run?

    easyCI/CD Tools 5 mins
  77. 77. What is GitLab CI/CD and How Does the Pipeline Model Work?

    mediumCI/CD Tools 6 mins
  78. 78. What is Argo CD and How Does GitOps Deployment Work?

    hardGitOps & Continuous Delivery 6 mins
  79. 79. What is Spinnaker and How Does It Orchestrate Multi-Cloud Deployments?

    hardGitOps & Continuous Delivery 6 mins
  80. 80. What is Pipeline as Code?

    mediumCI/CD 5 mins
  81. 81. What are Build Artifacts in CI/CD?

    easyCI/CD 5 mins
  82. 82. What is a Recreate Deployment Strategy?

    easyDeployment Strategies 5 mins
  83. 83. How Do Feature Flags Support DevOps Practices?

    mediumRelease Management 6 mins
  84. 84. What is Trunk-Based Development?

    mediumSource Control 6 mins
  85. 85. What is Release Management in DevOps?

    mediumRelease Engineering 6 mins
  86. 86. How Does Semantic Versioning Work in a DevOps Pipeline?

    easyRelease Engineering 5 mins
  87. 87. Declarative vs Scripted Jenkinsfile: What Is the Difference?

    mediumCI/CD Tools 6 mins
  88. 88. How Does Caching Work in a CI/CD Pipeline?

    mediumPipeline Optimization 6 mins
  89. 89. What Are CI/CD Pipeline Triggers and How Do They Work?

    easyPipeline Optimization 5 mins
  90. 90. What is Terraform State and Why Does It Matter?

    mediumInfrastructure as Code 6 mins
  91. 91. What are Terraform Modules and Why Use Them?

    mediumInfrastructure as Code 6 mins
  92. 92. Terraform vs CloudFormation: What is the Difference?

    mediumInfrastructure as Code 6 mins
  93. 93. What is Pulumi and How Does It Differ from Terraform?

    mediumInfrastructure as Code 6 mins
  94. 94. What are Terraform Workspaces and When Should You Use Them?

    mediumInfrastructure as Code 6 mins
  95. 95. What Do terraform plan and terraform apply Do?

    mediumInfrastructure as Code 6 mins
  96. 96. What is an Ansible Playbook?

    easyConfiguration Management 5 mins
  97. 97. Ansible vs Puppet vs Chef: How Do They Differ?

    mediumConfiguration Management 6 mins
  98. 98. What is HashiCorp Packer and When Would You Use It?

    mediumInfrastructure as Code 6 mins
  99. 99. What is cloud-init and How Does It Work?

    mediumInfrastructure as Code 6 mins
  100. 100. What Are Terraform Providers and How Do They Work?

    mediumInfrastructure as Code 6 mins
  101. 101. What Is a Terraform Remote Backend and Why Use One?

    mediumInfrastructure as Code 6 mins
  102. 102. What Are Ansible Roles and Why Use Them?

    mediumConfiguration Management 6 mins
  103. 103. What Is an Ansible Inventory and How Does It Work?

    easyConfiguration Management 5 mins
  104. 104. What Is Idempotency in Infrastructure as Code?

    mediumInfrastructure as Code 6 mins
  105. 105. What is Prometheus and How Does it Collect Metrics?

    mediumMonitoring 6 mins
  106. 106. What is Grafana and How Does it Relate to Prometheus?

    easyMonitoring 5 mins
  107. 107. What is the ELK Stack and How Do Its Components Work Together?

    mediumLogging 6 mins
  108. 108. What is Distributed Tracing and Why Does it Matter in Microservices?

    hardObservability 6 mins
  109. 109. What is Jaeger and How Does it Implement Distributed Tracing?

    mediumObservability 6 mins
  110. 110. What is OpenTelemetry?

    mediumObservability 6 mins
  111. 111. What Are Metrics, Logs, and Traces?

    easyObservability 5 mins
  112. 112. How Do You Design Effective Alerting?

    mediumObservability 6 mins
  113. 113. What Are SLIs, SLOs, and SLAs?

    mediumReliability 6 mins
  114. 114. What is an Error Budget?

    mediumReliability 6 mins
  115. 115. What is APM (Application Performance Monitoring)?

    mediumObservability 5 mins
  116. 116. What is Structured Logging and Why Does It Matter?

    easyObservability 5 mins
  117. 117. How Does Prometheus Alertmanager Work?

    mediumMonitoring & Alerting 6 mins
  118. 118. What is the Difference Between a Grafana Dashboard and a Panel?

    easyMonitoring & Alerting 5 mins
  119. 119. What is Log Rotation and Why is it Necessary?

    easyObservability 4 mins
  120. 120. What is Auto-Scaling and How Does it Work?

    mediumCloud Infrastructure 6 mins
  121. 121. What is a Load Balancer and How Does it Work?

    mediumNetworking 6 mins
  122. 122. What is a CDN and How Does it Improve Performance?

    easyNetworking 5 mins
  123. 123. What is Serverless Computing?

    mediumCloud Infrastructure 6 mins
  124. 124. What is FaaS (Function-as-a-Service)?

    mediumCloud Infrastructure 6 mins
  125. 125. AWS vs Azure vs GCP: What Are the Core Differences?

    easyCloud Platforms 5 mins
  126. 126. What Does "Cloud Native" Actually Mean?

    mediumCloud Architecture 6 mins
  127. 127. What Is the Twelve-Factor App Methodology?

    mediumApplication Architecture 6 mins
  128. 128. What Is Chaos Engineering and Why Do DevOps Teams Use It?

    hardReliability Engineering 6 mins
  129. 129. What Is Disaster Recovery and How Do RTO/RPO Work?

    hardReliability Engineering 6 mins
  130. 130. What Backup Strategies Would You Use in Production?

    mediumReliability & Disaster Recovery 6 mins
  131. 131. How Do You Manage Secrets in a DevOps Pipeline?

    mediumSecurity 6 mins
  132. 132. What is HashiCorp Vault and How Does It Work?

    mediumSecurity 6 mins
  133. 133. What is mTLS and Why Use It Between Services?

    mediumSecurity 5 mins
  134. 134. What is DevSecOps and How Do You Implement It?

    mediumSecurity 6 mins
  135. 135. SAST vs DAST: What Is the Difference?

    mediumApplication Security 6 mins
  136. 136. What Are the Key Principles of Container Security?

    mediumSecurity 6 mins
  137. 137. How Does Container Image Vulnerability Scanning Work?

    mediumSecurity 6 mins
  138. 138. What Is Network Segmentation and Why Does It Matter?

    mediumInfrastructure Security 6 mins
  139. 139. How Do You Achieve Zero-Downtime Deployment?

    mediumDeployment Strategies 6 mins
  140. 140. What are Feature Toggles (Feature Flags)?

    mediumRelease Engineering 5 mins
  141. 141. What is an Artifact Repository?

    easyCI/CD & Package Management 5 mins
  142. 142. Nexus vs Artifactory: What Are the Differences?

    mediumCI/CD & Package Management 6 mins
  143. 143. What Are the Common Git Branching Strategies?

    mediumSource Control 6 mins
  144. 144. Git Flow vs GitHub Flow: What Is the Difference?

    mediumSource Control 6 mins
  145. 145. Git Rebase vs Merge: What Is the Difference?

    mediumVersion Control 6 mins
  146. 146. Monorepo vs Polyrepo: Which Should You Choose?

    mediumSource Control Strategy 6 mins
  147. 147. What Is Blue-Green Deployment?

    mediumDeployment Strategies 6 mins
  148. 148. What Is a Canary Release Strategy?

    mediumDeployment Strategies 6 mins
  149. 149. What Is Shadow Deployment?

    hardDeployment Strategies 6 mins
  150. 150. What Rollback Strategies Would You Use in a Deployment Pipeline?

    mediumRelease Management 6 mins
  151. 151. How Do You Safely Run Database Migrations in a CI/CD Pipeline?

    hardRelease Management 6 mins
  152. 152. What is Environment Parity and Why Does It Matter?

    mediumDevOps Culture & Practices 5 mins
  153. 153. What is Infrastructure Drift and How Do You Detect and Prevent It?

    mediumInfrastructure as Code 6 mins
  154. 154. How Does terraform import Work and When Would You Use It?

    hardInfrastructure as Code 6 mins
  155. 155. How Do You Approach Cloud Cost Optimization?

    mediumCloud Cost Management 6 mins
  156. 156. How Would You Design a Cloud Resource Tagging Strategy?

    mediumCloud Governance 6 mins
  157. 157. Multi-Cloud vs Hybrid Cloud: What Is the Difference?

    mediumCloud Architecture 6 mins
  158. 158. What Is Edge Computing and How Does It Affect DevOps Practices?

    hardCloud Architecture 6 mins
  159. 159. What Is a Good Container Image Tagging Strategy?

    mediumContainers 5 mins
  160. 160. Helm vs Kustomize: What Is the Difference?

    mediumKubernetes Tooling 6 mins
  161. 161. What Are Kustomize Overlays?

    mediumKubernetes Tooling 6 mins
  162. 162. GitOps vs Traditional CI/CD: What Is the Difference?

    mediumGitOps 6 mins
  163. 163. What Is Argo Rollouts?

    hardProgressive Delivery 6 mins
  164. 164. What Is Progressive Delivery?

    hardProgressive Delivery 6 mins
  165. 165. Service Mesh: Istio vs Linkerd

    hardService Mesh 6 mins
  166. 166. What is Envoy Proxy?

    mediumService Mesh 5 mins
  167. 167. What is an API Gateway?

    mediumAPI Management 5 mins
  168. 168. Rate Limiting in Distributed Systems

    mediumReliability 6 mins
  169. 169. What is the Circuit Breaker Pattern?

    mediumReliability 5 mins
  170. 170. What is the Bulkhead Pattern in distributed systems?

    mediumResilience Patterns 6 mins
  171. 171. What are Retries and Exponential Backoff, and why use jitter?

    mediumResilience Patterns 6 mins
  172. 172. Sidecar vs Ambassador Pattern: What is the Difference?

    mediumMicroservices Patterns 6 mins
  173. 173. Kubernetes vs Docker Swarm: How Do They Compare?

    mediumContainer Orchestration 6 mins
  174. 174. Nomad vs Kubernetes: How Do They Compare?

    hardContainer Orchestration 6 mins
  175. 175. What are cgroups and namespaces, and how do they power containers?

    mediumContainer Internals 6 mins
  176. 176. How do container image layers work, and why do they matter for build speed?

    mediumContainer Internals 6 mins
  177. 177. What is the OCI Image Specification, and why does it matter?

    mediumContainer Standards 5 mins
  178. 178. What is BuildKit, and how does it improve on the classic Docker builder?

    mediumBuild Systems 6 mins
  179. 179. What causes cache busting in Docker builds, and how do you avoid it?

    mediumBuild Systems 6 mins
  180. 180. How Do You Manage SSH Keys Securely in a DevOps Team?

    mediumAccess & Identity 6 mins
  181. 181. What is a Bastion Host and Why Do You Need One?

    mediumNetwork Security 6 mins
  182. 182. VPN vs VPC Peering: What is the Difference?

    mediumCloud Networking 6 mins
  183. 183. Kubernetes NetworkPolicies vs Cloud Security Groups: What is the Difference?

    hardNetwork Security 6 mins
  184. 184. What is SSL/TLS Termination and Where Should It Happen?

    mediumNetwork Security 6 mins
  185. 185. How Do You Manage TLS Certificates in a DevOps Pipeline?

    mediumSecurity & Networking 6 mins
  186. 186. How Does Let’s Encrypt Certificate Automation Work?

    mediumSecurity & Networking 6 mins
  187. 187. How Does DNS Resolution Work Inside Kubernetes?

    mediumKubernetes 6 mins
  188. 188. What is CoreDNS and Why Does Kubernetes Use It?

    mediumKubernetes 5 mins
  189. 189. What is the Difference Between an Ingress Controller and a Load Balancer?

    mediumKubernetes 6 mins
  190. 190. Horizontal vs Vertical Scaling: What is the Difference?

    easyScalability 5 mins
  191. 191. What is Statelessness in Microservices and Why Does it Matter?

    mediumMicroservices 6 mins
  192. 192. What is a Service Registry and Why Do Microservices Need One?

    mediumService Discovery 6 mins
  193. 193. What is Consul and How is it Used in DevOps?

    mediumService Discovery 6 mins
  194. 194. What is ZooKeeper Used for in DevOps?

    hardDistributed Coordination 6 mins
  195. 195. What Are Message Queues and Why Do DevOps Teams Use Them?

    mediumMessaging & Integration 5 mins
  196. 196. What Is Apache Kafka and How Does It Work?

    mediumMessaging & Integration 6 mins
  197. 197. What Is Event-Driven Architecture in DevOps Systems?

    mediumSystem Design 6 mins
  198. 198. What Is the Saga Pattern in Distributed Transactions?

    hardSystem Design 6 mins
  199. 199. What Is the Transactional Outbox Pattern?

    hardSystem Design 6 mins
  200. 200. What is Infrastructure Testing and Why Does It Matter?

    mediumInfrastructure as Code 6 mins
  201. 201. What is Terratest and How Does It Test Infrastructure Code?

    mediumInfrastructure as Code 6 mins
  202. 202. What is Policy as Code and Why Use It in DevOps?

    mediumGovernance & Compliance 6 mins
  203. 203. What is Open Policy Agent (OPA) and How Does Rego Work?

    hardGovernance & Compliance 6 mins
  204. 204. What is HashiCorp Sentinel and How Does It Enforce Policy?

    hardGovernance & Compliance 6 mins
  205. 205. What is Compliance as Code?

    mediumSecurity & Compliance 6 mins
  206. 206. What are CIS Benchmarks?

    mediumSecurity & Compliance 6 mins
  207. 207. What is Container Runtime Security?

    hardSecurity & Compliance 6 mins
  208. 208. How Does Falco Detect Threats at Runtime?

    hardSecurity & Compliance 6 mins
  209. 209. What are Seccomp Profiles in Container Security?

    hardSecurity & Compliance 6 mins
  210. 210. AppArmor vs SELinux: What Is the Difference?

    hardLinux Security 6 mins
  211. 211. What Is Container Image Signing With Cosign?

    mediumSupply Chain Security 6 mins
  212. 212. What Is an SBOM (Software Bill of Materials)?

    mediumSupply Chain Security 6 mins
  213. 213. What Is Software Supply Chain Security in DevOps?

    hardSupply Chain Security 6 mins
  214. 214. What Is the SLSA Framework?

    hardSupply Chain Security 6 mins
  215. 215. What Is a Runbook and Why Does DevOps Rely On Them?

    easyOperations 5 mins
  216. 216. How Should an On-Call Rotation Be Designed?

    mediumOperations 6 mins
  217. 217. Walk Through the Incident Management Lifecycle in DevOps

    mediumOperations 6 mins
  218. 218. What Makes a Blameless Postmortem Effective?

    mediumOperations 6 mins
  219. 219. What Is Toil in SRE and How Do You Reduce It?

    mediumSite Reliability Engineering 6 mins
  220. 220. What is Capacity Planning in DevOps?

    mediumReliability & Scaling 5 mins
  221. 221. What is Synthetic Monitoring?

    mediumObservability 5 mins
  222. 222. Blackbox vs Whitebox Monitoring

    mediumObservability 6 mins
  223. 223. What is Log Sampling and Why Use It?

    mediumObservability 5 mins
  224. 224. What is the Deployment Frequency Metric?

    easyDevOps Metrics 5 mins