In this exercise, virtual networks and subnets were created and configured in Azure.The first virtual network, app-vnet, was divided into two subnets: frontend for web servers and backend for database servers.The second virtual network, hub-vnet, had a subnet for the firewall.Virtual network peering was established to enable secure and private communication between the two virtual networks.