Question 1. A developer must be able to create and manage all resources in the resource group RG-Dev, but must not be able to grant access to other users. The access must not apply to any other resource group. What should you do?
- Option A: Assign the Owner role at the subscription scope
- Option B: Assign the Contributor role at the RG-Dev resource group scope
- Option C: Assign the Reader role at the RG-Dev resource group scope
- Option D: Assign the User Access Administrator role at the RG-Dev scope
Show answer and explanation
Correct answer: B. Assign the Contributor role at the RG-Dev resource group scope
Pick the least-privileged built-in role and the narrowest scope that meets the need. Role assignments are inherited downwards, so a subscription-level assignment would reach every resource group.
- A (incorrect)Owner can grant access to others, and the subscription scope covers every resource group.
- B (correct)Correct. Contributor can manage all resources but cannot assign roles, and the resource group scope limits it to RG-Dev.
- C (incorrect)Reader can only view resources; the developer could not create or change anything.
- D (incorrect)This role manages access assignments only, which is exactly what the developer must not do.
Reference: Microsoft Learn: AZ-104 study guide (opens in a new tab)

