Software Development Security

Production deployments must be automated, yet only artifacts built by the pipeline from reviewed code may run, and no single developer may push unreviewed changes. Which design BEST meets this?

Show the answer

Correct answerB. Require reviewed merges to a protected branch, sign artifacts in the pipeline, and verify the signature at deployment

AWhy not this: Workstation deployments bypass the pipeline and rely on a local scan the developer controls.

BWhy this is right: Review gates, pipeline signing and deploy-time verification enforce both reviewed code and trusted build origin.

CWhy not this: Signed commits prove authorship but do not verify that deployed artifacts came from the trusted pipeline.

DWhy not this: Weekly DAST on production is detective and late; it does not control what gets deployed.

Protected branches with mandatory review enforce separation of duties, and pipeline-signed artifacts verified at deployment prove provenance. Signed commits alone show who wrote code but do not stop an unauthorized agent from publishing an artifact that was never built from reviewed code.