Skip to content
tezvyn:

CI/CD & Automation

GitHub Actions, Terraform, ArgoCD, IaC, pipelines

309 bites

Test yourself: Top 30 CI/CD & Automation interview questionsMultiple choice, with the correct answer and why it is correct on every question. Free, no sign-in.

Everything in CI/CD & Automation, page 7

easy2 min read

What is a CI/CD quality gate? Give a simple example.

Thresholds blocking merges; a minimal new-code gate with 0 critical issues & 70% new-code coverage.

intermediate2 min read

How would you design a multi-arch build process and anticipate challenges?

Mention buildx or cross-compilation, split native and emulated builds, cache per-arch layers.

Compare ephemeral container agents versus persistent build agents
intermediate2 min read

Compare ephemeral container agents versus persistent build agents

Ephemeral agents ensure clean state but add cold-start latency; persistent agents speed builds via caching yet risk config drift.

intermediate2 min read

Explain dependency management and diamond conflicts in automated builds

Tests transitive dependency resolution and conflict strategies in build pipelines. Strong answers mention nearest-wins eviction, strict versioning, shading, or classloader isolation. Red flag: manual jar swaps or pinning without understanding ABI breakage.

Your build times increased significantly. How do you investigate and optimize?
intermediate2 min read

Your build times increased significantly. How do you investigate and optimize?

Tests methodical CI/CD bottleneck analysis and build optimization tactics. Strong answers baseline the timeline, isolate the slowest stage with metrics, then apply parallelism, caching, or dependency pruning.

easy2 min read

How do build tools differ from compilers or interpreters?

This tests whether you see compilation as only one step in a repeatable pipeline. A strong answer covers dependency resolution, transitive libraries, task automation, and artifact packaging.

Compare git submodules and git subtree for CI/CD
advanced2 min read

Compare git submodules and git subtree for CI/CD

Tests dependency integration trade-offs in CI. Submodules need recursive clones and pinned commits, complicating checkout; subtree inlines code, simplifying clone but bloating history. Red flag: omitting submodule detached HEAD pain or calling subtree free.

How do you fully remove leaked credentials from Git history?
advanced2 min read

How do you fully remove leaked credentials from Git history?

This tests Git history rewriting and incident response. Rotate the secret first, then use git-filter-repo to purge the file, force-push main, and require all teammates to re-clone before resuming. A red flag is recommending git revert or skipping rotation.

intermediate2 min read

How do you safely merge a 50-commit stale branch with conflicts?

Assess relevance, merge main locally, validate via draft PR and tests, merge off-peak with rollback ready.

How do feature flags enable unfinished work in Trunk-Based Development?
intermediate2 min read

How do feature flags enable unfinished work in Trunk-Based Development?

Commit behind off flags; CI/CD deploys trunk continuously; flags gate exposure for gradual rollouts.

intermediate2 min read

Describe Trunk-Based Development principles and CI/CD benefits

Tests if you view TBD as a CI/CD enabler versus GitFlow. Good answers name a single trunk, branches under 24 hours, pre-integrate builds, and feature flags, tying daily commits to releasable code and less merge hell. Red flag: endorsing long-lived branches.

easy2 min read

Describe using a pre-push Git hook for checks and its CI limitations.

It tests client-side automation versus server-side policy. An executable .git/hooks/pre-push script runs tests and exits non-zero to block, noting hooks are not cloned, skipped via --no-verify, and local-only. A red flag is treating them as policy gate.

easy2 min read

Difference between git merge and git rebase before a pull request

Rebase rewrites SHAs, duplicating CI builds; merge keeps identity and triggers one build.

How does your CI/CD strategy differ between monoliths and microservices?
advanced2 min read

How does your CI/CD strategy differ between monoliths and microservices?

Contrast monolith unified builds with microservice independent deploys, side-by-side versions, and service gates.

advanced2 min read

Pipeline is green but lead time grows. Three areas to investigate?

This tests distinguishing pipeline health from delivery flow efficiency. A strong answer targets pre-merge wait states, slow green pipeline stages, and post-merge deployment friction, using time-in-stage metrics.

What is a build artifact and why build once deploy many crucial?
intermediate2 min read

What is a build artifact and why build once deploy many crucial?

Tests whether you see artifacts as immutable deployable units. A strong answer says one binary is promoted through all stages, config is externalized, and rebuilding per environment creates drift. Red flag: accepting per-environment rebuilds.

easy2 min read

Describe the typical CI pipeline sequence from push to deploy

This tests stage ordering and failure handling. A strong answer lists build, test, and deploy stages; notes intra-stage parallelism and inter-stage sequencing; and mentions early termination on failure.

What is CI, and what is its single most important goal?
easy2 min read

What is CI, and what is its single most important goal?

Frequent merges to a shared branch with automated build and test; top goal is a workable integrated codebase.

intermediate2 min read

Platform Orchestrator: Infrastructure's Travel Agent

A platform orchestrator is infrastructure's travel agent: describe an app and it provisions compute, databases, and caches across clouds automatically. It shines once teams outgrow per-service Terraform. Adopt it too early and it becomes a bottleneck.

intermediate2 min read

Backstage: The Developer Portal Framework

Backstage is a framework for building a developer portal, not a ready-made dashboard. It centralizes ownership, docs, and tooling when microservice sprawl hides context. The footgun is treating it as a product you deploy without upkeep; the catalog rots.

We are hiring for this. Every open role lists the topics its interview covers, so you can prepare for the real thing rather than guessing.

See open roles