Skip to content
tezvyn:

All bites

The whole library, newest first. Filter by what you are here for, or pick a topic if you already know.

8668 bites

Page 190

CI/CD & Automation2 min read

Design a selective build strategy for a large monorepo

Tests monorepo dependency graph reasoning. Good answers model a DAG, compute reverse deps of the changed library, rebuild only affected targets via Bazel or Nx, and cache remotely. Red flag: directory triggers, full rebuilds, or testing the library alone.

CI/CD & Automation2 min read

What is static analysis in automated builds, with examples?

This tests if you treat static analysis as a pre-runtime quality gate. A strong answer says it shifts feedback left via non-execution scans, citing cyclomatic complexity or unhandled promise rejections.

CI/CD & Automation2 min read

What is Git LFS and what are its CI/CD trade-offs?

This tests whether you understand Git's object model limits. A strong answer covers pointer indirection, smudge filters, and the shift of download burden to the LFS server in CI. A red flag is claiming LFS eliminates large file transfers entirely.

CI/CD & Automation2 min read

Explain .gitignore and its impact on faster, reliable, secure CI builds

Exclude build artifacts to shrink clones and stabilize cache keys; block secrets from runners.

How do you add a basic post-deployment health check in CI/CD?
CI/CD & Automation2 min read

How do you add a basic post-deployment health check in CI/CD?

Tests deployment validation beyond exit-code success. Outline: add a post-deploy stage that probes an HTTP endpoint, checks status code and latency, validates critical dependencies, and triggers rollback on failure.

CI/CD & Automation2 min read

How do you implement security policies as code across CI pipelines?

This tests operationalizing Policy as Code for security scanners at scale. Strong answers cover centralized version-controlled rules consumed by CI pipelines with automated gates and exception workflows. Red flag: teams maintaining independent scanner configs.

How would you add E2E tests to CI and what challenges arise?
CI/CD & Automation2 min read

How would you add E2E tests to CI and what challenges arise?

This tests CI/CD pipeline design. Cover Dockerized environments, parallel runs, flaky-test retries, and selective execution such as critical tests per commit and full suites nightly. Red flag: running all tests on every commit without isolation or retries.

CI/CD & Automation2 min read

How do you keep one build artifact immutable across environments?

This tests separation of build and run stages. A strong answer packages one artifact with zero embedded config, then injects env vars or mounted secrets at deploy time via the platform. Red flags include per-stage rebuilds or config baked into the image.

How would you implement zero-downtime secrets rotation?
CI/CD & Automation2 min read

How would you implement zero-downtime secrets rotation?

Inventory secrets and app caching; baseline monitoring; dual-phase rotation with overlapping secrets; verify before revoking old.

How would you design an automated artifact repository cleanup policy?
CI/CD & Automation2 min read

How would you design an automated artifact repository cleanup policy?

Balancing cost, compliance, and speed via tiered artifact retention. A strong answer covers age rules, deployment state, protected tags, and dry-run gates.

Compare monorepo and polyrepo strategies in CI/CD
CI/CD & Automation2 min read

Compare monorepo and polyrepo strategies in CI/CD

Tests repo structure impact on builds, dependencies, and pipeline triggers. Contrast monorepo atomicity with polyrepo autonomy; cover monorepo change-detection versus polyrepo versioning and contract tests.

Design a dynamic, risk-based quality gate system
CI/CD & Automation2 min read

Design a dynamic, risk-based quality gate system

Tests if you can move CI/CD from binary pass/fail to contextual risk scoring. Strong answers define criticality tiers, weight signals by severity and blast radius, and emit GO/CAUTION/STOP states.

CI/CD & Automation2 min read

How would you architect deployment capabilities for multiple disparate environments?

This tests platform design for secure multi-environment orchestration. A strong answer proposes a declarative control plane, environment-local agents with short-lived credentials, and templating for consistency.

Design a secure multi-tenant CI/CD runner on Kubernetes
CI/CD & Automation2 min read

Design a secure multi-tenant CI/CD runner on Kubernetes

Apply namespaces, NetworkPolicies, Pod Security Standards; cap resources with ResourceQuotas and LimitRanges; schedule to dedicated or sandboxed nodes.

Design a Docker artifact system for cost, traceability, and speed
CI/CD & Automation2 min read

Design a Docker artifact system for cost, traceability, and speed

Tests cost-speed-auditability tradeoffs for artifacts at scale. Strong answers cover tiered storage with lifecycle policies,immutable build provenance,regional caching, and automated garbage collection. Red flag: infinite mutable storage with no cleanup rules.

How would you collect metrics and KPIs for your Internal Developer Platform?
CI/CD & Automation2 min read

How would you collect metrics and KPIs for your Internal Developer Platform?

This tests product-thinking: treating developers as customers, not captive users. Strong answers cover adoption (golden-path usage), developer experience (deploy speed, NPS), and business value. Red flag: tracking CPU or uptime without linking to adoption.

Diagnose CI/CD queue bottlenecks and propose three throughput improvements
CI/CD & Automation2 min read

Diagnose CI/CD queue bottlenecks and propose three throughput improvements

This tests CI/CD scheduling and queuing theory. A strong answer profiles queue versus execution time, then proposes right-sizing parallelism, aggressive caching, and workload sharding. A red flag is jumping straight to adding agents without measuring first.

How do you manage secrets for hundreds of services in centralized CI/CD?
CI/CD & Automation2 min read

How do you manage secrets for hundreds of services in centralized CI/CD?

It tests secret sprawl prevention and least privilege in CI/CD. Answer: use a secrets manager with RBAC, short-lived credentials, runtime injection, and audit logs. Red flag: secrets in Git, plain env vars, or one shared master key.

How do you version shared CI steps and handle breaking changes?
CI/CD & Automation2 min read

How do you version shared CI steps and handle breaking changes?

This tests CI hygiene and consumer safety. Pin shared steps to immutable tags or SHAs, use semantic versioning, and force consumers to opt into breaking changes. Red flag: referencing a mutable branch like main for reusable workflows.

Describe high-level steps to onboard a microservice via self-service CI/CD
CI/CD & Automation2 min read

Describe high-level steps to onboard a microservice via self-service CI/CD

Tests platform thinking and developer experience design. A strong answer outlines a golden path: templated repo setup, standardized build/test stages, environment promotion, and observability hooks, plus guardrails not blockers.