Your company has two subscriptions named Dev-Sub and Prod-Sub. A new administrator must be able to create resource groups only in Dev-Sub and must not have any permissions in Prod-Sub. What should you do?
Assigning Contributor at the Dev-Sub subscription scope grants the administrator permission to create and manage all resource types within that subscription, including resource groups and any resources inside them, without granting access to other subscriptions. Contributor deliberately excludes the 'Manage Access' permission, so the administrator cannot delegate roles to others, aligning with the principle of least privilege. This scope exactly matches the requirement to administer Dev resources, and because the role assignment is scoped to the subscription, it cannot affect Prod-Sub or any other Azure scope.
Why this answer
Assigning the Contributor role at the Dev-Sub scope grants the administrator full permissions to create and manage resource groups within that subscription, while the role assignment is scoped exclusively to Dev-Sub, ensuring no permissions in Prod-Sub. Azure RBAC is hierarchical, so a role assigned at a subscription scope applies to all resource groups within it, but does not cross subscription boundaries. This meets the requirement of allowing resource group creation only in Dev-Sub with no access to Prod-Sub.
Exam trap
The trap here is that candidates often confuse the scope required to create resource groups (subscription-level write permission) with the ability to manage existing resource groups (resource group-level permission), leading them to incorrectly choose Option C (Owner at resource group scope) which only allows management of that specific resource group, not creation of new ones.
Why the other options are wrong
Assigning Contributor at the management group scope grants permissions to all subscriptions under that management group, including Prod-Sub, which violates the requirement that the administrator must have no permissions in Prod-Sub.
The Owner role at the resource group scope in Dev-Sub grants full access, including the ability to assign permissions, which exceeds the requirement to only create resource groups. Additionally, it does not prevent the administrator from gaining permissions in Prod-Sub through inheritance if the management group hierarchy includes both subscriptions.
Assigning Reader at Prod-Sub scope grants read-only permissions in Prod-Sub, violating the requirement that the administrator must have no permissions in Prod-Sub. Additionally, assigning Contributor at the tenant root group would grant Contributor access to all subscriptions, including Prod-Sub.