AWS SysOps Admin SOA-C02 · Reliability and Business Continuity · medium

An Application Load Balancer (ALB) distributes HTTPS requests across an Amazon EC2 Auto Scaling group. Most API calls complete in 200 ms, but a /generate-quarterly-ledger report endpoint takes 480 seconds (8 minutes) for backend worker instances to finish streaming the response. During an Auto Scaling scale-in event, users running the 8-minute ledger export receive abrupt HTTP 502 / connection reset errors exactly 5 minutes (300 seconds) after the instance enters the draining state. What should the SysOps administrator modify?

Published · Last updated · checked before publication — how we verify questions

Options

  • AIncrease the ALB Target Group Deregistration Delay from 300 seconds to 600 secondsCorrect answer
  • BDecrease the ALB Health Check Interval from 30 seconds to 5 seconds on the target group
  • CEnable Route 53 Geolocation routing with a TTL of 60 seconds on the record
  • DChange the Auto Scaling group cooldown period from 300 seconds to 60 seconds

Answer: A. Increase the ALB Target Group Deregistration Delay from 300 seconds to 600 seconds

When an EC2 instance is deregistered from an ALB Target Group (such as during an Auto Scaling scale-in event), the Target Group waits for in-flight requests to complete during the Deregistration Delay (Connection Draining) period, which defaults to 300 seconds (5 minutes) and can be configured up to 3,600 seconds (1 hour). Increasing the Target Group's deregistration_delay.timeout_seconds attribute from 300 to 600 seconds allows the 480-second in-flight requests to complete cleanly before termination.

Why the other options are wrong

  • B. Decrease the ALB Health Check Interval from 30 seconds to 5 seconds on the target group — Health check frequency detects unhealthy instances faster; it does not extend connection draining for terminating instances.
  • C. Enable Route 53 Geolocation routing with a TTL of 60 seconds on the record — DNS TTL controls client DNS caching, not ALB target group connection draining during Auto Scaling scale-in.
  • D. Change the Auto Scaling group cooldown period from 300 seconds to 60 seconds — Scaling cooldowns pause subsequent scaling activities; they do not extend the ALB target group deregistration timer.

All Reliability and Business Continuity questions and the topic overview →

AWS and Amazon Web Services are trademarks of Amazon.com, Inc. PrepIQ Hub is not affiliated with, endorsed by, or sponsored by Amazon Web Services.