Soru

Zorluk: KolayConfigure Storage Account Network Access

An administrator is configuring network security for an Azure storage account named `mystorage2026`. The storage account must allow traffic from `Subnet-A` of `VNet-A`, but block all other public internet traffic. Additionally, Azure Virtual Machine backup operations must continue to succeed.

Which two settings must be configured on the firewalls and virtual networks blade of the storage account to meet these requirements?

  1. Set the public network access to 'Enabled from selected virtual networks and IP addresses' and add Subnet-A of VNet-ACevap
  2. Select 'Allow trusted Microsoft services to access this storage account' as an exceptionCevap
  3. C
    Set the public network access to 'Disabled' and delete any firewall exception rules
  4. D
    Assign the Storage Blob Data Owner RBAC role directly to Subnet-A

Cevap

Configure the public network access to allow selected virtual networks and add the target subnet, and enable the bypass exception for trusted Microsoft services.
To limit access to a specific subnet while blocking general public traffic, the storage account firewall must be set to 'Enabled from selected virtual networks and IP addresses' and configured with the target subnet. Additionally, to allow Azure Backup to function, the 'Allow trusted Microsoft services to access this storage account' bypass option must be enabled.

Adım Adım Çözüm

1
Configure the storage account firewall to restrict public access.
Changing the public network access setting from 'Enabled from all networks' to 'Enabled from selected virtual networks and IP addresses' blocks unauthorized public internet traffic.
This establishes the default deny rule for all traffic not originating from approved networks.
2
Associate the target virtual network and subnet with the storage account firewall.
Traffic originating from Subnet-A of VNet-A is allowed through the firewall.
This permits the required subnet to communicate with the storage account's public endpoint.
3
Enable the firewall bypass for trusted Microsoft services.
Azure Backup is permitted to bypass the firewall.
This ensures critical management and backup operations succeed despite the restricted network rule.

Anahtar Kavram

Azure Storage firewalls allow restricting public access to specific subnets while permitting trusted Microsoft services to bypass these restrictions.
Bu soruyu puanla