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

Integration test environment is expensive and idle at night.

IntermediateScenarioBuilds, Artifacts, Nexus, SonarQube and Testing
Answer

Situation read → Always-on cost.

What I'd do →

  1. Create environments on demand with IaC (Terraform/Helm) inside the pipeline and destroy at the end.
  2. For shared environments schedule scale-down (KEDA, cron-scaling, or stopping instances).
  3. Use ephemeral namespaces on a shared cluster with resource quotas.

Why → Pay for the environment only while tests run.

Interview tip → Cost is part of CI/CD design.

All CI/CD questions Roadmap: CI/CD fundamentals

More on Builds, Artifacts, Nexus, SonarQube and Testing