You are designing a network security solution for an Azure virtual network. A subnet named Subnet1 contains 30 Azure virtual machines that need to retrieve cryptographic keys from Azure Key Vault. You must allow these virtual machines to make outbound connections to Azure Key Vault while blocking all other outbound access to the public internet. The solution must minimize the administrative effort required to maintain network security rules. Which of the following should you recommend including in the design?
- A Network Security Group (NSG) associated with Subnet1 that contains an outbound security rule allowing traffic where the destination is the AzureKeyVault service tag, followed by an outbound rule blocking all traffic to the Internet service tag.Cevap
- BA Network Security Group (NSG) associated with Subnet1 that contains outbound security rules explicitly listing the IP address ranges of the regional Azure Key Vault endpoints, managed and updated via a custom automation script.
- CAn Application Security Group (ASG) configured to group the public IP addresses of the Azure Key Vault service, associated with an outbound security rule on the Subnet1 Network Security Group (NSG).
- DA User Defined Route (UDR) associated with Subnet1 that routes all outbound traffic destined for the Azure Key Vault service to a virtual network appliance, while dropping all other outbound traffic.
Cevap
A Network Security Group (NSG) associated with Subnet1 that contains an outbound security rule allowing traffic where the destination is the AzureKeyVault service tag, followed by an outbound rule blocking all traffic to the Internet service tag.
The correct option recommends using a Network Security Group (NSG) with the built-in AzureKeyVault service tag to allow traffic to Azure Key Vault, followed by a rule blocking traffic to the Internet service tag. Service tags simplify NSG rule creation and maintenance by representing a group of IP address prefixes from a given Azure service. Azure manages the address prefixes encompassed by the service tag and automatically updates the service tag as addresses change, satisfying the constraint to minimize administrative effort.
Adım Adım Çözüm
Anahtar Kavram
Azure Network Security Group Service Tags