Load Balancing Interview Questions & Answers - Cloud Network

Networking | Support | Tricks | Troubleshoot | Tips

Buymecoffe

Buy Me A Coffee

Wednesday, October 16, 2019

Load Balancing Interview Questions & Answers






 Q :- What is Server Load Balancing?
Ans :- Server Load Balancing (SLB) provides network performance and content delivery by implementing a series of algorithms and priorities to respond to the specific requests made to the network. In simple terms, SLB distributes clients to a group of servers and ensures that clients are not sent to failed servers.

Q :- What information needs to be provided in order to set up my appliance to do cookie load balancing?
Ans :- You need the cookie name, cookie values, the VIP to bind to, and the groups to balance to.

Q :- What is Health Check in refer to load balancer ?
Ans :- The Health Check feature of the load balancer that allows you to set parameters to perform diagnostic observations on the performance of web servers and web server farms associated with each appliance. Health checking allows you to determine if a particular server or service is running or has failed. When a service fails health checks, the SLB algorithm will stop sending clients to that server until the service passes health checks again.

Q :- When load balancing to a real server, which server will be accessed first?
Ans :- This depends on the load balancing method that you select. Here are a few examples:
Least connections (lc) method " The real server with the lowest number of concurrent connections will receive the first connection. Round robin (rr) method " The real server with the lowest entry index will get the first connection. Shortest response (sr) " The loadbalancer or appliance will establish connections with each server and calculate the round trip time. The client connection will go to the real server with the lowest response time.

Q :- What is the difference between a Persistent Cookie policy and a QoS Cookie policy Ans :- in array network loadbalancer ?
A Persistent Cookie policy selects a group based on the cookie name. A QoS Cookie policy selects a server group based on the cookie name and value assigned to that group.

Q :- What is Global Server Load Balancing (GSLB)?
Ans :- GSLB operates very similarly to SLB, but on a global scale. It allows you to load balance VIPs from different geographical locations as a single entity. This provides geographical site fault tolerance and scalability.

Q :- Does Clustering need to be turned on in order to use GSLB?
Ans :- Yes, Clustering must be configured and turned on in order to use GSLB. Each proxy within the site (or cluster) must have the same configuration. Hence, each appliance can act as a DNS server if it becomes a master for the site. Each site will have a uniqu cluster/SLB/GSLB configuration, and you will use the gslb site overflow command to add the remote GSLB site to the local appliance.

Q :- What load balancing methods are supported with array network GSLB ?
Ans :- The Array appliance supports the following methods for GSLB:
1. lc " Least connections sends clients to the site that has the least number of current connections.
2. rr " Round robin simply sends client to each site in round robin succession.
3. overflow " Overflow allows requests to be sent to another (remote) site when the local site is 80% loaded.

Q :- What is Reverse Proxy Cache?
Ans :- Reverse Proxy Cache is a cache that is in front of the origin servers, hence the use of the term reverse in the name. If a client requests a cached object, the proxy will service the request from the cache instead of the origin server.

Q :- What is meant by dynamic and static content? Can my Array appliance cache dynamic content?
Ans :- When a client requests a web page, a web server returns the requested content. If the content is retrieved from disk/memory and returned to the client without further processing, the content is said to be static. If the content is generated on-the-fly by the server (e.g., based on database data), it is referred to as dynamic content.

Q :- What is recursion depth?
Ans :- In a tree structure, it refers to the number of levels that can be traversed below the main or parent page. This is often used to specify how much of a web site (how many levels deep) to preload into the cache.

Q :- How does the Cache decide what to cache?
Ans :- The HTTP Cache-Control header determines the cacheability of the object and can also determine how long the object should be cached. The cache can be configured to override the cacheability of an object by specifying the hostname and a regular expression that matches within the URL of the object



Q :- What algorithms are used for cache content replacement?
Ans :- The Array(Hardware loadbalancer) Cache uses several algorithms for determining cache replacement behavior, depending on the context. In most cases, the Array will use LRU (Least Recently Used) to remove older content when space is needed.

Q  What is Real Clustering?
Ans :- Real clustering allows all configurations from all appliances in the cluster to be synchronized. Of course, only global parameters such as the SLB configuration are synchronized. Local parameters such as interface IP addresses are not synchronized.

Q :- What is Virtual Clustering?
Ans :- Virtual clustering provides fault tolerance for VIPs among cluster members. For example, if an appliance is handling traffic and it fails, another appliance in the cluster will take over traffic processing.

Q :- How does virtual clustering work?
Ans :- In a cluster of Array appliances(h/w load balancer), one appliance becomes Master for a particular VIP and handles all traffic related to that VIP. All others stay in Backup status. If the appliance containing the Master fails, one of the appliances in Backup status changes to Master status. Note: If multiple VIPs are configured, then Masters can be configured so that they are distributed among the appliances in the cluster, providing additional performance.

Q :- What parameters need to be defined in the cluster configuration?
Ans :- Cluster ID, VIP address, interface (Outside or Inside), priorities, and authorization method (password or none) must be defined. Preempt and mrthresh are optional.

Q :- What is the purpose of Content Rewrite?
Ans :- The Content Rewrite function allows CDN (Content Distribution Network) reference strings to be dynamically inserted into URLs that are embedded in web pages. With respect to one particular CDN, the term "linux" refers to the rewriting of embedded URLs to point to ubuntu-linux"s network.

That's it
----------------------------------------------------------------------------------------------------------------------
Providing on the Web, online library and learning platform for IT Professional Developers with a unique blend of original content, peer-to-peer advice from the largest community of IT.

For The Latest Technology & Topics...

Redhat Linux | Linux Howtos | Ubuntu | Linux News | Centos | Linux Mint | Fedora | Linux Commands | Interview Question & Answers | Lintu Tricks | Linux Commands | Debian | Cinnamon | Apache | MySQL | Databases | Oracle-db | Java | SQL | pgAdmin | DevOps | Scripting | Python | Jenkins | Amazon AWS | Programming | Videos for Developers | Security & Hacking | VMware | Desktop | Laptops | Servers | Networking | Cloud | Installation | Operating System | MS Office | Switches | Routers | Firewall | Open Source | Outlook,Thunderbird, Gmail Emails | Monitoring Tools | JavaScript | YouTube | Android | Smartphone | Facebook | WhatsApp | Snapchat | Instagram | WordPress | Virtualbox | Browsers | Software | Hardware | Internet | Maintenance & Optimization | Antivirus | News | Google Play Store Apps | Prices | SEO | PC Games | Mobile Games | iPhone | Microsoft Windows 7 | Windows 10 | Windows Server 2012/2016/2019 | Windows Tips & Tricks | Tutorials | Training | Troubleshooting | Guides | Tips and Tricks | Reviews | Technology | IT Support | IT News | Advice for Technology | Features | Cloud | Cloud Computing | Privacy & Security| Banks

Follow Cloud Network on Twitter, Facebook and Subscribe to our YouTube channel.