Question 500
During an operational security assessment at a public-sector technology agency, the team documents this issue: A deployment environment gate remains unresolved but a script proceeds using the service connection. The affected delivery process supports citizen applications and reusable infrastructure; accountability and service availability depend on controlled delivery. Which TWO responses form a sound implementation-and-verification pair for this issue? (Select TWO.)
Explanation
Correct Answers
Correct corrective action. Configure Azure Pipelines environment approval checks and permitted branch controls at the protected resource, not only in editable pipeline YAML. The action targets the recorded failure (A deployment environment gate remains unresolved but a script proceeds using the service connection), and is intended to reduce the corresponding risk: Authors can bypass YAML-only approval logic or deploy unauthorized branch content if the environment is unprotected.
Correct verification. A release from an unapproved branch cannot consume production and a qualified approver authorizes a valid release before execution. The measurement or controlled test provides evidence for the issue (A deployment environment gate remains unresolved but a script proceeds using the service connection) and complements the selected corrective action rather than simply repeating a recommendation.
Incorrect Answers
Centralize versioned YAML templates for mandatory security and build steps, and require tested template adoption for dependent pipelines. The paired controls concern environment approval checks and branch controls, not that measure.
Use explicit branch and path trigger filters with tested PR triggers so only relevant changes run the intended pipeline actions. It is not the complementary risk control for environment approval checks and branch controls.
The same digest moves from a green build through staging to a protected production environment with recorded approval. This does not supply the required environment approval checks and branch controls action-and-control pair.