AWS - Auto ScalingYou have an Auto Scaling group attached to an ELB. If you increase the desired capacity from 2 to 5, what will happen?AELB immediately routes traffic to 5 instances without waiting for health checks.BAuto Scaling ignores the change and keeps 2 instances running.CAuto Scaling launches 3 new instances and ELB starts routing traffic to them once healthy.DAuto Scaling terminates existing instances to maintain 2 instances.Check Answer
Step-by-Step SolutionSolution:Step 1: Understand desired capacity effectIncreasing desired capacity causes Auto Scaling to launch new instances to meet the target.Step 2: ELB routing behaviorELB routes traffic only to healthy instances after health checks pass.Final Answer:Auto Scaling launches 3 new instances; ELB routes traffic after health checks. -> Option CQuick Check:Desired capacity increase launches instances = C [OK]Quick Trick: ELB routes only healthy new instances after launch [OK]Common Mistakes:Assuming ELB routes traffic before health checksThinking Auto Scaling ignores desired capacity changesBelieving Auto Scaling reduces instances on increase
Master "Auto Scaling" in AWS9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More AWS Quizzes API Gateway - Resources and methods - Quiz 1easy API Gateway - API keys and usage plans - Quiz 3easy API Gateway - API deployment and stages - Quiz 15hard API Gateway - API deployment and stages - Quiz 9hard AWS Lambda - Lambda function concept - Quiz 14medium Auto Scaling - Scaling policies (target tracking, step, simple) - Quiz 1easy Auto Scaling - Minimum, maximum, and desired capacity - Quiz 3easy DynamoDB - DynamoDB Streams overview - Quiz 1easy Elastic Load Balancing - Health checks configuration - Quiz 7medium Elastic Load Balancing - Cross-zone load balancing - Quiz 1easy