Test yourself under real exam conditions: 50 timed questions, 60 on the clock, pass mark 70%%. Instant score with a full review of everything you got wrong. Free — no account needed.
Exam details
Horizontal scaling (or scaling out) means adding more machines to your resource pool to handle increased load. For example, going from 1 server to 10 servers behind a load balancer.
Advantages:
Vertical scaling (or scaling up) means adding more power (CPU, RAM, disk) to an existing machine.
Advantages:
A load balancer distributes incoming network traffic across multiple backend servers to ensure no single server is overwhelmed.
It sits between clients and servers, improving:
NGINX, HAProxy, AWS ALB/NLB.
Common algorithms:
Layer 4 (Transport) load balancers route based on IP address and TCP/UDP port without inspecting packet contents. They are faster but less flexible.
Layer 7 (Application) load balancers inspect HTTP headers, cookies, and URLs to make smarter routing decisions. They can do content-based routing, SSL termination, and request modification.
Example: HAProxy supports both; AWS NLB is L4, ALB is L7.