You need to design CI/CD so deployments are blocked until automated tests succeed and artifacts are immutable. Which approach is most appropriate?

Answer

Use CodeBuild to run tests and store build outputs as artifacts with immutable versions

Explanation

Automated tests gate deployments and using versioned, immutable artifacts (e.g., distinct build identifiers) reduces the risk of deploying unintended changes.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list