In the poorer sections of society, most people have to work since their early teens if not younger.
It's hard to cram for standardised tests when you have a full time job, food insecurity, and lack a proper place to study.
People like myself that come from a middle class family can afford private schools and prep schools to get into university and obviously that puts poorer people at a disadvantage.
A long term solution would actually fix the crap public education system, help families keep their children in school so they can get a degree and later a higher paying job, etc.
In this scenario, I see the need for affirmative action to mitigate the problem in the short term. The problem is that the government hasn't done enough to address the root of the problem.
But the idea that it should be based on race is BS. In Brazil, affirmative action should be based on family income.
This is all insanity. Society is short on plumbers and electricians anyway, we should be focusing on those careers, not more Stanford-grad Product Managers.