Medium1 markMultiple Choice
Domain 3.4: Reliability ImprovementReliabilityAuto ScalingALB

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:

A.

Write a cron job on the instances to restart the application service when CPU is high.

B.

Migrate the application to a larger EC2 instance type (vertical scaling).

C.

Place the EC2 instances in an Auto Scaling group behind an Application Load Balancer and configure target tracking scaling policies based on CPU utilization.

D.

Use AWS Lambda to monitor CPU and reboot the instances when utilization exceeds 90%.

How to approach this question

Look for the standard AWS pattern for elasticity and self-healing (ASG + ALB).

Full Answer

C.Place the EC2 instances in an Auto Scaling group behind an Application Load Balancer and configure target tracking scaling policies based on CPU utilization.✓ Correct
An Auto Scaling group ensures you have the correct number of EC2 instances available to handle the load. If an instance fails health checks, the ASG replaces it (self-healing).

Common mistakes

Choosing vertical scaling, which is a temporary fix and not self-healing.

Practice the full AWS Solutions Architect Professional SAP-C02 Practice Exam 1

75 questions · hints · full answers · grading

More questions from this exam