- 01Latest question
What should a reliable CI pipeline provide?
Question codeyamlsteps: - run: npm install - run: npm run buildIt should produce repeatable builds, fast and relevant feedback, traceable artifacts, secure dependency handling, and clear failures. Expensive checks can be staged without weakening the earliest useful quality gates.
Answer codeyamlsteps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version-file: '.nvmrc' cache: npm - run: npm ci - run: npm run lint - run: npm test - run: npm run build - 02
Why use infrastructure as code?
Infrastructure as code makes intended configuration reviewable, repeatable, testable, and recoverable. State, secrets, provider changes, and manual drift still require deliberate management.
- 03
How do containers differ from virtual machines?
Containers isolate processes while sharing the host kernel, whereas virtual machines include a guest operating system on virtualized hardware. Containers are lighter, but they still need resource limits, image security, and runtime isolation.
- 04
What is the difference between blue-green and canary deployment?
Blue-green switches traffic between complete environments, enabling a clear rollback target. Canary delivery exposes a new version to a smaller audience first and expands based on observed health.
- 05
How should application secrets be managed?
Store secrets in a dedicated secret system, restrict access by workload and environment, rotate them, and avoid logs, images, repositories, and command history. Applications should receive only the secrets they require.
- 06
What is the purpose of a blameless incident review?
It examines system conditions, signals, decisions, and recovery without reducing the event to individual blame. The output should be prioritized improvements to detection, design, operations, and response practice.
Delivery & Infrastructure
DevOps Interview Questions and Answers
Study DevOps interview questions covering CI/CD, infrastructure as code, containers, observability, deployment strategies, secrets, and incident learning.
Continue preparing
Related interview guides
Need delivery capability?
