An enterprise is designing a hub-and-spoke network topology in Azure to host a secure multi-tier application. The design includes the following components:
* A hub virtual network () containing an Azure Firewall and an Azure Private DNS Resolver with an inbound endpoint configured.
* A spoke virtual network () peered with . This virtual network contains a subnet named hosting application virtual machines.
* A spoke virtual network () peered with . This virtual network contains a subnet named hosting an Azure SQL Database with a Private Endpoint.
* An Azure Private DNS Zone named `privatelink.database.windows.net` containing the DNS record for the Private Endpoint, linked to .
Your design must meet the following requirements:
* The virtual machines in must connect to the Azure SQL Database using its Private Endpoint.
* All traffic between and the Private Endpoint must be routed through and inspected by the Azure Firewall in .
* You must minimize administrative overhead and avoid linking the Private DNS Zone `privatelink.database.windows.net` to multiple virtual networks.
Which two actions should you perform?
- Configure the DNS servers setting of VNet-App to use the IP address of the Azure Private DNS Resolver inbound endpoint.Answer
- In the properties of Subnet-Data, enable network policies for private endpoints.Answer
- CAssociate a network security group (NSG) with Subnet-App and configure outbound security rules targeting individual public IP addresses of the Azure SQL Database service.
- DIn the route table associated with Subnet-App, create a user-defined route with the destination prefix 0.0.0.0/0 and the next hop set to the Private Endpoint IP address.