AWS Certified Solutions Architect – Associate (SAA-C02) — Question 183
A company is running a three-tier web application to process credit card payments. The front-end user interface consists of static webpages. The application tier can have long-running processes. The database tier uses MySQL.
The application is currently running on a single, general purpose large Amazon EC2 instance. A solutions architect needs to decouple the services to make the web application highly available.
Which solution would provide the HIGHEST availability?
Answer options
- A. Move static assets to Amazon CloudFront. Leave the application in EC2 in an Auto Scaling group. Move the database to Amazon RDS to deploy Multi-AZ.
- B. Move static assets and the application into a medium EC2 instance. Leave the database on the large instance. Place both instances in an Auto Scaling group.
- C. Move static assets to Amazon S3. Move the application to AWS Lambda with the concurrency limit set. Move the database to Amazon DynamoDB with on- demand enabled.
- D. Move static assets to Amazon S3. Move the application to Amazon Elastic Container Service (Amazon ECS) containers with Auto Scaling enabled. Move the database to Amazon RDS to deploy Multi-AZ.
Correct answer: D
Explanation
Option D is the best choice because it utilizes Amazon S3 for static assets, Amazon ECS for running the application in containers with Auto Scaling, and Amazon RDS for a highly available database setup in Multi-AZ. This architecture ensures that all components can scale independently and remain resilient to failures. The other options either do not fully utilize containerization or fail to achieve the same level of decoupling and availability as option D.