An organization organizes its cloud resources using the following Azure hierarchy:
* Management Group: MG-Corporate
* Subscription: Sub-FinApp
* Resource Group: RG-BillingData
A developer named Casey must be able to deploy and manage virtual machines and storage accounts within RG-BillingData. Additionally, Casey requires the ability to read, write, and delete blobs inside the storage accounts in RG-BillingData. Casey must not have permissions to assign RBAC roles to other users or manage resource locks.
Which role assignment configuration meets these requirements while adhering to the principle of least privilege?
- Assign the Contributor role and the Storage Blob Data Contributor role to Casey at the RG-BillingData scope.Cevap
- BAssign the Contributor role to Casey at the RG-BillingData scope.
- CAssign the Contributor role to Casey at the Sub-FinApp scope, and assign the Reader role to Casey at the RG-BillingData scope.
- DAssign the Contributor role and the Global Administrator role to Casey at the RG-BillingData scope.
Cevap
Assign the Contributor role and the Storage Blob Data Contributor role to Casey at the RG-BillingData scope.
The correct configuration is to assign both the Contributor role and the Storage Blob Data Contributor role to the developer at the resource group scope. The Contributor role provides control plane access to manage the lifecycle of virtual machines and storage accounts, but lacks data plane permissions to read or write blobs. Adding the Storage Blob Data Contributor role provides the required blob-level data access. Neither role allows managing role assignments or locks, preserving the principle of least privilege.
Adım Adım Çözüm
Anahtar Kavram
Azure RBAC separation of control plane and data plane permissions, role inheritance, and the distinction between Entra ID and RBAC roles.