AWS Certified Solutions Architect Professional SAP-C02 Practice Question

Your team runs a stateless microservice on Amazon EC2 instances that are managed by a single Auto Scaling group. The group uses a mixed instances policy: 70% Spot Instances and 30% On-Demand Instances, balanced across three Availability Zones. During a recent Spot capacity shortage, several instances received an EC2 instance rebalance recommendation and were terminated two minutes later. For several minutes, the service ran below its desired capacity until replacement instances finished launching, breaching the SLA. You must improve reliability so that new capacity is launched before a Spot instance that is at elevated risk of interruption is terminated, without adding custom automation or permanently increasing the group's size. Which change best meets these requirements?

  • Add an EC2_INSTANCE_TERMINATING lifecycle hook that invokes an AWS Lambda function to launch a replacement instance.

  • Enable Capacity Rebalancing on the Auto Scaling group.

  • Create a predictive scaling policy so the Auto Scaling group launches capacity based on forecasted demand patterns.

  • Increase the Auto Scaling group's minimum capacity by one instance in each Availability Zone.

AWS Certified Solutions Architect Professional SAP-C02
Continuous Improvement for Existing Solutions
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot