A web application hosted on a single Amazon EC2 instance in a single public subnet is failing to handle increased traffic. The company needs high availability and scalability without rewriting the application. Which two steps will meet these requirements? (Choose two.)
Choose an answer
Tap an option to check your answer.
Correct answer: Configure Amazon EC2 Auto Scaling with multiple Availability Zones in private subnets., Configure an Application Load Balancer in a public subnet to distribute web traffic..
Why this is the answer
To achieve high availability and scalability, an Application Load Balancer (ALB) should be configured in a public subnet. The ALB will distribute incoming web traffic across multiple targets, improving fault tolerance and performance. EC2 Auto Scaling should then be configured with multiple Availability Zones (AZs) and private subnets. Auto Scaling automatically adjusts the number of EC2 instances based on demand, ensuring scalability. Deploying instances across multiple AZs provides high availability, as an outage in one AZ will not affect the application's availability. Using private subnets for the EC2 instances enhances security by preventing direct internet access. Replacing the EC2 instance with a larger one (compute or memory optimized) only scales vertically, which is a single point of failure and has limits. A NAT Gateway is used for instances in private subnets to access the internet, not for handling incoming web requests.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed