PrepAway - Latest Free Exam Questions & Answers

Your network contains an Active Directory domain named contoso.com. The domain contains an application server

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?

A.

Set-NetFirewallRule -DisplayNameAllowDynamic -Action Allow

B.

netshadvfirewall firewall add rule name=allowdynamic action-allow

C.

netshadvfirewall firewall set rule nam

e-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


Leave a Reply

PrepAway - Latest Free Exam Questions & Answers

Your network contains an Active Directory domain named contoso.com. The domain contains an application server

Your net

work contains an Active Directory domain named contoso.com. The domain contains an application server named Server1. Server1 runs Windows Server 2012 R2.

Server1 is configured as an FTP server.

Client computers use an FTP Application named App1.exe. App1

.exe uses TCP port 21 as the control port and dynamically requests a data port.

On Server1, you create a firewall rule to allow connections on TCP port 21.

You need to configure Server1 to support the client connections from App1.exe.

What should you

do?

A. Run netsh firewall add portopening TCP 21 dynamicftp.

B. Create an isolation connection security rule.

C. Run Set-NetFirewallSetting -EnableStatefulFTP True

D. Create a tunnel connection security rule.

Explanation:

The Set-NetFirewallSe

tting cmdlet modifies the global firewall settings of the target computer. The -EnableStatefulFtp parameter configures how Windows Firewall with Advanced Security handles FTP traffic that uses an initial connection on one port to request a data connection

on a different port.

References: https://docs.microsoft.com/en-us/powershell/module/netsecurity/set-netfirewallsetting?view=win10-ps


Leave a Reply