Practice & Scenarios
Which load balancer supports WebSocket connections?
Answer: Application Load Balancer (ALB)
Gaming application needs ultra-low latency. Which ELB?
Answer: Network Load Balancer (NLB)
Route traffic based on HTTP headers?
Answer: ALB with listener rules
Best scaling policy for maintaining 70% CPU?
Answer: Target tracking scaling policy
Prevent rapid scaling events?
Answer: Configure cooldown periods
Scale based on predictable traffic patterns?
Answer: Scheduled scaling actions
RDS Multi-AZ failover time?
Answer:
60-120 seconds automatic failover
Distribute ASG instances across AZs?
Answer:
ASG automatically distributes instances evenly
ELB vs EC2 health checks for web apps?
Answer: ELB health checks are more comprehensive
Health check grace period purpose?
Answer: Allow time for instance initialization
Custom health check endpoint?
Answer: Configure health check path in target group
Stateless application design benefit?
Answer: Enables horizontal scaling
Store session data for scalable web app?
Answer: ElastiCache or DynamoDB
Loose coupling between tiers?
Answer: Use SQS, SNS, or API Gateway
Black Friday traffic expected to increase 10x. How to prepare?
Solution:
Design disaster recovery across regions with 4-hour RTO.
Solution: