Load Balancing and Session Affinity for Network+ and Security+

Posted by in Network+, Security+ | 0 comments

If you’re preparing for the Network+ or the Security+ exam, you might like to review some information on “load balancing” and “session affinity” and try your hand a couple of practice test questions.

Load Balancing

A load balancer can optimize and distribute data loads across multiple computers or multiple networks. Organizations commonly use a load balancer when hosting a web site among multiple servers in a web farm. The following configuration shows a typical configuration.

When a user connects to the web site, the load balancer uses an algorithm to direct the user to a specific web server. Different users are connected to different web servers and the overall result is that the load is balanced among each of the servers.

Load balancers can be hardware based of software based. In a hardware-based cluster, the hardware device controls all of the traffic to the servers in the load balancing cluster. In a software-based load balancer, each of the servers in the load balancing cluster includes software to support the cluster.

Security+ Full Access Package

Get Certified Get Ahead Security+

Pass the First Time!

Up-to-date Content

New multiple-choice and performance-based questions added regularly

Pass the first time with quality practice test questions, performance-based questions, flashcards, and audio.

Buy The Full Access Study Package Today

60 Days Access For Only $55.98

Need more time? You can easily renew for another 60 days at a significantly reduced price.

All materials are available online shortly after making your payment.

Get the Security+ Full Access Study Package Here

Our online Security+ study materials are the perfect complement to the CompTIA Security+: Get Certified Get Ahead: SY0-401 Study Guide. They can also be used to help ensure you're ready no matter what study guide you're using.

This exam is expensive.

Make sure you're ready before exam day. 

Here's what you'll get:
  • All of the multiple-choice questions from the best-selling CompTIA Security+: Get Certified Get Ahead: SY0-401 Study Guide. See a demo here. All questions have full explanations so you'll know why the correct answers are correct and why the incorrect answers are incorrect.
  • Over 35 new multiple-choice questions we've added after publishing the study guide.
  • Over 70 performance-based questions. See a demo here.
  • All of the flashcards from the study guide. View them in any Web browser.
  • All of the audio from the study guide. Listen to a sample here.
  • A subnetting mini-tutorial to help you answer key question types in the Security+ exam.
  • Access to a free discount code for 10% off your Security+ voucher. Save $31.10 off the US retail cost for this voucher.

Buy The Full Access Study Package Today

60 Days Access For Only $55.98

All materials are available online shortly after making your payment.

Get the Security+ Full Access Study Package Here


Example Practice Test Question

Q. A web site is hosted on four different web servers. What would you use to ensure each web server has an equal amount of traffic?

A. Load balancer
B. Proxy server
C. TDR
D. Throughput tester

Answer and explanation below


Another resource available to help you take and pass the Network+ N10-005 exam the first time you take it is practice test questions for your mobile phone or other mobile device. Check it out here.


Session Affinity

Many times when a user is browsing through a site, they create an active session. Session data is maintained to ensure that the user experience is consistent.

In a load balancing cluster, it’s important for the user to always use the same server in the load balancing cluster during a session. This is referred to as session affinity or sometimes as server affinity. The load balancer is responsible for maintaining session affinity.

As an example, imagine a user decides to purchase the You Can Do Anything (Three Simple Steps to Success) book from darrilgibson.com. Several steps and several web pages are included in the session. The user adds the item to the cart, clicks a button to checkout, enters shipping and billing information, and completes the sale. During this session, the user needs to connect to the same server for each step.

If the user added the item to the shopping cart on Web Server A, but was then redirected to Web Server B after clicking the checkout button, the shopping cart would be empty. Web Server B doesn’t have the session information from Web Server A. The problem is avoided by using session affinity to ensure the user connects to the correct server for each step in the session.

Example Practice Test Question

Q. Of the following choices, what does a load balancer provide? (Choose all that apply.)

A. Content filtering and web page caching
B. Internet usage reports and web page caching
C. Distribution of network requests and increased availability
D. Session affinity

Answer and explanation below

Get Certified Get Ahead

Practice Test Answers

I’m betting these questions were very easy for you because the answer is the topic. However, it’s valuable to take your time to understand why the incorrect answers are incorrect as well. These questions include in-depth answers.

Network+ Practice Test Questions

If you’re looking for similar practice test questions for Network+, check out the CompTIA Network+ N10-005: Practice Test Questions (Get Certified Get Ahead). This resource includes 275 realistic practice test questions and over 175 flash cards to help test your readiness so that you can take and pass the exam the first time you take it. It’s available for only $9.99 in the Kindle version and you can download free Kindle apps from Amazon for just about any platform.

Or get Network+ practice test questions for your mobile device.

Network+ Study Resources

Network+ Study Resources

CompTIA Network+ N10-006 Practice Test Questions (Get Certified Get Ahead) Paperback
  • Includes over 300 realistic practice test questions and a comprehensive list of relevant acronyms
CompTIA Network+ N10-006 Practice Test Questions (Get Certified Get Ahead) Kindle Edition
  • Includes over 300 realistic practice test questions, over 200 flash cards, and a comprehensive list of relevant acronyms.
  • Available for free if you have Kindle Unlimited.
CompTIA N10-006 Network+ Basic Networking Components (A Get Certified Get Ahead Network+ Kindle Short) Kindle Edition
  • Get a solid understanding of the core networking components covered in the CompTIA Network+ N10-006 exam.
  • Available for free if you have Kindle Unlimited.
You don't have to own a Kindle to use any of the Kindle books. Amazon has created free apps for just about any platform. Download and install any of these free apps and you can then read any Kindle book.

Security+ Practice Test Questions

If you’re looking for similar practice test questions for Security+, check out the CompTIA Security+: Get Certified Get Ahead: SY0-401 Study Guide or the CompTIA Security+ SY0-401 Practice Test Questions (Get Certified Get Ahead).

Or get Security+ practice test questions for your mobile device.

Security+ Practice Test Questions

SYO-401 Practice Test Questions Now Available

Over 440 realistic Security+ practice test questions

All questions include explanations so you'll know why the correct answers are correct,

and why the incorrect answers are incorrect.

Pass the Security+ Exam

the First Time You Take It

Multiple quiz formats to let you use these questions based on the way you learn.
  • Learn mode - randomized. View each of the questions in random order. Learn mode allows you to keep selecting answers until you select the correct answer. Once you select the correct answer, you'll see the explanation. Click here to see how learn mode works.
  • Learn mode - not randomized. View each of the questions in the same order. Use this if you want to make sure that you see all of the questions. Learn mode allows you to keep selecting answers until you select the correct answer. Once you select the correct answer, you'll see the explanation. Click here to see how learn mode works.
  • Test mode - randomized. View each of the questions in random order. In test mode, you can only see the correct answers and explanations after you complete the test. Click here to see how test mode works.
  • Test mode - not randomized. View each of the questions in the same order. In test mode, you can only see the correct answers and explanations after you complete the test. Click here to see how test mode works.
  • Test mode - 100 random questions. View 100 random questions from the full test bank similar to how the Security+ exam has a potential maximum of 100 multiple choice questions. In test mode, you can only see the correct answers and explanations after you complete the test. Click here to see how test mode works.

Get the full bank of Security+ Practice Test Questions Here

 SYO-401 Practice Test Questions Now Available


INCLUDES QUESTIONS TO HELP YOU PREPARE

FOR THE NEW PERFORMANCE BASED QUESTIONS 

Bonus - Performance Based Questions

Additional Security+ questions to help you prepare for the new performance based questions. These are included with the full bank of Security+ practice test questions and are divided into different sections. For example, you'll have access to the following links:

- Performance Based Question - Set 1

You'll see a graphic explaining what you might be required to do on the actual exam to match different types of security to mobile devices and servers in a data center. You'll then have two questions that test your knowledge and ability to correctly answer the questions. This question also includes a link to a graphic showing the end solution for the overall performance based question simulation.

- Performance Based Question - Set 2

You'll see a graphic explaining what you might be required to do on the actual exam to match different types of attacks with the name of the attack type. You'll then have five questions that test your knowledge and ability to correctly answer the questions. This question also includes a link to a graphic showing the end solution for the overall performance based question simulation.

- Performance Based Question - Set 3

You'll see a graphic showing a network with computers and servers separated by a firewall. The firewall is used to control traffic between the computers and users using rules within an access control list (ACL).  You'll have three questions that test your knowledge and ability to correctly identify the relevant components of the rule. The incorrect answers and explanation provide you with insight into how to correctly answer this type of question on the actual exam.

- Performance Based Question - Set 4

You'll see a graphic explaining what you might be required to do on the actual exam related to what a forensic analyst would do during an investigation. You'll then have two questions that test your knowledge and ability to correctly answer the questions. This question also includes a link to a graphic showing the end solution for the overall performance based question simulation.

- Performance Based Question - Set 5

You'll see a graphic explaining what you might be required to do on the actual exam to match protocols and ports. You'll then have seven questions that test your knowledge and ability to correctly answer the questions. This question also includes a link to a graphic showing the end solution for the overall performance based question simulation.

- Performance Based Question - Set 6

You'll see a list of security controls along with a graphic showing devices and locations within an organization, along with instructions on what you might be required to do on the actual exam to match the controls with the devices and locations. You'll then have four questions that test your knowledge and ability to correctly answer the questions. This question also includes a link to a graphic showing the end solution for the overall performance based question simulation.

- Performance Based Question - Set 7

You'll see a list of authentication methods and authentication factors along with instructions on what you might be required to do on the actual exam to match the authentication methods with the authentication factors. You'll then have six questions that test your knowledge and ability to correctly answer the questions. This set also includes a link to a graphic showing the end solution for the overall performance based question simulation.

- Performance Based Question - Set 8

You'll see a graphic explaining what you might be required to do on the actual exam to match different types of attacks with the name of the attack type. You'll then have five questions that test your knowledge and ability to correctly answer the questions. This is similar to Set 2 but expands on the possibilities. The set also includes a link to a page showing the end solution for the overall performance based question simulation.

New - Performance Based Question - Set 9

New questions recently added using a different testing engine. See a demo here. This set includes drag and drop and matching questions on ports.

New - Performance Based Question - Set 10

A random set of 20 performance-based questions using drag and drop, matching, sorting, and fill in-the blank. This set includes performance-based questions on RAID.

Get the full bank of Security+ Practice Test Questions Here

Get the full bank of Security+ Practice Test Questions

Simulated Performance-based Questions

Bonus - Performance Based Questions

Simulated performance-based questions included with all

packages that include practice test questions.

Additional Security+ questions to help you prepare for the new performance based questions. These are included with the full bank of Security+ practice test questions and are divided into different sections. For example, you'll have access to the following links:

- Performance Based Question - Set 1

You'll see a graphic explaining what you might be required to do on the actual exam to match different types of security to mobile devices and servers in a data center. You'll then have two questions that test your knowledge and ability to correctly answer the questions. This question also includes a link to a graphic showing the end solution for the overall performance based question simulation.

- Performance Based Question - Set 2

You'll see a graphic explaining what you might be required to do on the actual exam to match different types of attacks with the name of the attack type. You'll then have five questions that test your knowledge and ability to correctly answer the questions. This question also includes a link to a graphic showing the end solution for the overall performance based question simulation.

- Performance Based Question - Set 3

You'll see a graphic showing a network with computers and servers separated by a firewall. The firewall is used to control traffic between the computers and users using rules within an access control list (ACL).  You'll have three questions that test your knowledge and ability to correctly identify the relevant components of the rule. The incorrect answers and explanation provide you with insight into how to correctly answer this type of question on the actual exam.

- Performance Based Question - Set 4

You'll see a graphic explaining what you might be required to do on the actual exam related to what a forensic analyst would do during an investigation. You'll then have two questions that test your knowledge and ability to correctly answer the questions. This question also includes a link to a graphic showing the end solution for the overall performance based question simulation.

- Performance Based Question - Set 5

You'll see a graphic explaining what you might be required to do on the actual exam to match protocols and ports. You'll then have seven questions that test your knowledge and ability to correctly answer the questions. This question also includes a link to a graphic showing the end solution for the overall performance based question simulation.

- Performance Based Question - Set 6

You'll see a list of security controls along with a graphic showing devices and locations within an organization, along with instructions on what you might be required to do on the actual exam to match the controls with the devices and locations. You'll then have four questions that test your knowledge and ability to correctly answer the questions. This question also includes a link to a graphic showing the end solution for the overall performance based question simulation.

- Performance Based Question - Set 7

You'll see a list of authentication methods and authentication factors along with instructions on what you might be required to do on the actual exam to match the authentication methods with the authentication factors. You'll then have six questions that test your knowledge and ability to correctly answer the questions. This set also includes a link to a graphic showing the end solution for the overall performance based question simulation.

- Performance Based Question - Set 8

You'll see a graphic explaining what you might be required to do on the actual exam to match different types of attacks with the name of the attack type. You'll then have five questions that test your knowledge and ability to correctly answer the questions. This is similar to Set 2 but expands on the possibilities. The set also includes a link to a page showing the end solution for the overall performance based question simulation.

New - Performance Based Question - Set 9

New questions recently added using a different testing engine. See a demo here. This set includes drag and drop and matching questions on ports.

New - Performance Based Question - Set 10

A random set of 20 performance-based questions using drag and drop, matching, sorting, and fill in-the blank. This set includes performance-based questions on RAID.

Get the full bank of Security+ Practice Test Questions Here

Simulated performance-based questions included with

all packages that include practice test questions.

1 – Load Balancer

Q. A web site is hosted on four different web servers. What would you use to ensure each web server has an equal amount of traffic?

A. Load balancer
B. Proxy server
C. TDR
D. Throughput tester

Answer: A is correct. A load balancer can balance the amount of traffic (the load) among multiple servers. A load balancer can be a hardware appliance, or
software installed on each of the systems.

B is incorrect. A proxy server provides Internet access to internal clients and includes web site caching to improve performance.

C is incorrect. A time domain reflectometer (TDR) is used to identify the location of a break in a cable.

D is incorrect. A throughput tester measures how much data can be transferred between two systems to identify the bandwidth.

Objective: 4.1 Explain the purpose and features of various network appliances.


What’s next after Network+ for you?

Pass the Security+ SY0-401 exam the first time you take it
CompTIA Security+: Get Certified Get Ahead: SY0-401 Study Guide


2 – Session Affinity

Q. Of the following choices, what does a load balancer provide? (Choose all that apply.)

A. Content filtering and web page caching
B. Internet usage reports and web page caching
C. Distribution of network requests and increased availability
D. Session affinity

Answer: C is correct. A load balancer will balance the load among several network devices (such as several web servers). It can also sense when any of the devices fail
and stop sending traffic to the failed device, which increases availability.

D is correct. A load balancer uses session affinity to ensure that a client will always contact the same server during an active session.

A is incorrect. A content filter can filter traffic based on content such as specific web site addresses or key words. A proxy server can also filter traffic based on web site addresses and will cache web site pages to improve performance.

B is incorrect. A proxy server can track user statistics such as web site visits, and cache web pages.

Objective: 4.1 Explain the purpose and features of various network appliances.

Other Study Resources

Here are some links to more resources to help you pass the Network+ exam the first time you take it.

Good Luck with the Exam

I hope you’ve found this information on load balancing and session affinity useful. Good luck on the exam.

Leave a Comment

CompTIA Security+: Get Certified Get Ahead: SY0-401 Study Guide

Subscribe To Our Newsletter

Join our mailing list and get a free excerpt of the CompTIA Security+: Get Certified Get Ahead: SY0-401 Study Guide.  This excerpt includes the introduction and Chapter 1. 

You have Successfully Subscribed!

Get Certified Get Ahead is a participant in the Amazon Services LLC Associates Program,
an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to amazon.com.

Copyright © 2015 Get Certified Get Ahead. All Rights Reserved.