SOA-C02 Question 123
Select 3You are a SysOps Administrator managing an application that requires scaling both EC2 instances and RDS databases dynamically based on demand. You want to automate this scaling and ensure high availability while minimizing manual intervention. Which combination of steps should you take to achieve this?
- A
Configure an Auto Scaling group for the EC2 instances with a scaling policy based on CloudWatch alarms.
- B
Manually monitor the RDS database load and scale it up or down using the AWS Management Console.
- C
Enable Amazon RDS Auto Scaling by configuring a target tracking scaling policy for the database read replicas.
- D
Use Elastic Beanstalk to manage the EC2 instances while manually scaling the database.
- E
Set up CloudWatch alarms to monitor EC2 instance CPU utilization and trigger notifications only.
- F
Configure an Application Load Balancer to distribute traffic across multiple EC2 instances.
Show answer and explanation
Correct answers: A, C, F
Explanation
To automate scaling and ensure high availability, you need to use an Auto Scaling group for EC2 instances to dynamically adjust capacity based on load. For RDS, enabling Auto Scaling for read replicas allows the database to respond to demand changes automatically. Additionally, an Application Load Balancer helps distribute traffic efficiently across scaled EC2 instances. Together, these steps provide a comprehensive and automated solution for managing application scalability and availability.
- A. Correct.
Correct. Configuring an Auto Scaling group with scaling policies based on CloudWatch metrics ensures that the number of EC2 instances adjusts automatically based on demand.
- B. Incorrect.
Incorrect. Manually monitoring and scaling the RDS database is not an automated solution and increases the risk of human error or delayed scaling.
- C. Correct.
Correct. Amazon RDS Auto Scaling allows automated scaling of read replicas, ensuring the database can handle varying loads without manual intervention.
- D. Incorrect.
Incorrect. While Elastic Beanstalk can manage EC2 instances, it does not automatically scale RDS databases, making it a partial solution.
- E. Incorrect.
Incorrect. CloudWatch alarms triggering notifications alone do not automate the scaling process; they only alert you to resource utilization changes.
- F. Correct.
Correct. An Application Load Balancer ensures that traffic is evenly distributed across EC2 instances, improving availability and supporting the scaling setup.