Is MIS at Buffalo worth it?

Currently in italy concluding BS in cs, will it be worth to get 40k$ student loan for a tear in usa in mis? Will i find automatically a good job?