AZ-101 · Question #23
You have an Azure virtual network named VNet1 that contains a subnet named Subnet1. Subnet1 contains three Azure virtual machines. Each virtual machine has a public IP address. The virtual machines…
The correct answer is D. Create a deny rule in a network security group (NSG) that is linked to Subnet1. You can filter network traffic to and from Azure resources in an Azure virtual network with a network security group. A network security group contains security rules that allow or deny inbound network traffic to, or outbound network traffic from, several types of Azure…
Question
You have an Azure virtual network named VNet1 that contains a subnet named Subnet1. Subnet1 contains three Azure virtual machines. Each virtual machine has a public IP address. The virtual machines host several applications that are accessible over port 443 to user on the Internet. Your on-premises network has a site-to-site VPN connection to VNet1. You discover that the virtual machines can be accessed by using the Remote Desktop Protocol (RDP) from the Internet and from the on-premises network. You need to prevent RDP access to the virtual machines from the Internet, unless the RDP connection is established from the on-premises network. The solution must ensure that all the applications can still be accessed by the Internet users. What should you do?
Options
- AModify the address space of the local network gateway.
- BRemove the public IP addresses from the virtual machines.
- CModify the address space of Subnet1.
- DCreate a deny rule in a network security group (NSG) that is linked to Subnet1.
How the community answered
(37 responses)- A3% (1)
- B14% (5)
- C5% (2)
- D78% (29)
Explanation
You can filter network traffic to and from Azure resources in an Azure virtual network with a network security group. A network security group contains security rules that allow or deny inbound network traffic to, or outbound network traffic from, several types of Azure resources. https://docs.microsoft.com/en-us/azure/virtual-network/security-overview
Topics
Community Discussion
No community discussion yet for this question.