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?
VPC endpoints
Application Load Balancer
NAT gateway
Internet gateway
Explanations:
VPC endpoints enable private connections to services within the AWS ecosystem without an internet gateway.
An Application Load Balancer (ALB) distributes incoming traffic to multiple EC2 instances, providing a single point of contact and improving availability.
NAT gateways allow instances in a private subnet to connect to the internet but do not distribute traffic.
Internet gateways allow instances in a VPC to communicate with the internet but do not manage traffic distribution.