CompTIA Cloud+ (CV0-004)Cloud ArchitectureEasy
A cloud engineer needs to design a highly available architecture for a web application that experiences varying traffic loads. The solution must automatically distribute incoming requests across multiple backend servers and seamlessly handle server failures without manual intervention. Which component is essential for meeting these requirements?
- ADistributed Cache
- BLoad Balancer
- CMessage Queue
- DContent Delivery Network (CDN)
Show answer & explanationAnswer & explanation
Correct answer: B. Load Balancer
A load balancer distributes incoming application traffic across multiple targets, such as EC2 instances, in multiple Availability Zones. It also monitors the health of its registered targets and routes traffic only to healthy targets, automatically handling server failures.
Why the other options are wrong
- A. A distributed cache stores frequently accessed data to speed up retrieval, but does not manage traffic distribution or server health.
- C. A message queue facilitates asynchronous communication between application components, not direct traffic distribution or failover.
- D. A CDN primarily caches content closer to users to reduce latency, not for distributing application traffic or handling server failures.
Load Balancer
A device or service that distributes network traffic efficiently across multiple servers to ensure high availability and responsiveness.
- Improves application scalability and reliability.
- Performs health checks on backend servers.
- Can be hardware or software-based.
Memory trick: A Load Balancer is like a traffic cop for your servers, always pointing cars to the open lanes.