Skip to Content

Amazon SAA-C03: What is the Most Cost-Effective Way to Make an EC2 Application Highly Available and Scalable?

Learn the most cost-effective combination of steps to make an Amazon EC2 application highly available and automatically scalable using Auto Scaling groups and Application Load Balancers.

Table of Contents

Question

A company recently launched a new application for its customers. The application runs on multiple Amazon EC2 instances across two Availability Zones. End users use TCP to communicate with the application.

The application must be highly available and must automatically scale as the number of users increases.

Which combination of steps will meet these requirements MOST cost-effectively? (Choose two.)

A. Add a Network Load Balancer in front of the EC2 instances.
B. Configure an Auto Scaling group for the EC2 instances.
C. Add an Application Load Balancer in front of the EC2 instances.
D. Manually add more EC2 instances for the application.
E. Add a Gateway Load Balancer in front of the EC2 instances.

Answer

B. Configure an Auto Scaling group for the EC2 instances.
C. Add an Application Load Balancer in front of the EC2 instances.

Explanation

The most cost-effective way to make the EC2 application highly available and automatically scalable is to:

B. Configure an Auto Scaling group for the EC2 instances. Auto Scaling groups allow you to automatically launch or terminate EC2 instances based on specified conditions, such as an increase in traffic. This ensures the application can handle spikes in demand without manual intervention. It is cost-effective because you only pay for the EC2 instances you need at any given time.

C. Add an Application Load Balancer (ALB) in front of the EC2 instances. ALBs automatically distribute incoming traffic across multiple EC2 instances and Availability Zones. This improves availability by ensuring the application remains accessible even if an instance or Availability Zone fails. ALBs support HTTP/HTTPS traffic and provide advanced routing features. They are cost-effective because you only pay for the resources you use.

The other options are not as suitable:

A Network Load Balancer is not ideal because it operates at the connection level and does not support advanced routing.

Manually adding EC2 instances is not cost-effective and does not provide automatic scaling.

A Gateway Load Balancer is used for third-party appliances and is not the best fit for this use case.

Therefore, configuring an Auto Scaling group and Application Load Balancer is the most cost-effective combination to achieve high availability and automatic scaling for the EC2 application.

Amazon AWS Certified Solutions Architect – Associate SAA-C03 certification exam assessment practice question and answer (Q&A) dump including multiple choice questions (MCQ) and objective type questions, with detail explanation and reference available free, helpful to pass the Amazon AWS Certified Solutions Architect – Associate SAA-C03 exam and earn Amazon AWS Certified Solutions Architect – Associate SAA-C03 certification.