PrepAway - Latest Free Exam Questions & Answers

Which port rule should you use?

Hotspot Question
Your network contains three Application servers that run Windows Server 2012 R2.
The Application servers have the Network Load Balancing (NLB) feature installed.
You create an NLB cluster that contains the three servers.
You plan to deploy an Application named App1 to the nodes in the cluster.
App1 uses TCP port 8080 and TCP port 8081.
Clients will connect to App1 by using HTTP and HTTPS.
When clients connect to App1 by using HTTPS, session state information will be retained locally
by the cluster node that responds to the client request.
You need to configure a port rule for App1.
Which port rule should you use? To answer, select the appropriate rule in the answer area.

PrepAway - Latest Free Exam Questions & Answers

Answer:

Explanation:

This should be the one on the lower left side.

– You connect only by TCP not UDP. So Protocol needs to be TCP only
– connections must be distributed evenly between hosts: So you need to choose “multiple host”
and not “Single Host”.
– “App1 does not use session state information”. So Affinity must be “none”
I guess 8080 is for HTTP and 8081 for HTTPS in this configuration. HTTP/HTTPS use TCP, not
UDP.
Multiple Hosts and Single for Affinity.
-Multiple Hosts is Load Balancing evenly. When you select this, NLB Weight property matters.
-Single Host is Active/Standby or Active/Passive. When you select this, NLB Handling Priority
matters. The highest priority will serve all requests.
-Affinity:
None: Distribute evenly.
Single: When a client is connected to a particular NLB node, the client is connected to the same
node next time.
This is used for Stateful connection such as request requiring HTTP session information.
Network: Similar to Single, but distribute request by Network ID. Hash IP network id (class A,B, C,
etc) to a hash and distribute the request to a particular node. Useful to assign a group of request
from same IP network range or class.

15 Comments on “Which port rule should you use?

  1. Zsedo says:

    So the answer is the upper right side (Affinity = Single), isn’t it?
    (HTTPS […] session state information will be retained locally by the cluster node that responds to the client request.)




    2



    0
  2. ikke says:

    The answer (screenshots) are from the question with the information:


    Clients will connect to App1 by using HTTP and HTTPS via a single reverse proxy. App1 does not use session state information.




    0



    0
  3. Emil says:

    I think the confusion here stems from the statement “When clients connect to App1 by using HTTPS, session state information will be retained locally”. Some people understand that means on the local node, which means upper right is good. But to me actually it means locally on the client, not on the node, so affinity is not required.




    0



    2

Leave a Reply