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 R2.
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
Appl.
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 add rule name=allowdynamic action-allow

C.
netshadvfirewall firewall set rule name-allowdynamic new action- allow

D.
Set-NetFirewallRule -DisplayNameAllowDynamic -Direction Inbound

Explanation:
When using the using the Windows Firewall with Advanced Security console. You can select
the Inbound Rules node and scroll down in the list, you can see nine different Network
Discovery rules. The Direction Inbound rule is the rule that will allow App1 to connect to
Server1.
Exam Ref 70-410: Installing and Configuring Windows Server 2012 R2, Chapter 6: Create
and manage Group Policy, Objective 6.4: Configure Windows Firewall, p. 348
Training Guide: Installing and Configuring Windows Server 2012 R2, Chapter 6: Network
Administration, Lesson 4: Configuring IPv6/IPv4 Interoperability, p. 269

4 Comments on “What should you run on Server1?

  1. Hugh Jorgan says:

    Neither Set-NetFirewallRule or New-NetFirewallRule have any documented option for “-DisplayNameAllowDynamic” See https://technet.microsoft.com/en-us/library/jj554908(v=wps.630).aspx and https://technet.microsoft.com/en-us/library/jj573828(v=wps.630).aspx

    Also, the choices for B and C contain typos. They should be “netsh advfirewall” and C should be rule=allowdynamic, rather than “rule-allowdynamic”. But even so, they are wrong since rule requires a modifier before the = assignment (name, group,etc.) and only “type” allows for a “dynamic” parameter. See https://technet.microsoft.com/en-us/library/dd734783(v=ws.10).aspx




    0



    0
  2. Vietnam says:

    It´s a typo too it´s -DisplayName “AllowDynamic” as name of the firewall rule. Therefore D is correct as you only need to convert the “AllowDynamic” rule to inbound instead of outbound.




    0



    0

Leave a Reply