PrepAway - Latest Free Exam Questions & Answers

What should you run on Server1?

Your network contains an Active Directory domain named contoso.com. The domain contains an Application
server named Server1. Server1 runs Windows Server 2012.
You have a client Application named App1 that communicates to Server1 by using dynamic TCP ports.
On Server1, a technician runs the following command:
New-NetFirewallRule -DisplayNameAllowDynamic -Direction Outbound -LocalPort 1024- 65535 -Protocol TCP
Users report that they can no longer connect to Server1 by using App1. You need to ensure that App1 can
connect to Server1.
What should you run on Server1?

PrepAway - Latest Free Exam Questions & Answers

A.
Set-NetFirewallRule -DisplayNameAllowDynamic -Action Allow

B.
netshadvfirewall firewall set rule name=allowdynamic new action = allow

C.
Set-NetFirewallRule -DisplayNameAllowDynamic -Direction Inbound

D.
netshadvfirewall firewall add rule name=allowdynamic action=allow

Explanation:
Set-NetFirewallRule – Modifies existing firewall rules. You have to allow the connection INTO the server -inbound rules

http://technet.microsoft.com/en-us/library/jj573828%28v=wps.620%29.aspx http://mikefrobbins.
com/2013/02/28/use-powershell-to-remotely-enable-firewall-exceptions- on-windows-server-2012/

One Comment on “What should you run on Server1?


Leave a Reply