PrepAway - Latest Free Exam Questions & Answers

You need to ensure that all new connections to App1 are directed to Server2

Your network contains two Web servers named Server1 and Server2. Both servers run Windows
Server 2012 R2.
Server1 and Server2 are nodes in a Network Load Balancing (NLB) cluster. The NLB cluster contains
an application named App1 that is accessed by using the URL http://app1.contoso.com.
You plan to perform maintenance on Server1.
You need to ensure that all new connections to App1 are directed to Server2. The solution must not
disconnect the existing connections to Server1.
What should you run?

PrepAway - Latest Free Exam Questions & Answers

A.
The Set-NlbCluster cmdlet

B.
The Set-NlbClusterNode cmdlet

C.
The Stop-NlbCluster cmdlet

D.
The Stop-NlbClusterNode cmdlet

Explanation:
The Stop-NlbClusterNode cmdlet stops a node in an NLB cluster. When you use the stop the nodes in
the cluster, client connections that are already in progress are interrupted. To avoid interrupting

active connections, consider using the -drain parameter, which allows the node to continue servicing
active connections but disables all new traffic to that node.
-Drain <SwitchParameter>
Drains existing traffic before stopping the cluster node. If this parameter is omitted, existing traffic
will be dropped.

Stop-NlbClusterNode

2 Comments on “You need to ensure that all new connections to App1 are directed to Server2

  1. Ricky says:

    Both C and D will work.

    stop-NlbClusterNode -hostname server1 -drain
    stop-NlbCluster -hostname server1 -drain

    https://technet.microsoft.com/en-us/library/cc772833(WS.10).aspx
    https://technet.microsoft.com/en-us/library/hh801288(v=wps.630).aspx

    Read the description on the “drain” parameter for both of them. Both can reference a host/node. In that case, what’s the correct answer here? I’m leaning towards D because the cmdlet is mainly for a single node/host, whereas C is more applicable to the entire cluster. However, both answers will work so I’m unsure if MS actually meant to ask us for 2 choices here or not.




    0



    0

Leave a Reply