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
 | 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
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-501 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-501 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 40 new multiple-choice questions we’ve added after publishing the study guide.
- Over 30 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.
- Access to a free discount code for 10% off your Security+ voucher.
Buy The Full Access Study Package Today
60 Days Access
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.
Apps for Your Mobile Devices
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
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+ N10-007 Study Package
Pass the Network+ Exam (N10-007)
The First Time You Take It
At $319, this exam is expensive. Make sure you’re ready before exam day!
Full bank of over 200 realistic practice test questions with in-depth explanations to help you pass the Network+ exam the first time you take it. Here’s what you get.
Network+ Study Materials | 60 Day Package |
Full bank of more than 200 N10-007 Network+ multiple choice practice test questions. All questions include explanations so you’ll know why the correct answers are correct, and why the incorrect answers are incorrect. See a demo here. This demo includes one sample performance-based question and four sample multiple choice questions. |  |
Performance-based Questions At least 10 performance-based questions. See a demo here. This demo includes one sample performance-based question and four sample multiple choice questions. |  |
Bonus #1 Over 250 online flashcards organized by domain. See a demo here. This demo includes flashcards in random order. |  |
Bonus #2 Subnetting mini-tutorial that will help you answer two key question types. Identify how many hosts a subnet supports and identify valid IP addresses within a subnet. |  |
Bonus #3 Extended access. Access the study materials for a total of 60 days because sometimes life happens. |  |
Bonus #4 10% off Voucher. Access to a coupon code that will give you 10% off your exam voucher. At the current price of $319 USD for the Network+ voucher, this can save you $31.90. |  |
Packages are available online shortly after making your payment, as long as you enter your email address correctly. | Only $49.99 |
Get the Network+ Study Materials Here
All questions include explanations so you’ll know why the correct answers are correct, and why the incorrect answers are incorrect. This way no matter how CompTIA words the questions, you’ll be able to answer them correctly. Multiple quiz formats to let you use these questions based on the way you learn.
- Learn mode. 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.
- Test mode. In test mode, you can only see the correct answers and explanations after you complete the test.
This package allows you to go through the practice test questions in multiple ways based on how you learn best.
- Domains 1 through 5* using Learn Mode
- Domains 1 through 5* using Test Mode (Randomized)
- Special Test Your Readiness Quiz (75 random questions from the full bank)
Test your readiness with these quality questions. Understand the important concepts using the explanations.
If you’re like most people, you’ve already spent money on one or more Network+ books or courses. Now you need to ensure you understand the concepts and how they are tested. You can pay $100 or more for practice test questions, but you don’t need to.
The set of practice test questions will give you a view of typical questions you can expect to see on the live exam.
You don’t need to spend a fortune to get quality practice test questions.
Get the Network+ Study Materials Here
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
SY0-501 Practice Test Questions
Over 300 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 – 75 random questions. View 75 random questions from the full test bank similar to how the Security+ exam has a potential maximum of 75 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 SY0-501 Practice Test Questions Here
SY0-501 Practice Test Questions
INCLUDES QUESTIONS TO HELP YOU PREPARE
FOR THE NEW PERFORMANCE BASED QUESTIONS
Bonus – Performance Based Questions
Three sets of performance-based questions including over 30 questions. These questions show you what you can expect in the live exam. They include drag and drop, matching, sorting, and fill in the blank questions. See a
demo here.Bonus – Extra Practice Test Questions
New multiple-choice questions in the extra test bank. Questions are added occasionally. You can see what has been added recently
here.
Get the full bank of Security+ (SYO-501) Practice Test Questions Here
Get the full bank of Security+ Practice Test Questions
Click here if you’re looking for SY0-501 Full Study Package
Security+ Full Access Package
 | 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
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-501 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-501 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 40 new multiple-choice questions we’ve added after publishing the study guide.
- Over 30 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.
- Access to a free discount code for 10% off your Security+ voucher.
Buy The Full Access Study Package Today
60 Days Access
All materials are available online shortly after making your payment.
Get the Security+ Full Access Study Package Here
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.
Other Security+ Study Resources
Apps for Your Mobile Devices
Free No Risk Discount CompTIA Voucher Code
Good Luck with the Exam
I hope you’ve found this information on load balancing and session affinity useful. Good luck on the exam.