Learn C programming, Data Structures tutorials, exercises, examples, programs, Database, Software, Data Mining, MCQs
Network load balancers MCQs
By: Prof. Dr. Fazal Rehman Shamil | Last updated: August 6, 2024
What is the primary function of a network load balancer?
a) To encrypt network traffic
b) To distribute incoming network traffic across multiple servers to ensure optimal performance and reliability
c) To monitor network performance
d) To connect different networks Answer: b) To distribute incoming network traffic across multiple servers to ensure optimal performance and reliability
Which load balancing algorithm distributes traffic evenly across all available servers?
a) Round Robin
b) Least Connections
c) IP Hash
d) Weighted Round Robin Answer: a) Round Robin
What does the ‘Least Connections’ load balancing algorithm do?
a) Routes traffic to the server with the fewest number of active connections
b) Routes traffic to the server with the lowest CPU usage
c) Routes traffic based on the server’s geographic location
d) Routes traffic based on the server’s previous response time Answer: a) Routes traffic to the server with the fewest number of active connections
Which type of load balancer operates at Layer 4 of the OSI model and can handle TCP/UDP traffic?
a) Application Load Balancer
b) Network Load Balancer
c) Global Load Balancer
d) Content Load Balancer Answer: b) Network Load Balancer
What is the primary advantage of a Global Load Balancer?
a) It can manage traffic within a single data center
b) It provides redundancy within a local network
c) It balances traffic across multiple geographic regions and data centers
d) It filters malicious traffic Answer: c) It balances traffic across multiple geographic regions and data centers
Which health check type is used by load balancers to ensure that backend servers are functioning correctly?
a) HTTP Health Check
b) Ping Health Check
c) TCP Health Check
d) SSL Health Check Answer: a) HTTP Health Check
What does ‘Sticky Sessions’ (or session persistence) do in load balancing?
a) Ensures that each client request is routed to the same server for the duration of the session
b) Routes requests based on server availability
c) Distributes traffic based on IP address
d) Balances load based on server performance metrics Answer: a) Ensures that each client request is routed to the same server for the duration of the session
Which type of load balancer is typically used for distributing HTTP/HTTPS traffic and operates at Layer 7 of the OSI model?
a) Network Load Balancer
b) Application Load Balancer
c) Global Load Balancer
d) Hardware Load Balancer Answer: b) Application Load Balancer
What is the role of ‘SSL Offloading’ in load balancers?
a) To encrypt traffic between clients and the load balancer
b) To terminate SSL connections and handle encryption/decryption tasks, reducing the load on backend servers
c) To redirect traffic to alternative servers
d) To monitor network traffic Answer: b) To terminate SSL connections and handle encryption/decryption tasks, reducing the load on backend servers
In a load balancing setup, what does the term ‘failover’ refer to?
a) The process of re-routing traffic to a different server when the primary server fails
b) The process of balancing traffic across servers
c) The process of adding new servers to the load balancer
d) The process of upgrading server hardware Answer: a) The process of re-routing traffic to a different server when the primary server fails