What is an artifact, and why "build once, deploy many"?

IntermediateConceptCI/CD
Answer

An artifact is the built output (an image, JAR or zip). Promoting the same immutable artifact through every environment means production runs exactly what was tested. Rebuilding per environment breaks that guarantee.

All Real-World Interview questions Roadmap: Interview readiness

More on CI/CD