Hotspot Question
You have a machine named VM1 that runs Windows Server 2016 VM1 is a Remote Desktop Services (RDS) server.
You need to ensure that only TCP port 3389 can be used to connect to VM1 over the network. Which command should you run on the Hyper-V host? To answer, select the appropriate options in the answer area.
Hot Area:
Correct !
The Add-VMNetworkAdapterAcl cmdlet creates an ACL to apply to the traffic through a virtual machine network adapter. When a virtual network adapter is created there is no ACL on it. Given a list of IP-based ACL entries to be applied to traffic in the same direction, the longest match rule decides which one of the entries is most appropriate to apply to a specific packet.
The Add-VMNetworkAdapterExtendedAcl cmdlet creates an extended access control list (ACL) for a virtual network adapter. The ACL allows or denies access to a virtual machine network adapter for network packets based on source IP address, destination IP address, protocol, “source port, and destination port.”