Q28 — AWS SAA-C03 Ch.12

Question 28 of 100 | ← Chapter 12

Q828. A company's web application that is hosted in the AWS Cloud recently increased in popularity. The web application currently exists on a single Amazon EC2 instance in a single public subnet. The web application has not been able to meet the demand of the increased web traffic.The company needs a solution that will provide high availability and scalability to meet the increased user demand without rewriting the web application.Which combination of steps will meet these requirements? (Choose two.)

Correct Answer: B. Configure Amazon EC2 Auto Scaling with multiple Availability Zones in private subnets., E. Configure an Application Load Balancer in a public subnet to distribute web traffic.

Explanation

The combination of steps that will meet the requirements is:B. Configure Amazon EC2 Auto Scaling with multiple Availability Zones in private subnets.E. Configure an Application Load Balancer in a public subnet to distribute web traffic.To provide high availability and scalability without rewriting the web application, you can follow these steps:Step 1: Configure Amazon EC2 Auto Scaling with multiple Availability Zones in private subnets (Option B)By configuring EC2 Auto Scaling, you can automatically adjust the number of EC2 instances based on the demand. EC2 Auto Scaling helps ensure that the application can scale horizontally to handle increased traffic. By deploying instances across multiple Availability Zones, you enhance the availability and fault tolerance of the application.Step 2: Configure an Application Load Balancer in a public subnet to distribute web traffic (Option E)An Application Load Balancer (ALB) can evenly distribute web traffic across multiple instances. By placing the ALB in a public subnet, it can receive incoming requests from the internet and route them to the EC2 instances running in the private subnets. The ALB provides load balancing, high availability, and automatic scaling capabilities.Options A and D suggest replacing the EC2 instance with a larger compute or memory optimized instance. While upgrading the instance type might provide some performance improvements, it may not be sufficient to handle the increased demand on its own. Additionally, it does not provide the high availability and scalability required.Option C suggests configuring a NAT gateway to handle web requests. However, a NAT gateway is primarily used for outbound internet traffic from private subnets, and it does not provide load balancing or scalability features.Therefore, the correct combination of steps is to configure Amazon EC2 Auto Scaling with multiple Availability Zones in private subnets (Option B) and configure an Application Load Balancer in a public subnet to distribute web traffic (Option E).