An MBA from an elite MBA program will compensate, but getting into an elite MBA program includes many factors some of which may be affected by one’s undergraduate school.
Without knowing the schools in question, I cannot offer a reasonable response to your second question.