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

An Amazon EC2 Auto Scaling group (ASG) sits behind an Application Load Balancer (ALB). During scale-in events, users whose requests take 45 seconds to generate PDF reports receive HTTP 502 Bad Gateway errors because the ASG terminates the instance after 30 seconds before the in-flight request completes. However, when the administrator checks the ALB Target Group, what setting controls how long the ALB waits for in-flight requests to finish while an instance is in the draining state?

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

Options

  • AIncrease the ALB Target Group Deregistration delay above 45 secondsCorrect answer
  • BDecrease the Auto Scaling Group Health check grace period to 0 seconds
  • CDisable Cross-Zone Load Balancing on the Application Load Balancer
  • DChange the Route 53 Alias record routing policy from Simple to Multivalue Answer

Answer: A. Increase the ALB Target Group Deregistration delay above 45 seconds

Deregistration Delay (Connection Draining) on the ALB Target Group (default 300 seconds, configurable from 0 to 3,600 seconds) stops the ALB from sending new requests to a deregistering instance while allowing existing in-flight requests to complete before the instance is terminated.

Why the other options are wrong

  • B. Decrease the Auto Scaling Group Health check grace period to 0 seconds — Health check grace period controls how long an ASG waits after launching a new instance before checking health, not scale-in draining.
  • C. Disable Cross-Zone Load Balancing on the Application Load Balancer — Cross-Zone Load Balancing distributes traffic evenly across AZs and does not prevent premature termination of in-flight connections.
  • D. Change the Route 53 Alias record routing policy from Simple to Multivalue Answer — Route 53 Alias records resolve the ALB DNS name and do not control backend target deregistration draining.

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.