AWS Certified Solutions Architect Professional SAP-C02 Practice Question
A media-streaming platform runs stateless containers in an Auto Scaling group behind a single Application Load Balancer (ALB) that spans three Availability Zones. New application versions are rolled out by gradually replacing the running containers. During deployments, some viewers receive HTTP 500 errors and their long-lived WebSocket streams are dropped when the containers that were handling their sessions are terminated. The operations team must eliminate these customer-visible errors and improve the reliability of deployments while restricting changes to the load-balancing layer only.
Which change to the ALB target group will best meet these requirements?
Increase the target group's deregistration delay to cover the longest session duration and enable the Terminate connections on deregistration attribute.
Enable slow-start mode with a 300-second warm-up period for the target group.
Reduce the target group's deregistration delay to 30 seconds to remove draining targets more quickly.
Turn on cross-zone load balancing for the ALB to distribute traffic evenly across Availability Zones.
When a target is deregistered, the ALB immediately stops sending new connections to it, but any connections that are already established continue until they finish or until the deregistration delay timeout elapses. By extending the deregistration delay to cover the longest possible request or WebSocket session and enabling Terminate connections on deregistration, the load balancer allows in-flight traffic to complete gracefully and then closes any remaining connections. This prevents clients from receiving 5xx errors while the target shuts down.
Slow start only throttles traffic to new targets and does not help existing sessions. Shortening the deregistration delay makes premature termination more likely, and enabling cross-zone load balancing influences traffic distribution but does not protect in-flight requests on a draining target. Therefore, increasing the deregistration delay and turning on connection termination is the correct reliability-focused adjustment.
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 the deregistration delay for an ALB target group?
Open an interactive chat with Bash
What is the Terminate connections on deregistration attribute?
Open an interactive chat with Bash
How does slow-start mode work in ALB target groups?
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