Can you get deported for 2 oz of marijuana?

Not likely. Immigration court focuses on DUI and domestic violence a lot more then minor drug possession. Unless of course, you have a LOOONG record. Then I'd worry.