You need to use the AzCopy command-line utility to upload data from an on-premises client computer to a blob container in an Azure Storage account. The storage account has public network access enabled from selected networks.
Which of the following configurations will allow you to successfully authenticate and execute the upload? (Select two.)
- Authenticate by running the azcopy login command with a Microsoft Entra ID account that has the Storage Blob Data Contributor role assigned.Cevap
- Append a Shared Access Signature (SAS) token that has write permissions directly to the destination container URL.Cevap
- CAuthenticate by running the azcopy login command with a Microsoft Entra ID account that only has the Contributor role assigned at the storage account level.
- DConfigure the storage account firewall to block all public network traffic, and check the 'Allow trusted Microsoft services to access this storage account' setting to allow AzCopy traffic from your client computer.
Cevap
To successfully execute the upload, you must either authenticate via Microsoft Entra ID using a login session with the Storage Blob Data Contributor role, or append a valid Shared Access Signature (SAS) token with write permissions to the destination container URL.
To upload data using AzCopy, you need data-plane permissions. This can be achieved by authenticating with Microsoft Entra ID via the azcopy login command, provided the account has the Storage Blob Data Contributor role assigned. Alternatively, you can authorize the request by appending a valid Shared Access Signature (SAS) token with write permissions directly to the destination container URL.
Adım Adım Çözüm
Anahtar Kavram
Data plane authorization and firewall traversal for AzCopy
Tahmini Süre:1m 0s