SAA-C03 practice question 9 of 35
A company uses an Amazon EC2 instance to handle requests for a public web application. The application routes traffic to multiple application pages…
Full set: 972 questionsDomain Design Resilient Architectures
This solution directly addresses the core requirements of scalability and high availability for a web application. An Application Load Balancer (ALB) is designed to handle HTTP/HTTPS traffic and can perform path-based routing, which matches the application's needs. An Auto Scaling group (ASG) automatically adjusts the number of EC2 instances based on traffic demand, providing the necessary elasticity to handle unpredictable surges. By launching instances from a pre-configured Amazon Machine Image (AMI) and setting a minimum capacity of two, the architecture ensures both consistent application deployment and immediate high availability across multiple instances.
B: A Network Load Balancer (NLB) operates at Layer 4 (TCP/UDP) and is not ideal for the application's Layer 7 (HTTP) path-based routing requirement. An ALB is the correct choice. C: This is a manual, static solution. It does not automatically scale in response to traffic changes and relies on DNS round-robin, which is not a robust method for load balancing or health checking. D: This solution adds a load balancer and an alarm but fails to add any scaling capability. The single EC2 instance remains the bottleneck, and an alarm only provides notification, not remediation.
1. AWS Documentation - What is an Application Load Balancer?: "An Application Load Balancer functions at the application layer
the seventh layer of the Open Systems Interconnection (OSI) model. ... After the load balancer receives a request
it evaluates the listener rules in priority order to determine which rule to apply
and then selects a target from a target group for the rule action. You can configure listener rules to route requests to different target groups based on the content of the application traffic
such as ... path patterns in the URL." This supports the use of an ALB for path-based routing.
Source: AWS Elastic Load Balancing User Guide
"What is an Application Load Balancer?".
2. AWS Documentation - What is Amazon EC2 Auto Scaling?: "Amazon EC2 Auto Scaling helps you ensure that you have the correct number of Amazon EC2 instances available to handle the load for your application. ... You can use dynamic scaling and predictive scaling policies to scale your EC2 capacity in response to changing traffic patterns." This confirms that an Auto Scaling group is the correct service for handling unpredictable traffic surges.
Source: AWS Amazon EC2 Auto Scaling User Guide
"What is Amazon EC2 Auto Scaling?".
3. AWS Well-Architected Framework - Performance Efficiency Pillar: "Use an automated solution to scale your workload based on demand. For example
you can use Auto Scaling to add and remove servers based on a schedule or in response to changing load." This document recommends the exact pattern described in the correct answer for achieving performance efficiency and elasticity.
Source: AWS Well-Architected Framework
Performance Efficiency Pillar whitepaper
PER 4: "How do you select the best performing architecture?"
Section: "Use elasticity to meet demand".
Question breakdown
Key idea: An Auto Scaling group behind an Application Load Balancer adds and removes instances automatically while the ALB handles HTTP path routing and health checks.
How to reach the answer
- The single instance fails under unpredictable surges, so capacity must scale automatically.
- URL path routing indicates a Layer 7 load balancer (ALB).
- Bake the current instance into an AMI and launch it from an Auto Scaling group with a minimum of two for availability.
- Register the ASG with the ALB target group so new instances receive traffic automatically.
Each option
Common trap: Option D sounds proactive because it monitors spikes, but an alarm without a scaling action does not add capacity.
In practice: The ALB + Auto Scaling group pattern with target-tracking policies is the default architecture for stateless web applications on EC2.
Remember: Elasticity on EC2 means an Auto Scaling group; Layer 7 routing means an ALB.
Official documentation: What is Amazon EC2 Auto Scaling? · What is an Application Load Balancer?
Drafted with AI assistance and checked against the answer key.
Keep practicing
Take the free SAA-C03 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other SAA-C03 practice questions
- Question 1A solutions architect is designing the architecture for a two-tier web application. The w…
- Question 2A company has a VPC with multiple private subnets that host multiple applications. The ap…
- Question 3A company has established a new AWS account. The account is newly provisioned and no chan…
- Question 4A company wants a flexible compute solution that includes Amazon EC2 instances and AWS Fa…
- Question 5A company deployed a three-tier web application in a single Availability Zone in the us-e…
- Question 6A company serves its website by using an Auto Scaling group of Amazon EC2 instances in a …
