I've passed the bar exam.
It is not a good indicator of competence.
Most people pay a third party (after having paid for law school) to cram the information into their head in a short period of time.
RHCE for example isn't great, but having passed both I think it's actually better than the bar exam, since they at least hand you a live broken server.