Question 180
Following the issue — An operator creates a service principal but assigns an Azure RBAC role to a retired application registration instead. — the team takes this action: Resolve the active principal using tenant IDs and object IDs before setting the role assignment. Which continuing safeguard BEST prevents the same control weakness from returning?
Explanation
Correct Answer
The recurring safeguard is: Reconcile unused service principals and stale grants during application retirement. This mitigates the control weakness because: Azure RBAC grants target the concrete security principal performing the token-based call. Keep the intervention, Resolve the active principal using tenant IDs and object IDs before setting the role assignment., in the approved deployment, monitoring and change governance process.
Incorrect Answers
This safeguard is for the dependency described by: Eligibility reviews can identify stale privileged exposure without waiting for a successful misuse event. The continuing risk here is determined by: Azure RBAC grants target the concrete security principal performing the token-based call. The targeted safeguard is “Reconcile unused service principals and stale grants during application retirement”.
“Test approved actions and forbidden actions before distributing any custom Azure role” addresses a different recurring failure: Azure RBAC action lists govern management-plane operations independently from role display names. For the condition in this question, maintain “Reconcile unused service principals and stale grants during application retirement” because azure RBAC grants target the concrete security principal performing the token-based call.
That review protects the control associated with: Azure resource management roles do not automatically provide every Key Vault secret data operation. It does not directly prevent the stated recurrence, which concerns: Azure RBAC grants target the concrete security principal performing the token-based call. The appropriate guardrail is “Reconcile unused service principals and stale grants during application retirement”.