AWS SAP-C02 · Question 12 · Domain 3.4: Reliability Improvement
An architect is reviewing a legacy application running on EC2 instances. The application frequently experiences CPU exhaustion, leading to downtime. The architect wants to implement a self-healing architecture. What is the BEST approach?
Answer options:
Write a cron job on the instances to restart the application service when CPU is high.
Migrate the application to a larger EC2 instance type (vertical scaling).
Place the EC2 instances in an Auto Scaling group behind an Application Load Balancer and configure target tracking scaling policies based on CPU utilization.
Use AWS Lambda to monitor CPU and reboot the instances when utilization exceeds 90%.
75 questions · hints · full answers · grading