SAA-C03 Question 68
Select 2A company wants to migrate their on-premises web application to AWS. The application consists of a stateless backend that processes user requests and a MySQL database that stores user data. The company wants to ensure high availability, fault tolerance, and scalability for both the backend and database components. Which combination of AWS services should they use?
- A
Deploy the backend on Amazon EC2 instances behind an Application Load Balancer (ALB) and enable Auto Scaling.
- B
Use Amazon RDS with Multi-AZ deployment for the MySQL database.
- C
Deploy the backend on a single Amazon EC2 instance and take regular snapshots for backup.
- D
Use Amazon DynamoDB instead of MySQL to store user data.
- E
Deploy the backend using AWS Lambda with API Gateway and store data in Amazon S3.
Show answer and explanation
Correct answers: A, B
Explanation
To ensure high availability, fault tolerance, and scalability for the application, the backend should be deployed on EC2 instances behind an ALB with Auto Scaling. This setup handles traffic spikes and provides fault tolerance. For the database, Amazon RDS with Multi-AZ deployment ensures high availability, data durability, and seamless failover, aligning with the company's requirements.
- A. Correct.
Correct: Deploying the backend on EC2 instances behind an ALB ensures high availability and fault tolerance. Using Auto Scaling enables the application to handle varying levels of traffic effectively.
- B. Correct.
Correct: Amazon RDS with Multi-AZ deployment provides high availability and fault tolerance for the MySQL database, ensuring data durability and seamless failover in case of an issue.
- C. Incorrect.
Incorrect: Deploying on a single EC2 instance does not provide high availability or fault tolerance. Regular snapshots help with backups but do not address scalability or availability.
- D. Incorrect.
Incorrect: While DynamoDB is a managed NoSQL database, it is not a direct replacement for MySQL in this scenario. The question specifies the use of MySQL, and DynamoDB would require significant changes to the application.
- E. Incorrect.
Incorrect: AWS Lambda and API Gateway can be used for serverless architectures, but this approach would require rearchitecting the backend. Additionally, Amazon S3 is not suitable for storing relational data like MySQL.