Your company has an Azure subscription containing a resource group named RG1. RG1 contains an Azure Storage account named corpstorage1 that hosts a blob container named reports. You have an Azure virtual machine named VM1 that has a system-assigned managed identity enabled. You deploy a custom application on VM1. The application must perform the following tasks:
1. Retrieve a list of blobs from the reports container.
2. Generate a User Delegation SAS token to allow temporary read access to individual reports in the container.
You need to configure the minimal role assignments to allow the application on VM1 to perform these tasks using Microsoft Entra ID authentication under the principle of least privilege. Which two role assignments should you configure?
- Assign the Storage Blob Delegator role to the system-assigned managed identity of VM1 at the corpstorage1 storage account scope.Answer
- Assign the Storage Blob Data Reader role to the system-assigned managed identity of VM1 at the reports container scope.Answer
- CAssign the Reader role to the system-assigned managed identity of VM1 at the corpstorage1 storage account scope.
- DAssign the Storage Blob Data Reader role to the system-assigned managed identity of VM1 at the RG1 resource group scope.
- EAssign the Storage Blob Data Owner role to the system-assigned managed identity of VM1 at the reports container scope.