An enterprise is designing the network security for a two-tier application in Azure. The design includes:
* A virtual network named VNet1 containing two subnets: WebSubnet and DataSubnet.
* WebSubnet hosts web server virtual machines (VMs) that do not have public IP addresses.
* DataSubnet hosts a Private Endpoint for an Azure SQL Database named sql-db1.
* WebSubnet is associated with a Network Security Group (NSG) named NSG-Web.
* DataSubnet is associated with an NSG named NSG-Data.
The design must meet the following requirements:
* The web servers must connect to sql-db1 securely over its private IP address.
* All outbound traffic from WebSubnet to the internet must be blocked.
* Outbound traffic from WebSubnet must be restricted so that the web servers can only communicate with the Private Endpoint of sql-db1 and no other resources in VNet1.
* The design must minimize administrative effort by avoiding the use of individual, hardcoded IP addresses in NSG rules.
Which two configurations should you include in the design? (Choose two.)
- Associate the network interface of the Private Endpoint for sql-db1 with an Application Security Group (ASG), and reference this ASG as the destination in an outbound security rule for NSG-Web.Cevap
- Enable network policies for private endpoints on DataSubnet.Cevap
- CCreate an outbound security rule in NSG-Web with the destination set to the Sql service tag.
- DEnable service endpoints for Microsoft.Sql on WebSubnet.
- ECreate an outbound security rule in NSG-Web with the destination set to the VirtualNetwork service tag.