0
0
AWScloud~20 mins

Auto Scaling with ELB integration in AWS - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Auto Scaling ELB Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
Architecture
intermediate
2:00remaining
How does an Auto Scaling group interact with an Elastic Load Balancer?

When you attach an Auto Scaling group to an Elastic Load Balancer (ELB), what happens to the instances launched by the Auto Scaling group?

AThe instances must be manually registered with the ELB after launch to receive traffic.
BThe instances are automatically registered with the ELB and receive traffic based on health checks.
CThe ELB only routes traffic to instances outside the Auto Scaling group.
DThe Auto Scaling group disables ELB health checks and uses its own only.
Attempts:
2 left
💡 Hint

Think about how ELB and Auto Scaling work together to distribute traffic.

service_behavior
intermediate
2:00remaining
What happens when an instance fails ELB health checks in an Auto Scaling group?

If an instance in an Auto Scaling group attached to an ELB fails the ELB health checks, what is the expected behavior?

AThe instance remains running but is removed from the ELB's routing until healthy again.
BThe Auto Scaling group disables the ELB health checks and relies on EC2 status checks.
CThe ELB ignores the health check failure and continues routing traffic to the instance.
DThe instance is immediately terminated and replaced by the Auto Scaling group.
Attempts:
2 left
💡 Hint

Consider how ELB and Auto Scaling handle instance health separately.

security
advanced
2:00remaining
Which security group configuration allows Auto Scaling instances to register with an ELB?

You have an Auto Scaling group and an ELB in the same VPC. Which security group rule is required to allow the ELB to send traffic to the instances?

AAllow inbound traffic on all ports from the instances' security group in the ELB's security group.
BAllow inbound traffic on the ELB listener port from 0.0.0.0/0 in the instances' security group.
CAllow outbound traffic on all ports from the instances' security group to 0.0.0.0/0.
DAllow inbound traffic on the ELB listener port from the ELB's security group in the instances' security group.
Attempts:
2 left
💡 Hint

Think about how security groups reference each other for traffic control.

Configuration
advanced
2:00remaining
What is the effect of setting ELB health check grace period in Auto Scaling?

In an Auto Scaling group attached to an ELB, what does setting a health check grace period do?

AIt forces immediate termination of instances failing ELB health checks during the grace period.
BIt disables ELB health checks permanently for all instances in the group.
CIt delays the start of ELB health checks on new instances to allow them to initialize.
DIt sets the timeout for ELB health checks to wait for a response from instances.
Attempts:
2 left
💡 Hint

Consider why new instances might need time before health checks start.

Best Practice
expert
3:00remaining
How to ensure zero downtime during Auto Scaling group updates with ELB?

You want to update the launch configuration of an Auto Scaling group attached to an ELB without causing downtime. Which approach ensures zero downtime?

ACreate a new Auto Scaling group with the updated launch configuration and gradually shift traffic using ELB target group deregistration delay.
BUpdate the launch configuration and immediately terminate all instances to force replacement.
CDetach the ELB from the Auto Scaling group during update and reattach after all instances are replaced.
DManually deregister instances from the ELB before terminating them to avoid traffic loss.
Attempts:
2 left
💡 Hint

Think about how to replace instances gradually without dropping traffic.