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
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.
More Reliability and Business Continuity questions
- An Application Load Balancer (ALB) distributes HTTPS requests across an Amazon EC2 Auto Scaling group. Most API calls…
- A production Amazon RDS for PostgreSQL database is deployed in a Single-AZ configuration. The company requires two…
- To comply with SEC Rule 17a-4 and protect against ransomware where an attacker compromises an AWS account's…
- An Amazon EC2 Auto Scaling group runs a proprietary financial analytics server whose UserData bootstrap script…
- An Amazon EC2 Auto Scaling group uses a Target Tracking Scaling Policy set to keep average CPUUtilization at 50%…
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.