1. The boys are such smart people that they will pass the ecam.
2. The boys are so smart people that they will pass the exam.
Are the both sentences grammatical?
I'm not a teacher, but I write for a living. Please don't ask me about 2nd conditionals, but I'm a safe bet for what reads well in (American) English.