Question 790
During an operational security assessment at a public-sector technology agency, the team documents this issue: A third-party deployment application can modify branch rules although it only needs release status access. The affected delivery process supports citizen applications and reusable infrastructure; accountability and service availability depend on controlled delivery. Select TWO: one corrective action and one test that confirms its effectiveness. (Select TWO.)
Explanation
Correct Answers
Correct corrective action. Use a GitHub App installation with scoped repository permissions for automation rather than an employee-owned broad personal token when appropriate. The action targets the recorded failure (A third-party deployment application can modify branch rules although it only needs release status access), and is intended to reduce the corresponding risk: Personal access tokens can outlive staffing changes, grant excess repository access and make automation difficult to audit.
Correct verification. The installed GitHub App accesses only authorized repositories and its permissions are revocable without an employee account. The measurement or controlled test provides evidence for the issue (A third-party deployment application can modify branch rules although it only needs release status access) and complements the selected corrective action rather than simply repeating a recommendation.
Incorrect Answers
Sampled users can perform their defined work without gaining repository or project administration powers. It is not the complementary risk control for GitHub apps versus personal access tokens.
Use an appropriate system-assigned or user-assigned managed identity with narrowly scoped Azure RBAC rather than embedded application credentials. This does not supply the required GitHub apps versus personal access tokens action-and-control pair.
Create Azure Resource Manager service connections with scoped identity, project authorization and protected approvals rather than organization-wide credentials. The paired controls concern GitHub apps versus personal access tokens, not that measure.