Interview Prep/CI/CD/Builds, Artifacts, Nexus, SonarQube and Testing

A build uses `latest` tags for base images and suddenly breaks without code changes.

BeginnerScenarioBuilds, Artifacts, Nexus, SonarQube and Testing
Answer

Situation read → Unpinned inputs.

What I'd do →

  1. Pin base images by version and digest: FROM node:22.11-slim@sha256:....
  2. Let Renovate or Dependabot open PRs to bump them.
  3. Pin tool versions in the pipeline too.

Why → Controlled upgrades turn surprise breakages into reviewable PRs.

Interview tip → Pinning plus automated updates is the balanced answer.

All CI/CD questions Roadmap: CI/CD fundamentals

More on Builds, Artifacts, Nexus, SonarQube and Testing