ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 818 - SAA-C03 discussion

Report
Export

A startup company is hosting a website for its customers on an Amazon EC2 instance. The website consists of a stateless Python application and a MySQL database. The website serves only a small amount of traffic. The company is concerned about the reliability of the instance and needs to migrate to a highly available architecture. The company cannot modify the application code.

Which combination of actions should a solutions architect take to achieve high availability for the website? (Select TWO.)

A.
Provision an internet gateway in each Availability Zone in use.
Answers
A.
Provision an internet gateway in each Availability Zone in use.
B.
Migrate the database to an Amazon RDS for MySQL Multi-AZ DB instance.
Answers
B.
Migrate the database to an Amazon RDS for MySQL Multi-AZ DB instance.
C.
Migrate the database to Amazon DynamoDB. and enable DynamoDB auto scaling.
Answers
C.
Migrate the database to Amazon DynamoDB. and enable DynamoDB auto scaling.
D.
Use AWS DataSync to synchronize the database data across multiple EC2 instances.
Answers
D.
Use AWS DataSync to synchronize the database data across multiple EC2 instances.
E.
Create an Application Load Balancer to distribute traffic to an Auto Scaling group of EC2 instances that are distributed across two Availability Zones.
Answers
E.
Create an Application Load Balancer to distribute traffic to an Auto Scaling group of EC2 instances that are distributed across two Availability Zones.
Suggested answer: B, E

Explanation:

To achieve high availability for the website, two key actions should be taken:

Amazon RDS for MySQL Multi-AZ: By migrating the database to an RDS for MySQL Multi-AZ deployment, the database becomes highly available. Multi-AZ provides automatic failover from the primary database to a standby replica in another Availability Zone, ensuring database availability even in the case of an AZ failure.

Application Load Balancer and Auto Scaling: Deploying an Application Load Balancer (ALB) in front of the EC2 instances ensures that traffic is evenly distributed across the instances. Configuring an Auto Scaling group to run EC2 instances across multiple Availability Zones ensures that the application remains available even if one instance or one AZ becomes unavailable. This setup enhances fault tolerance and improves reliability.

Why Not Other Options?:

Option A (Internet Gateway per AZ): Internet Gateways are region-wide resources and do not need to be provisioned per Availability Zone. This option does not contribute to high availability.

Option C (DynamoDB + Auto Scaling): DynamoDB would require changes to the application code to switch from MySQL, which is not possible per the question's constraints.

Option D (DataSync): AWS DataSync is used for data transfer and synchronization, not for achieving high availability for a database.

AWS

Reference:

Amazon RDS Multi-AZ Deployments - Explanation of how Multi-AZ deployments work in Amazon RDS.

Application Load Balancing - Details on how to configure and use ALB for distributing traffic across multiple instances.

asked 16/09/2024
Syed Azar
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first