Cognizant interview question

Servlets life cycle.