What lessons can India learn from its response to recent global shocks to strengthen its economic resilience in the future?

India's resilience to global shocks has been praised, but I want to understand what strategies or policies helped, and how these can be improved or replicated to prepare for future crises.