We give coding challenges to our intern applicants, and most fail. We give different challenges and expect different levels of competency for a senior role.
Code challenges at least have the capability of being very useful. We try and present the type of problems people will have to be solving in that position; if they struggle with it and someone else excels, they have done their job.