A company is designing a secure hub-and-spoke network topology in Azure. The hub virtual network contains an Azure Firewall with the private IP address . The spoke virtual network uses the address space and contains two subnets: `Prod-App-Subnet` () hosting application virtual machines associated with the Application Security Group (ASG) `AppVM-ASG`, and `Prod-Db-Subnet` () hosting a private endpoint for an Azure SQL Database with the private IP address .
The network security design must satisfy the following technical requirements:
1. All traffic from `Prod-App-Subnet` to the Azure SQL Database private endpoint must be routed through and inspected by the Azure Firewall.
2. The Network Security Group (NSG) associated with `Prod-App-Subnet` must allow outbound database traffic to the private endpoint while blocking all other outbound traffic to the public internet.
3. Administrative overhead for managing network rules and IP changes must be minimized.
4. Network security policies must be enforced on `Prod-Db-Subnet`.
Which configuration should you recommend to meet these requirements?
- Associate a route table with `Prod-App-Subnet` containing a route for with a next hop of . In the NSG for `Prod-App-Subnet`, add an outbound rule allowing traffic from `AppVM-ASG` to destination on port , and a rule denying outbound traffic to the `Internet` Service Tag. Enable private endpoint network policies on `Prod-Db-Subnet`.Answer
- BAssociate a route table with `Prod-App-Subnet` containing a route for with a next hop of . In the NSG for `Prod-App-Subnet`, add an outbound rule allowing traffic from `AppVM-ASG` to destination on port , and a rule denying outbound traffic to the `Internet` Service Tag. Enable private endpoint network policies on `Prod-Db-Subnet`.
- CAssociate a route table with `Prod-App-Subnet` containing a route for with a next hop of . In the NSG for `Prod-App-Subnet`, add an outbound rule allowing traffic from `AppVM-ASG` to the `Sql` Service Tag on port , and a rule denying outbound traffic to the `Internet` Service Tag. Enable private endpoint network policies on `Prod-Db-Subnet`.
- DAssociate a route table with `Prod-App-Subnet` containing a route for with a next hop of . In the NSG for `Prod-App-Subnet`, add an outbound rule allowing traffic from `AppVM-ASG` to destination on port , and manually configure rules to block individual public IP address ranges on the internet. Enable private endpoint network policies on `Prod-Db-Subnet`.