Practical Interview Questions — All Categories
131 questions across 30 categories
Hands-on, command-driven questions testing whether you can actually operate these tools, not just discuss them.
Two containers need to share the same data — one writes, another reads. How would you design this safely with Docker volumes?
IntermediateDocker6 min
A Cloud Function's p99 latency is dominated by cold starts under bursty traffic — how would you mitigate this, and what's the actual cost trade-off?
IntermediateGCPCloud Functions7 min
A Cloud Function has been silently failing for days with no alert firing — what's typically missing in the observability setup, and how do you fix it?
IntermediateGCPCloud Functions6 min
A Cloud Function times out mid-execution after partially completing a multi-step operation — what state does it leave behind, and how do you design around this?
AdvancedGCPCloud Functions7 min
How would you audit an entire GCP organization to find every principal holding Owner or Editor at the project level, before a security review?
AdvancedGCP7 min
How would you grant a contractor temporary access to a GCP project that automatically expires, without manually revoking it later?
IntermediateGCP6 min
A service account in Project A needs to read from a Cloud Storage bucket in Project B — how does IAM actually handle this cross-project access?
IntermediateGCP6 min
How would you design least-privilege IAM for a Cloud Function that reads from Pub/Sub and writes to a specific Cloud Storage bucket?
IntermediateGCP6 min
How would you design a CI/CD pipeline's GCP authentication using service account impersonation instead of a downloaded key, and why is that safer?
AdvancedGCP7 min
A GKE workload needs to call a GCP API — should it use Workload Identity or a mounted service account key file, and why?
IntermediateGCPGKE7 min
How would you design Cloud Storage lifecycle rules to automatically reduce cost as objects age, without risking premature deletion of data still in use?
IntermediateGCPCloud Storage7 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
A bug was introduced somewhere in the last 200 commits, but nobody knows exactly which one, and the bug doesn't reproduce reliably enough to eyeball the diffs. How would you find the exact commit using git bisect?
IntermediateGit6 min
A feature branch has 15 messy commits ('wip', 'fix typo', 'actually fix it') before it's ready for review. How would you use interactive rebase to clean this up into a coherent history?
IntermediateGit6 min
A secret was committed several commits ago and has since been rotated, but it's still sitting in the repository's Git history. How do you actually remove it, not just delete it in a new commit?
AdvancedGit7 min
After migrating to OIDC, how would you detect and alert on someone reintroducing a long-lived AWS access key as a GitHub secret?
IntermediateGitHub ActionsAWS7 min
Your GitHub Actions build spends 3 of its 5 minutes reinstalling the same dependencies every single run. How would you design caching to fix that without risking stale or corrupted cache issues?
IntermediateGitHub Actions6 min
You're testing a library against 4 language versions and 3 operating systems using a matrix build. One combination fails immediately, but you want the others to keep running. How do you configure that?
IntermediateGitHub Actions5 min
Your GitLab pipeline runs 6 stages sequentially, but half your jobs don't actually depend on each other. How would you use 'needs' to speed this up?
IntermediateGitLab CI/CD6 min
How would you write .gitlab-ci.yml rules to prevent duplicate pipelines from firing for both a branch push and its merge request?
IntermediateGitLab CI/CD6 min
How would you configure GitLab merge request approval rules so that changes to a payments module always require sign-off from the payments team specifically, not just any two approvers?
IntermediateGitLab CI/CD6 min
A teammate accidentally merged a merge request that was still a work in progress, because nothing in GitLab's workflow signaled it wasn't ready. How would you prevent this going forward?
BeginnerGitLab CI/CD5 min
Two approved merge requests are merged to main within minutes of each other, and the second one breaks the build even though it passed CI on its own branch. How does GitLab's merge trains feature prevent this?
IntermediateGitLab CI/CD6 min