AWS Certified CloudOps Engineer Associate SOA-C03 Practice Question
An e-commerce application runs on EC2 instances in two Availability Zones, fronted by an Application Load Balancer (ALB). Some checkout requests take 3 to 4 minutes to complete, and users intermittently receive 504 Gateway Timeout responses. CloudWatch shows the targets are healthy and no Auto Scaling scale-in events occurred. Which change will most effectively prevent these timeouts without redesigning the application?
Enable connection draining by setting the target group deregistration delay to 300 seconds.
Enable cross-zone load balancing on the ALB.
Increase the ALB idle timeout to a value higher than the longest expected request processing time.
Replace the ALB with a Network Load Balancer to remove all timeout limits.
The ALB returns a 504 Gateway Timeout when it closes the connection because no response is received from the target before the load balancer's idle timeout elapses. The default idle timeout for an ALB is 60 seconds, which is shorter than the 3- to 4-minute checkout operations. Increasing the idle timeout to exceed the longest expected request duration allows the load balancer to keep the connection open until the target responds, eliminating the observed 504 errors.
Changing the deregistration delay only affects in-flight requests during scale-in, not long-running requests on healthy targets. Enabling cross-zone load balancing distributes traffic across zones and does not influence connection timeouts. A Network Load Balancer also has a connection idle timeout (with a default of 350 seconds for TCP listeners), so replacing the ALB with an NLB would not remove timeout limits. Simply adjusting the ALB's idle timeout is the most direct and cost-effective fix.
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 ALB idle timeout, and why does it matter?
Open an interactive chat with Bash
How does the deregistration delay impact in-flight requests?
Open an interactive chat with Bash
Why is replacing the ALB with an NLB not effective for timeout issues?
Open an interactive chat with Bash
What is the ALB idle timeout, and why does it matter?
Open an interactive chat with Bash
How does connection draining and deregistration delay work in target groups?
Open an interactive chat with Bash
What is the difference between an ALB and an NLB in handling timeouts?
Open an interactive chat with Bash
AWS Certified CloudOps Engineer Associate SOA-C03
Reliability and Business Continuity
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .