Question 840
During an operational security assessment at a public-sector technology agency, the team documents this issue: An old secret-based connection remains active after the project has migrated to federation. 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. Use an Azure DevOps workload identity federation service connection with restricted authorization and appropriate Azure RBAC in place of stored client secrets. The action targets the recorded failure (An old secret-based connection remains active after the project has migrated to federation), and is intended to reduce the corresponding risk: Service principal secret expiration and shared credentials can interrupt pipelines or widen security exposure.
Correct verification. A protected deployment successfully obtains a federated token and a pipeline outside the approved project cannot use the connection. The measurement or controlled test provides evidence for the issue (An old secret-based connection remains active after the project has migrated to federation) and complements the selected corrective action rather than simply repeating a recommendation.
Incorrect Answers
Use authorized secure files for sensitive deployment assets and linked Key Vault variable groups for selected secrets, respecting their distinct capabilities. It is not the complementary risk control for azure pipelines workload identity federation.
Configure trusted GitHub OIDC subject and audience conditions with a federated Microsoft Entra identity so workflows obtain short-lived Azure tokens. This does not supply the required azure pipelines workload identity federation action-and-control pair.
A permitted identity retrieves only its required secret while rotation takes effect and logs never expose the secret value. The two-part azure pipelines workload identity federation control remains unsatisfied.