0
0
HLDsystem_design~10 mins

Layer 4 vs Layer 7 load balancing in HLD - Interactive Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to identify the OSI layer used by Layer 4 load balancers.

HLD
Layer 4 load balancers operate at the [1] layer of the OSI model.
Drag options to blanks, or click blank then click option'
ATransport
BApplication
CNetwork
DData Link
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing Layer 4 with Layer 7 which deals with application data.
2fill in blank
medium

Complete the code to specify the main feature of Layer 7 load balancers.

HLD
Layer 7 load balancers can make routing decisions based on [1] data like HTTP headers and cookies.
Drag options to blanks, or click blank then click option'
Atransport
Bnetwork
Capplication
Dphysical
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing lower layers that do not inspect application content.
3fill in blank
hard

Fix the error in the statement about Layer 4 load balancers.

HLD
Layer 4 load balancers route traffic based on [1] addresses and port numbers without inspecting the payload.
Drag options to blanks, or click blank then click option'
AMAC
BIP
CDNS
DHTTP
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing MAC addresses with IP addresses.
4fill in blank
hard

Fill both blanks to complete the comparison between Layer 4 and Layer 7 load balancers.

HLD
Layer 4 load balancers are faster because they operate at the [1] layer, while Layer 7 load balancers provide more [2] by inspecting application data.
Drag options to blanks, or click blank then click option'
ATransport
Bsecurity
Cflexibility
DNetwork
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing up layers or confusing flexibility with security.
5fill in blank
hard

Fill all three blanks to complete the description of load balancer features.

HLD
A Layer 4 load balancer uses [1] and [2] to route traffic, while a Layer 7 load balancer can route based on [3] like URL paths.
Drag options to blanks, or click blank then click option'
AIP addresses
Bport numbers
Capplication data
DMAC addresses
Attempts:
3 left
💡 Hint
Common Mistakes
Including MAC addresses as Layer 4 routing criteria.