
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
A company hosts a web application on AWS. The company has improved the availability of its application by provisioning multiple Amazon EC2 instances. The company wants to distribute its traffic across the EC2 instances while providing a single point of contact to the web clients. Which AWS service can distribute the traffic to multiple EC2 instances as targets?
A
VPC endpoints
B
Application Load Balancer
C
NAT gateway
D
Internet gateway
Explanation:
The Application Load Balancer (ALB) is the correct AWS service for this scenario because:
Traffic Distribution: ALB automatically distributes incoming application traffic across multiple EC2 instances in multiple Availability Zones
Single Point of Contact: ALB provides a single DNS name that clients can use to access the application, hiding the complexity of multiple backend instances
High Availability: ALB monitors the health of its registered targets and routes traffic only to healthy targets
Layer 7 Load Balancing: ALB operates at the application layer (HTTP/HTTPS) and can make routing decisions based on content
VPC endpoints: These provide private connectivity to AWS services, not load balancing
NAT gateway: This allows outbound internet access for private subnets, not load balancing
Internet gateway: This enables communication between VPC resources and the internet, not load balancing
The Application Load Balancer is specifically designed to distribute traffic across multiple EC2 instances while presenting a single endpoint to clients, making it ideal for improving application availability and scalability.