Fidelity Investments Interview Question

how can we mitigate overfitting?