Question : You have configured ELB with connection drainage. An instance is deregistering with ELB. In this particular case what will be the status of a deregistered instance? 1. Deregistering: Instance deregistration currently in progress 2. OutOfService: Instance is not currently registered with the load balancer 3. Access Mostly Uused Products by 50000+ Subscribers 4. OutofService: Instance is deregistered
Explanation: Connection draining causes the ELB load balancer to stop sending new requests to a deregistered instance or an unhealthy instance, while keeping the existing connections open. While the in-flight requests are being served, the load balancer reports the instance state of the deregistered instance as InService: Instance deregistration currently in progress.
Question : When connection draining is enabled for an ELB, what will be the status of a deregistering instance when ELB has completed all inflight requests? 1. Deregistering: Instance deregistration currently in progress 2. OutofService: Instance is deregistered 3. Access Mostly Uused Products by 50000+ Subscribers 4. InService: Instance deregistration currently in progress
Explanation: Connection draining causes the ELB load balancer to stop sending new requests to a deregistered instance or an unhealthy instance, while keeping the existing connections open. The load balancer reports the instance state as OutOfService: Instance is not currently registered with the load balancer when the deregistered instance has completed serving all in-flight requests or when the maximum timeout limit has been reached, whichever comes first.
Question : You have configured AutoScaling with a scalable web application. When the scaling policy gets executed to decrease the instance count, which of the below mentioned criteria will AutoScaling consider by default? 1. Terminate the instance from the AZ with most number of instances 2. Terminate the instance randomly 3. Access Mostly Uused Products by 50000+ Subscribers 4. Terminate the instance which is nearest to the billing hour
Exp: Before AutoScaling selects an instance to terminate, it first identifies the Availability Zone that has more instances than the other Availability Zones used by the group. If all the Availability Zones have the same number of instances, it identifies a random Availability Zone.