Interview Q&A · 40 questions · 9 answered publicly
DevOps Fundamentals Interview Questions
Ordered by how often they're asked. Sign in free to see every answer, rate your confidence and run timed mock interviews.
-
Most asked CI vs CD
Summary
CI continuously integrates/tests; CD continuously delivers/deploys to environments.
Longer Answer
CI continuously integrates/tests; CD continuously delivers/deploys to environments. DevOps culture/practice.
Key Points
- CI continuously integrates/tests; CD continuously delivers/deploys to environments
- DevOps culture/practice
- Relevant areas: Devops, Culture
- Use the answer to connect the concept back to a realistic production or interview scenario for 'CI vs CD'
Comparison / Tradeoffs
Aspect Notes Core idea CI continuously integrates/tests; CD continuously delivers/deploys to environments. Practical tradeoff DevOps culture/practice. -
Most asked infrastructure as code
Summary
Declare infra in versioned code for repeatability.
Longer Answer
Declare infra in versioned code for repeatability. DevOps culture/practice.
Key Points
- Declare infra in versioned code for repeatability
- DevOps culture/practice
- Relevant areas: Devops, Culture
- Use the answer to connect the concept back to a realistic production or interview scenario for 'infrastructure as code'
Comparison / Tradeoffs
Aspect Notes Core idea Declare infra in versioned code for repeatability. Practical tradeoff DevOps culture/practice. -
Most asked DevOps tooling: explain Docker image vs container.
Summary
Image is immutable template; container is running instance.
Longer Answer
Image is immutable template; container is running instance. Tooling: Docker image vs container.
Key Points
- Image is immutable template; container is running instance
- Tooling: Docker image vs container
- Relevant areas: Devops, Tools
- Use the answer to connect the concept back to a realistic production or interview scenario for 'DevOps tooling: explain Docker image vs container.'
Comparison / Tradeoffs
Aspect Notes Core idea Image is immutable template; container is running instance. Practical tradeoff Tooling: Docker image vs container. -
Most asked DevOps tooling: explain Kubernetes Pod.
Summary
Smallest deployable unit; one or more containers sharing network/volumes.
Longer Answer
Smallest deployable unit; one or more containers sharing network/volumes. Tooling: Kubernetes Pod.
Key Points
- Smallest deployable unit; one or more containers sharing network/volumes
- Tooling: Kubernetes Pod
- Relevant areas: Devops, Tools
- Use the answer to connect the concept back to a realistic production or interview scenario for 'DevOps tooling: explain Kubernetes Pod.'
Comparison / Tradeoffs
Aspect Notes Core idea Smallest deployable unit; one or more containers sharing network/volumes. Practical tradeoff Tooling: Kubernetes Pod. -
Most asked DevOps tooling: explain liveness vs readiness probes.
Summary
Liveness restart unhealthy; readiness control traffic.
Longer Answer
Liveness restart unhealthy; readiness control traffic. Tooling: liveness vs readiness probes.
Key Points
- Liveness restart unhealthy; readiness control traffic
- Tooling: liveness vs readiness probes
- Relevant areas: Devops, Tools
- Use the answer to connect the concept back to a realistic production or interview scenario for 'DevOps tooling: explain liveness vs readiness probes.'
Comparison / Tradeoffs
Aspect Notes Core idea Liveness restart unhealthy; readiness control traffic. Practical tradeoff Tooling: liveness vs readiness probes. -
Most asked DevOps tooling: explain Terraform state.
Summary
Tracks real resources; remote state + locking for teams.
Longer Answer
Tracks real resources; remote state + locking for teams. Tooling: Terraform state.
Key Points
- Tracks real resources; remote state + locking for teams
- Tooling: Terraform state
- Relevant areas: Devops, Tools
- Use the answer to connect the concept back to a realistic production or interview scenario for 'DevOps tooling: explain Terraform state.'
Comparison / Tradeoffs
Aspect Notes Core idea Tracks real resources; remote state + locking for teams. Practical tradeoff Tooling: Terraform state. -
Most asked DevOps tooling: explain blue/green & canary.
Summary
Traffic shifting strategies to reduce release risk.
Longer Answer
Traffic shifting strategies to reduce release risk. Tooling: blue/green & canary.
Key Points
- Traffic shifting strategies to reduce release risk
- Tooling: blue/green & canary
- Relevant areas: Devops, Tools
- Use the answer to connect the concept back to a realistic production or interview scenario for 'DevOps tooling: explain blue/green & canary.'
Comparison / Tradeoffs
Aspect Notes Core idea Traffic shifting strategies to reduce release risk. Practical tradeoff Tooling: blue/green & canary. -
Most asked Security in DevOps: secrets management?
Summary
Vault/SM/KMS; never commit secrets; rotate regularly.
Longer Answer
Vault/SM/KMS; never commit secrets; rotate regularly. Sec: secrets management.
Key Points
- Vault/SM/KMS; never commit secrets; rotate regularly
- Sec: secrets management
- Relevant areas: Devops, Security
- Use the answer to connect the concept back to a realistic production or interview scenario for 'Security in DevOps: secrets management?'
Comparison / Tradeoffs
Aspect Notes Core idea Vault/SM/KMS; never commit secrets; rotate regularly. Practical tradeoff Sec: secrets management. -
Most asked DevOps tooling: explain Deployment vs StatefulSet.
Summary
Deployments for stateless; StatefulSets stable identity/storage.
Longer Answer
Deployments for stateless; StatefulSets stable identity/storage. Tooling: Deployment vs StatefulSet.
Key Points
- Deployments for stateless; StatefulSets stable identity/storage
- Tooling: Deployment vs StatefulSet
- Relevant areas: Devops, Tools
- Use the answer to connect the concept back to a realistic production or interview scenario for 'DevOps tooling: explain Deployment vs StatefulSet.'
Comparison / Tradeoffs
Aspect Notes Core idea Deployments for stateless; StatefulSets stable identity/storage. Practical tradeoff Tooling: Deployment vs StatefulSet. - What is DevOps?
- continuous delivery vs deployment
- DevOps tooling: explain Dockerfile best practices.
- DevOps tooling: explain Service / Ingress.
- DevOps tooling: explain Terraform plan/apply.
- DevOps tooling: explain Jenkins / GitHub Actions.
- Security in DevOps: DevSecOps?
- Security in DevOps: least privilege IAM?
- shift left
- GitOps
- SRE vs DevOps
- blameless postmortems
- DORA metrics
- DevOps tooling: explain ConfigMap / Secret.
- DevOps tooling: explain HPA.
- DevOps tooling: explain artifact repositories.
- DevOps tooling: explain Prometheus / Grafana.
- DevOps tooling: explain OpenTelemetry.
- DevOps tooling: explain feature flags.
- Security in DevOps: image scanning?
- Security in DevOps: network policies?
- Security in DevOps: supply chain attacks?
- toil
- DevOps tooling: explain Ansible.
- DevOps tooling: explain ELK / OpenSearch.
- DevOps tooling: explain Helm.
- DevOps tooling: explain service mesh.
- Security in DevOps: SBOM?
- Security in DevOps: policy as code?
- What is infrastructure as code and why is it useful?
- How does continuous integration differ from continuous deployment?