Trudeau did complete two years of engineering at a decent school and worked as a math teacher.
While we don't know if he was prepped or regurgitated a paragraph, he probably has the faculties and interest to have a general understanding of what he was talking about. Oftentimes it's easier to actually learn something than to cheat convincingly.