A company is planning to restrict outbound network traffic from an Azure Virtual Network subnet named Subnet1. The virtual machines in Subnet1 must be allowed to send metric and log data to Azure Monitor, but all other outbound internet traffic must be blocked. You need to design a Network Security Group (NSG) rule configuration for Subnet1 that permits this traffic while minimizing administrative effort and avoiding manual rule updates when Azure Monitor IP addresses change. Which rule configuration should you recommend?
- AA design that deploys a separate Log Analytics workspace in every region to isolate traffic, bypassing NSG controls entirely
- BOutbound security rules with the destination set to the individual public IP address ranges of the Azure Monitor endpoints
- An outbound security rule with the destination set to the AzureMonitor Service TagCevap
- DA User Defined Route with a destination of 0.0.0.0/0 pointing to a virtual appliance, along with overlapping routes for each Azure Monitor public IP address
Cevap
An outbound security rule with the destination set to the AzureMonitor Service Tag
The correct answer recommends using the AzureMonitor Service Tag in the outbound NSG rule. Service Tags represent a group of IP address prefixes from a given Azure service. Microsoft manages the address prefixes encompassed by the service tag and automatically updates the service tag as addresses change, thereby minimizing the administrative effort of managing security rules.
Adım Adım Çözüm
Anahtar Kavram
Azure Service Tags simplify NSG management by letting you reference groups of IP address prefixes for specific Azure services.