You don’t study hard for the exam. You‘re going to be failed tomorrow.
What would it mean with "WILL" rather than "ARE GOING TO"? Because WILL can also be used for prediction, make a guess as well as definite (sure) actions in the future.
And why "to be failed"? What would be the difference with "fail"?