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.

4330 bites

Page 97

How would you block merges when PR coverage drops 2%?
CI/CD & Automation2 min read

How would you block merges when PR coverage drops 2%?

Upload coverage to Codecov, set a project status threshold of 2, and require the check in branch protection.

CI/CD & Automation2 min read

How would you integrate SAST into CI without alert fatigue?

This tests embedding security into workflow without killing velocity. Run SAST per commit, suppress false positives via rulesets, gate on high-severity findings first and block merges only after calibration. A red flag is zero-tolerance blocking on day one.

Smoke test fails after canary deployment. Design the automated rollback.
CI/CD & Automation2 min read

Smoke test fails after canary deployment. Design the automated rollback.

Tests self-healing pipeline design: freeze canary traffic, auto-redeploy the last good release, verify rollback health, and keep failed pods for forensics. Red flag: requiring manual approval or in-place fixes instead of an atomic rollout swap.

CI/CD & Automation2 min read

How would you diagnose, report, and mitigate E2E flakiness at scale?

Tests metric-driven pipeline hygiene versus retry band-aids. Strong answers baseline flakiness rates, identify offenders via CI history, quarantine chronic flakes from presubmit, and fix root causes like concurrency.

CI/CD & Automation2 min read

SNAPSHOT and RELEASE versions: differences and appropriate use

SNAPSHOTs are mutable; RELEASEs are immutable and tagged. Use SNAPSHOTs on feature branches and RELEASEs for main.

How do you version Docker images: Git SHA or SemVer?
CI/CD & Automation2 min read

How do you version Docker images: Git SHA or SemVer?

Your grasp of immutable artifacts and traceability versus human-readable releases. Tag every build with Git SHA for immutability, then apply SemVer aliases only on promoted images. Treating floating tags like latest or v1 as safe production targets.

Explain proxy repositories in artifact managers and the problems they solve
CI/CD & Automation2 min read

Explain proxy repositories in artifact managers and the problems they solve

Tests caching and supply-chain resilience in builds. Strong answers cover: local caching of upstream artifacts, shielding CI from external outages, and policy enforcement at the edge.

Promote an artifact from staging to release without rebuilding it
CI/CD & Automation2 min read

Promote an artifact from staging to release without rebuilding it

Tests immutable artifact discipline. Answer: promote by copying the binary or retagging the image digest, never recompiling, because rebuilds introduce dependency drift and untested bits.

Integrate artifact signing and vulnerability scanning into CI/CD
CI/CD & Automation2 min read

Integrate artifact signing and vulnerability scanning into CI/CD

Build SBOMs, sign with ephemeral keys, scan registries, and enforce policy before deploy.

CI/CD & Automation2 min read

How can artifact management and CI identify affected services and block deployments?

Tests supply chain forensics and CI gating. Strong answers hit: SBOMs mapping transitive blast radius; artifact metadata tracing deployed versions; scan gates and quarantine policies blocking promotion.

CI/CD & Automation2 min read

How do you manage multi-arch container images under a single tag?

This tests image distribution and registry semantics. A strong answer covers manifest lists pointing to per-arch digests, Buildx as the builder driver, and the registry serving correct layer blobs.

CI/CD & Automation2 min read

What is Pipeline as Code and its benefits over GUI configuration?

Tests whether you treat delivery pipelines as versioned code. Strong answers define PaC as pipeline definitions in source control, citing branch automation, peer review, audit trails, and single source of truth.

CI/CD & Automation2 min read

Declarative vs scripted pipeline syntax: when to choose each?

This tests Jenkins Pipeline trade-off judgment. Contrast Declarative's opinionated blocks and guardrails with Scripted's raw Groovy flexibility; prefer Declarative for new projects unless complex flow control is needed.

CI/CD & Automation2 min read

How should you manage sensitive data in a committed pipeline file?

Tests that committed pipeline YAML must never store secrets. Answer: fetch at runtime via native secrets manager integrations; if needed, use masked, hidden, protected CI/CD variables; use typed CI/CD inputs for parameters.

CI/CD & Automation2 min read

How would you reuse pipeline steps across projects using PaC principles?

Tests DRY abstractions and coupling in CI/CD. Good answer: versioned reusable templates or libraries with parameterized inputs, consumed by composition. Red flag: raw copy-paste or one global pipeline forcing lockstep deployments.

How would you implement conditional logic in a pipeline?
CI/CD & Automation2 min read

How would you implement conditional logic in a pipeline?

Use if conditions with contexts like github.ref, separate trigger filters from runtime conditions, and add env rules.

CI/CD & Automation2 min read

How would you use PaC to introduce pipeline parallelism?

Tests splitting a sequential Jenkinsfile into independent Declarative parallel stages. Group tests and scans in a parallel block with stage-level agents, use matrix for cross-axis work, and version the Jenkinsfile.

Implement a manual approval gate for production deployment in pipeline-as-code
CI/CD & Automation2 min read

Implement a manual approval gate for production deployment in pipeline-as-code

This tests embedding human governance in automated pipelines with auditability. A strong answer covers environment-scoped approvals, timeouts, RBAC, and immutable logs. Red flag: Ad-hoc manual deploys outside the pipeline or missing rollback plans.

Standardize and update CI/CD across hundreds of microservices without per-repo edits
CI/CD & Automation2 min read

Standardize and update CI/CD across hundreds of microservices without per-repo edits

Repos use a thin wrapper importing versioned shared-library templates; a control plane rolls out updates with canary validation.

Discuss security implications of developer-defined PaC pipelines
CI/CD & Automation2 min read

Discuss security implications of developer-defined PaC pipelines

It tests balancing CI/CD flexibility with defense-in-depth against secret exfiltration. Cover scoped build identities, branch policies, approval gates, and sandboxed fork builds. Red flag: shared service connections or unrestricted pipeline admin rights.