AWS Certified Solutions Architect – Associate (SAA-C02) — Question 174
A company wants to host a web application on AWS that will communicate to a database within a VPC. The application should be highly available.
What should a solutions architect recommend?
Answer options
- A. Create two Amazon EC2 instances to host the web servers behind a load balancer, and then deploy the database on a large instance.
- B. Deploy a load balancer in multiple Availability Zones with an Auto Scaling group for the web servers, and then deploy Amazon RDS in multiple Availability Zones.
- C. Deploy a load balancer in the public subnet with an Auto Scaling group for the web servers, and then deploy the database on an Amazon EC2 instance in the private subnet.
- D. Deploy two web servers with an Auto Scaling group, configure a domain that points to the two web servers, and then deploy a database architecture in multiple Availability Zones.
Correct answer: B
Explanation
Option B is correct because it utilizes a load balancer and Auto Scaling across multiple Availability Zones, ensuring high availability for the web application and database. Options A and C do not provide sufficient redundancy since they rely on a single database instance, which could lead to downtime. Option D lacks the use of Amazon RDS, which is specifically designed for high availability in cloud environments.