An administrator is configuring network access for an Azure Storage account named `corpstorage99` to meet the following requirements:
- Allow access from a subnet named `Subnet1` in a virtual network named `VNet1`.
- Block all other traffic from the public internet.
- Allow Azure Backup to back up the storage account.
To support this, `Subnet1` has the `Microsoft.Storage` service endpoint enabled.
Which configuration should the administrator apply to the firewalls and virtual networks settings of `corpstorage99`?
- Set public network access to 'Enabled from selected virtual networks and IP addresses', add VNet1 and Subnet1 to the virtual networks list, and select the exception to allow trusted Microsoft services.Cevap
- BSet public network access to 'Enabled from selected virtual networks and IP addresses', add VNet1 and Subnet1 to the virtual networks list, and clear all exceptions while assigning the Backup Contributor role to the Backup Vault's managed identity.
- CSet public network access to 'Disabled', add VNet1 and Subnet1 to the virtual networks list, and select the exception to allow trusted Microsoft services.
- DSet public network access to 'Enabled from selected virtual networks and IP addresses', add VNet1 and Subnet1 to the virtual networks list, and assign the Storage Blob Data Contributor role to the Backup Vault's managed identity without enabling firewall exceptions.
Cevap
Set public network access to 'Enabled from selected virtual networks and IP addresses', add VNet1 and Subnet1 to the virtual networks list, and select the exception to allow trusted Microsoft services.
The correct configuration is to set the public network access to 'Enabled from selected virtual networks and IP addresses', configure the allowed subnet, and check the option to allow trusted Microsoft services. This setup enforces the firewall to block general internet traffic, permits traffic from the authorized Subnet1 using the service endpoint, and allows Azure Backup (a trusted service) to bypass the firewall to perform backups.
Adım Adım Çözüm
Anahtar Kavram
Azure Storage Account Network Firewalls and Trusted Microsoft Services Bypass