Your company has an Azure subscription containing a resource group named rg-finance. Within rg-finance, you have a storage account named storefinprod that contains a blob container named confidential-reports. A user named User1 must be able to read and download the blobs within the confidential-reports container using the Azure portal. The user must authenticate by using their Microsoft Entra ID credentials. Your configuration must follow the principle of least privilege. Which configuration should you implement to meet these requirements?
- Assign User1 the Reader role at the storefinprod storage account level, and assign the Storage Blob Data Reader role at the confidential-reports container level.Cevap
- BAssign User1 the Storage Account Contributor role at the storefinprod storage account level.
- CAssign User1 the Directory Reader role in Microsoft Entra ID, and assign the Storage Blob Data Reader role at the confidential-reports container level.
- DAssign User1 the Storage Blob Data Reader role at the confidential-reports container level only.
Cevap
Assign User1 the Reader role at the storefinprod storage account level, and assign the Storage Blob Data Reader role at the confidential-reports container level.
The correct configuration requires both control plane and data plane roles. The Reader role (control plane) at the storage account level allows the user to find and list the storage account in the Azure portal. The Storage Blob Data Reader role (data plane) at the container level allows the user to read the blobs in the container while following the principle of least privilege by restricting data access to only that container.
Adım Adım Çözüm
Anahtar Kavram
To access blob container data using Microsoft Entra credentials in the Azure portal, a user requires a control-plane role (such as Reader) at the storage account level to navigate the portal, and a data-plane role (such as Storage Blob Data Reader) at the appropriate resource scope to read the blobs.
Tahmini Süre:2m 0s