I've had the most success doing a remote, one-hour pair programming exercise via screen sharing with the candidate. They're allowed to look at docs, do any google searches, and I don't penalize them if they don't finish. I'm more interested in the process and the way they navigate their environment to solve problems. I continually coach them to speak aloud whatever they're thinking, especially if stuck on something. My last hire was someone who didn't finish the exercise, but I really liked their approach to solving the problem. It's the closest thing to "what would it be like to work with this person" that I've found. This has been super effective for me after many years of making bad hires through "technical interviews" and take home assignments.