Create network security group and rules to control network traffic in the app-vnet.Associate an application security group (ASG) to the web servers in the frontend subnet.Associate a network security group (NSG) to the database servers in the backend subnet.Create and configure network security group rules to filter inbound and outbound network traffic.