A company named Aetheris Manufacturing is designing the network security architecture for a new web application. The application runs on Azure Virtual Machines deployed in a subnet named AppSubnet within a virtual network named VNet1. The application requires access to an Azure SQL Database and must retrieve configuration secrets from an Azure Key Vault. The application must also authenticate users using Microsoft Entra ID. You need to design a security solution that meets the following requirements:
- Restrict all outbound internet access from AppSubnet, except for the traffic required for Microsoft Entra ID authentication and Azure Key Vault access.
- Ensure the virtual machines access the Azure SQL Database using private IP addresses.
- Minimize the administrative and operational effort required to maintain network security rules.
- Avoid manually defining and updating public IP address ranges in network security rules.
Which two actions should you include in the design?
- Deploy a Private Endpoint for the Azure SQL Database in a dedicated subnet within VNet1.Answer
- Associate a Network Security Group (NSG) with AppSubnet and configure outbound rules that allow traffic to the AzureActiveDirectory and AzureKeyVault service tags, followed by a lower-priority rule that denies outbound traffic to the Internet service tag.Answer
- CConfigure Virtual Network service endpoints for Microsoft Entra ID on AppSubnet.
- DCreate custom outbound security rules in the Network Security Group (NSG) using the specific public IP address ranges for the Microsoft Entra ID and Azure Key Vault regional endpoints.
- EDeploy an Azure NAT Gateway on AppSubnet and configure it with custom filtering policies targeting Microsoft Entra ID and Azure Key Vault endpoints.