I'm not sure. If an engineer fails a pilot exam would he get any less respect than a pilot failing a pilot exam??!
I don't think respect can be earnt purely by passing an exam. For me it's more about congratulating all who pass and commiserating or being sympathetic to those who fail. Passing an exam does not give anyone the right to gloat at those who fail.