Question d’entretien chez HSBC

What are the possible methods to test and avoid overfitting when using Machine Learning model.