AWS Certified Solutions Architect Professional SAP-C02 Practice Question
A company operates a latency-sensitive REST API in a single AWS Region. The API runs on Amazon EC2 instances in an Auto Scaling group that spans three Availability Zones (AZ-A, AZ-B, and AZ-C) and is fronted by an Application Load Balancer (ALB). The group's desired capacity is 15 instances (minimum 9, maximum 30).
During a recent AZ-wide network impairment in AZ-B, customers experienced elevated error rates because the ALB continued to route new requests to targets in AZ-B and the Auto Scaling group kept trying to launch replacement instances in that AZ, exhausting launch attempts before any capacity was added in the healthy AZs.
Management asks a solutions architect to redesign the scaling strategy to meet these reliability goals:
Automatically stop sending new traffic to an impaired AZ within minutes of the impairment being detected by AWS.
Launch replacement capacity only in the healthy AZs while an AZ remains impaired.
After the impaired AZ recovers, redistribute application traffic and Auto Scaling capacity evenly across all three AZs with no manual intervention.
Which solution will meet these requirements with the LEAST operational overhead?
Enable Zonal autoshift for the ALB in Amazon Application Recovery Controller (ARC) and retain the Auto Scaling group's default Availability Zone rebalancing behavior.
Configure Capacity Rebalancing and a mixed-instances policy that uses 100% On-Demand Instances in the Auto Scaling group. Leave the ALB configuration unchanged.
Add an Auto Scaling lifecycle hook that invokes an AWS Lambda function to suspend AZ-B when instance launches fail. Manually resume the AZ after recovery.
Enable cross-zone load balancing on the ALB and add an Application Load Balancer request-count scaling policy to the Auto Scaling group.
Zonal autoshift, a feature of Amazon Application Recovery Controller (ARC), continuously monitors Availability Zone health and automatically instructs supported resources such as an Application Load Balancer to stop sending new connections to an impaired AZ. This fulfills the first requirement within minutes and requires no operator action.
While the zonal autoshift is active, the Auto Scaling group's default behavior launches new instances only in the remaining healthy AZs, satisfying the second requirement. When the impaired AZ becomes healthy again, the Auto Scaling group's built-in Availability Zone rebalancing mechanism launches instances in the recovered AZ and then terminates excess capacity in the other AZs, restoring an even distribution without manual intervention-meeting the third requirement.
The other options do not fully satisfy the requirements or require additional operational effort:
Cross-zone load balancing and request-count scaling (option B) keep the impaired AZ enabled and do not stop Auto Scaling from attempting launches there.
Capacity Rebalancing with a mixed-instances policy (option C) addresses Spot-instance interruptions, not AZ outages.
A custom lifecycle hook and Lambda function (option D) could work but adds code, monitoring, and manual steps, violating the "least operational overhead" criterion.
Therefore, enabling ARC zonal autoshift for the ALB and keeping the Auto Scaling group's default AZ rebalancing behavior is the best answer.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is Zonal autoshift in Amazon Application Recovery Controller (ARC)?
Open an interactive chat with Bash
How does the default Availability Zone rebalancing behavior in an Auto Scaling group work?
Open an interactive chat with Bash
How does enabling cross-zone load balancing differ from Zonal autoshift for improving AZ reliability?
Open an interactive chat with Bash
AWS Certified Solutions Architect Professional SAP-C02
Continuous Improvement for Existing Solutions
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
IT & Cybersecurity Package Join Premium for Full Access