Course menuSAA-C03

Exams / SAA-C03 / EC2 Auto Scaling / Question 1

SAA-C03 practice question: EC2 Auto Scaling (1 of 3)

Design Resilient Architectures A free question from our original SAA-C03 practice exam. Try it, then open the answer to see why each option is right or wrong.

An online learning platform runs its web application on two Amazon EC2 instances in a single Availability Zone behind an Application Load Balancer (ALB). Sometimes the application on one instance stops responding, although the instance keeps passing its EC2 status checks. The ALB stops sending it traffic, but the instance stays in place until an engineer replaces it, and the site runs at half capacity. The company wants the application to survive the loss of an Availability Zone and to replace failed instances automatically. Which TWO actions should a solutions architect take? (Choose two.)

Choose two answers.

  1. A. Create an Auto Scaling group that uses subnets in at least two Availability Zones, and enable the same zones on the ALB.
  2. B. Configure the Auto Scaling group to use Elastic Load Balancing health checks in addition to the default EC2 status checks.
  3. C. Create a CloudWatch alarm on each instance's StatusCheckFailed_System metric that runs the EC2 recover action when it fails.
  4. D. Lower the target group's health check interval and unhealthy threshold so that failed instances are taken out of service sooner.
  5. E. Launch both instances into a spread placement group so that each one runs on a separate rack with its own network and power.
Show the answer and explanation

Answers: A, B

Explanation

Two separate gaps need closing. An Auto Scaling group across at least two Availability Zones handles the loss of a zone. Turning on ELB health checks for that group handles the hung application: EC2 status checks alone would keep reporting the instance as healthy, so Auto Scaling would never replace it, while the ALB on its own only routes around failed targets.

Study

Keep practising

Answer questions with a score at the end, or practise just this topic with the explanation after each one. No sign-up needed.