Question 420
During an operational security assessment at a public-sector technology agency, the team documents this issue: An untrusted fork PR executes a deployment stage using production connection permissions. The affected delivery process supports citizen applications and reusable infrastructure; accountability and service availability depend on controlled delivery. Choose TWO statements that provide both the appropriate correction and a meaningful test of its success. (Select TWO.)
Explanation
Correct Answers
Correct corrective action. Configure the approved GitHub service connection or application integration for Azure Pipelines with restricted repository access and trigger behavior. The action targets the recorded failure (An untrusted fork PR executes a deployment stage using production connection permissions), and is intended to reduce the corresponding risk: Misconfigured connections may build unapproved source or fail to respond to authorized changes and PR checks.
Correct verification. A reviewed PR starts the expected pipeline with the exact source revision and cannot access unrelated private repositories. The measurement or controlled test provides evidence for the issue (An untrusted fork PR executes a deployment stage using production connection permissions) and complements the selected corrective action rather than simply repeating a recommendation.
Incorrect Answers
Implement multi-stage build, test, staging and production stages with immutable artifact promotion and environment-specific checks. The azure pipelines GitHub repository integration implementation and safeguard are still missing.
Organize nonsecret pipeline variables with explicit stage scopes and authorized variable groups, avoiding accidental overrides and secret exposure. This does not supply the required azure pipelines GitHub repository integration action-and-control pair.
Two consuming repositories adopt a reviewed template version and execute the same mandatory control without local bypass. The two-part azure pipelines GitHub repository integration control remains unsatisfied.