AWS Certified Solutions Architect Associate SAA-C03 Practice Question
As part of its disaster recovery plan, an eCommerce company must ensure uninterrupted service of their workload in case of an EC2 instance failure. The workload is sensitive to client session state. To improve the current architecture's resiliency, what should be implemented?
Use Amazon RDS Multi-AZ with synchronous replication and automatic failover alongside AWS Elastic Beanstalk for application deployment.
Implement an Application Load Balancer with an EC2 Auto Scaling group, distributing instances across multiple Availability Zones and leveraging ALB's stickiness feature.
Deploy the application on Amazon S3 and serve static resources through Amazon CloudFront, using Amazon RDS with a Multi-AZ deployment for the database layer.
Assign primary and secondary Elastic IP addresses to EC2 instances and script failover logic to re-associate the EIP to a standby instance upon failure.
Using an Application Load Balancer in conjunction with EC2 Auto Scaling across multiple Availability Zones is the most resilient option for maintaining service continuity and client session state. The ALB offers session stickiness, which is crucial for stateful applications to maintain user session information across requests, hence its suitability for an eCommerce workload. Auto Scaling ensures that upon an EC2 instance failure, a new instance is provisioned automatically to replace the failed one, preserving the desired capacity and performance levels. Directly deploying the application on S3 with Amazon CloudFront for static resources does not cater to the stateful nature of the application. While RDS Multi-AZ does serve as a resilient database solution, it does not facilitate high availability for the application layer itself. Utilizing Elastic IP addresses does not inherently provide failover for instance failures and lacks the capability to automatically reroute traffic to healthy instances.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is an Application Load Balancer (ALB)?
Open an interactive chat with Bash
How does EC2 Auto Scaling work?
Open an interactive chat with Bash
What does session stickiness mean in the context of ALB?