InterviewSolution
| 1. | 
                                    What is lifecycle hook in AWS? | 
                            
| 
                                   
Answer»  In AWS, the lifecycle hook is a feature included in the auto SCALING which helps to control instance launch and termination state within the auto scaling group. It remains in a waiting mode for a certain amount of time when the instance is paused. We can CREATE lifecycle hooks by using the command put-lifecycle-hook. Lifecycle hooks are ALSO customizable with various actions such as by defining a target notification for the lifecycle hook, creating an instance running script as the instance starts or determining a CloudWatch EVENT target to invoke functions associated with the Lambda when the lifecycle ACTION occurs.  | 
                            |