CompTIA Cloud+ (CV0-004)DeploymentEasy
A cloud administrator is tasked with deploying a highly available application that spans across multiple availability zones within a region. The application's web tier consists of identical virtual machines. Which network component is responsible for distributing incoming traffic evenly across these virtual machines and automatically rerouting traffic away from unhealthy instances?
- ALoad Balancer
- BNetwork Security Group (NSG)
- CRouter
- DVirtual Private Cloud (VPC)
Show answer & explanationAnswer & explanation
Correct answer: A. Load Balancer
A Load Balancer distributes incoming network traffic across multiple servers (like virtual machines) to ensure high availability and scalability. It also performs health checks and automatically reroutes traffic away from unhealthy instances, ensuring continuous service.
Why the other options are wrong
- B. An NSG acts as a firewall, controlling traffic flow to instances, but does not distribute traffic or manage health.
- C. A router directs traffic between different networks or subnets but does not distribute traffic to multiple identical instances or perform health checks.
- D. A VPC provides an isolated network environment but does not distribute traffic or perform health checks.
Load Balancer
A device or service that distributes incoming network traffic across a group of backend servers to ensure high availability and scalability.
- Improves application availability and fault tolerance.
- Performs health checks on backend instances.
- Can operate at Layer 4 (TCP) or Layer 7 (HTTP/HTTPS).
Memory trick: Networks Lead Security to Route Traffic.