>DevOps Interview KB

Conceptual Interview Questions — All Categories

166 questions across 34 categories

The underlying mechanisms and trade-offs interviewers expect you to actually understand, not just recite.

Can a small startup meaningfully practice SRE, or does the error-budget/SLO machinery only make sense past a certain scale?

BeginnerSRE6 min

Your company's microservices architecture has oddly chatty, tightly-coupled services that mirror exactly how your engineering org is divided into teams. Is that a coincidence?

IntermediateDevops6 min

A team's definition of 'done' for infrastructure changes is just 'terraform apply succeeded.' What's actually missing from that definition, and why does it matter?

IntermediateDevops6 min

A team is proud that their service hasn't had a major incident in 8 months, but when something does break, it takes hours to recover. Which reliability metric should they actually be optimizing for?

IntermediateDevops6 min

Leadership wants to 'shift left' on security, testing, and cost — but the phrase is used so broadly it's started to feel meaningless. What does shift-left actually mean, concretely?

BeginnerDevops6 min

What's actually the difference between DevOps, SRE, and Platform Engineering — as practices, not just job titles — and how would you explain it to someone outside the team?

BeginnerDevops6 min

What's the actual difference between idempotency and "safe to re-run" — can a task be safely re-run without actually being idempotent?

IntermediateDevops6 min

How would you tell whether a company's "Platform Engineering" team is genuinely building self-service tooling, versus just being the old ops team under a new name?

IntermediatePlatform Engineering6 min

Joining a company with none of DevOps, SRE, or Platform Engineering formalized, which would you introduce first, and why?

IntermediateDevops7 min

How would you measure whether engineers are actually acting on security scan findings, versus just dismissing them to unblock their PR?

IntermediateDevSecOps6 min

How would you integrate SAST, dependency scanning, and secrets scanning into a CI/CD pipeline without making every single PR painfully slow?

IntermediateDevSecOps8 min

What does 'build provenance' actually mean in a supply-chain security context, and how would you start implementing it (e.g. via SLSA) for an existing CI pipeline?

AdvancedDevSecOps8 min

What's the actual difference between a Docker image and a Docker container? People use the words interchangeably, but they're not the same thing.

BeginnerDocker5 min

How does Docker layer caching behave differently on CI runners without a persistent Docker daemon between builds, and how would you mitigate the resulting slowdown?

IntermediateDocker6 min

What's the difference between a container's internal port and a host-published port, and how does confusing them cause debugging headaches?

BeginnerDocker5 min

How does Docker's DNS-based service discovery actually work under the hood for containers on a user-defined network?

IntermediateDocker6 min

A Pub/Sub-triggered Cloud Function occasionally processes the same message twice — is this a bug, and how do you actually fix it?

IntermediateGCPCloud FunctionsPub/Sub7 min

Why is granting a GCP Editor or Owner basic role considered dangerous, and how do predefined and custom roles fix that?

BeginnerGCP6 min

A project has correct IAM roles, but you still need to guarantee no VM ever gets a public IP — is that an IAM problem, or something else?

IntermediateGCP6 min

A large file upload to Cloud Storage keeps failing partway through on an unreliable network — what does a resumable upload actually solve here?

BeginnerGCPCloud Storage6 min

Why does Google recommend uniform bucket-level access over fine-grained ACLs, and what actually breaks when you enable it on an existing bucket?

IntermediateGCPCloud Storage6 min

What's the actual difference between git fetch and git pull, and why do some teams recommend always fetching first?

BeginnerGit5 min

Two engineers are working on the same long-lived feature branch. One wants to rebase onto main daily, the other insists on merging main in. Who's right, and how do you decide?

BeginnerGit8 min

What's the actual difference between git merge and git rebase in terms of what happens to the commit graph, not just the end result you see?

BeginnerGit6 min