An organization is designing a secure hybrid network environment in Azure. A subnet named Subnet-App in VNet1 hosts virtual machines that must connect to the following resources:
- An Azure Key Vault named vault1 via a Private Endpoint deployed in Subnet-PE (IP range 10.0.2.0/24) in VNet1.
- An Azure Storage account named storage1 via a Private Endpoint deployed in Subnet-PE.
- Microsoft Entra ID for authentication.
- A public partner API (api.partner.com).
The design must satisfy the following requirements:
- Minimize administrative effort when Azure public IP addresses change.
- Route all public internet traffic (including api.partner.com) through an Azure Firewall in a peered hub virtual network.
- Restrict outbound traffic from Subnet-App using a Network Security Group (NSG) to block all outbound traffic by default, except for the minimum necessary traffic required to meet the connectivity requirements.
Which configuration should you recommend for the route table and NSG outbound rules on Subnet-App?
- Associate a route table with a route of 0.0.0.0/0 pointing to the Azure Firewall private IP. Configure NSG rules that allow outbound traffic to 10.0.2.0/24 on port 443, allow outbound traffic to the AzureActiveDirectory service tag on port 443, allow outbound traffic to the Internet service tag on port 443, and deny all other outbound traffic.Cevap
- BAssociate a route table with a route of 0.0.0.0/0 pointing to the Azure Firewall private IP. Configure NSG rules that allow outbound traffic to the AzureKeyVault and Storage service tags on port 443, allow outbound traffic to the AzureActiveDirectory service tag on port 443, allow outbound traffic to the Internet service tag on port 443, and deny all other outbound traffic.
- CAssociate a route table with a route of 0.0.0.0/0 pointing to the Azure Firewall private IP. Configure NSG rules that allow outbound traffic to 10.0.2.0/24 on port 443, allow outbound traffic to the specific public IP ranges of Microsoft Entra ID on port 443, allow outbound traffic to the Internet service tag on port 443, and deny all other outbound traffic.
- DAssociate a route table with a route of 0.0.0.0/0 pointing to the Azure Firewall private IP. Configure NSG rules that allow outbound traffic to 10.0.2.0/24 on port 443, allow outbound traffic to the AzureActiveDirectory service tag on port 443, and configure a deny rule for the Internet service tag on all ports, with no rule allowing Internet outbound.