Interview Q&A · questions with model answers

DevOps Fundamentals Interview Questions

Part of the study plan for: DevOps Engineer

Ordered by how often they're asked. Most-asked answers are free to read in full; members see every answer and can rate their confidence on each.

  1. Most asked infrastructure as code

    Declare infra in versioned code for repeatability.

  2. Most asked DevOps tooling: explain Kubernetes Pod.

    Smallest deployable unit; one or more containers sharing network/volumes.

  3. Most asked DevOps tooling: explain Terraform state.

    Tracks real resources; remote state + locking for teams.

  4. Most asked DevOps tooling: explain blue/green & canary.

    Traffic shifting strategies to reduce release risk.

  5. Most asked Security in DevOps: secrets management?

    Vault/SM/KMS; never commit secrets; rotate regularly.

  6. DevOps tooling: explain Dockerfile best practices.

    Multi-stage builds, small base images, non-root user, layer caching.

  7. DevOps tooling: explain Service / Ingress.

    Service exposes pods; Ingress HTTP routing into cluster.

  8. DevOps tooling: explain Terraform plan/apply.

    Preview then mutate infra; review plans in CI.

  9. DevOps tooling: explain Jenkins / GitHub Actions.

    CI orchestration running pipelines as code.

  10. Security in DevOps: DevSecOps?

    Integrate security scanning and policies into pipelines.

  11. Security in DevOps: least privilege IAM?

    Minimal permissions for pipelines and runtimes.

  12. shift left

    Move testing/security earlier in the pipeline.

  13. GitOps

    Desired state in Git; controllers reconcile clusters to that state.

  14. blameless postmortems

    Focus on systemic fixes after incidents, not individuals.

  15. DORA metrics

    Deployment frequency, lead time, change fail rate, MTTR.

  16. DevOps tooling: explain ConfigMap / Secret.

    Inject config; Secrets for sensitive data (still encrypt/manage carefully).

  17. DevOps tooling: explain HPA.

    Horizontal Pod Autoscaler scales replicas on metrics.

  18. DevOps tooling: explain artifact repositories.

    Store versioned builds (Nexus/Artifactory/ECR/GHCR).

  19. DevOps tooling: explain Prometheus / Grafana.

    Metrics scrape + dashboards/alerts.

  20. DevOps tooling: explain OpenTelemetry.

    Vendor-neutral traces/metrics/logs instrumentation.

  21. DevOps tooling: explain feature flags.

    Decouple deploy from release; progressive delivery.

  22. Security in DevOps: image scanning?

    CVE scan containers before deploy.

  23. Security in DevOps: network policies?

    Limit pod-to-pod traffic in Kubernetes.

  24. Security in DevOps: supply chain attacks?

    Pin versions, verify signatures, lockfiles, trusted bases.

  25. toil

    Manual repetitive work that should be automated (SRE term).

  26. DevOps tooling: explain Ansible.

    Agentless config management via SSH/WinRM.

  27. DevOps tooling: explain ELK / OpenSearch.

    Centralized log aggregation and search.

  28. DevOps tooling: explain Helm.

    Kubernetes package manager for templated charts.

  29. DevOps tooling: explain service mesh.

    mTLS, traffic shaping, observability between services (Istio/Linkerd).

  30. Security in DevOps: SBOM?

    Software bill of materials for supply-chain visibility.

  31. Security in DevOps: policy as code?

    OPA/Conftest/Kyverno enforce cluster/infra rules.

Was this page helpful?

Report a mistake