Soru

Zorluk: OrtaAzure Role Assignments and Scopes

Your company has an Azure environment with a subscription named sub-logistics. The subscription contains a resource group named rg-shipping, which contains a storage account named stshippinglogs. You need to grant a user named User1 the ability to view the configuration of stshippinglogs in the Azure portal and read blob data stored in its containers. The solution must use the principle of least privilege. Which two role assignments should you configure?

  1. Reader role assigned at the stshippinglogs scopeCevap
  2. Storage Blob Data Reader role assigned at the stshippinglogs scopeCevap
  3. C
    Contributor role assigned at the stshippinglogs scope
  4. D
    Global Administrator role assigned at the Microsoft Entra ID tenant scope

Cevap

Assign the Reader role and the Storage Blob Data Reader role, both at the stshippinglogs scope.
To satisfy the requirements using the principle of least privilege, the user needs both control plane access and data plane access. The Reader role at the storage account scope provides control plane access to view configurations. The Storage Blob Data Reader role at the storage account scope provides the necessary data plane access to read blobs. Assigning them at the storage account scope restricts access to only this specific resource.

Adım Adım Çözüm

1
Identify the control-plane requirement.
User1 needs to view the configuration of stshippinglogs in the Azure portal. The Reader role at the storage account scope is the minimum permission required.
This allows viewing resource properties without allowing modifications or access to other resources in the resource group.
2
Identify the data-plane requirement.
User1 needs to read blob data within stshippinglogs. The Storage Blob Data Reader role at the storage account scope is the minimum permission required.
Azure RBAC separates control plane management from data plane access for storage accounts, meaning control plane reader or contributor roles do not grant blob data access.

Anahtar Kavram

Azure RBAC separates control plane management (e.g., Reader role) from data plane access (e.g., Storage Blob Data Reader role), and roles must be assigned at the narrowest scope possible to follow least privilege.
Bu soruyu puanla