I took and passed the Geotech depth on my first try. I took a night class (~16 sessions, 2 hours per session) that was put on by my local ASCE branch. I then did four practice exams, and took the NCEES practice exam the weekend before the test. I'm assuming most people study more, and I'm lucky...