If you're bad at taking tests, being able to make a vague excuse for why you failed one is not an acceptable substitution for passing it.
Nor is the above argument an acceptable substitution for a sound argument that these kinds of tests have some kind of validity.
If you ask questions that are relative to the job and something you might run into or someone asking you for help, then that is different.
But, I've personally never been asked these kinds of questions in a live coding/whiteboarding session. It's always brain teasers or some sort of algorithmic problem. Usually they are things that aren't necessarily hard, but are about as far from everyday work as you can get.
If you're bad at taking tests, being able to make a vague excuse for why you failed one is not an acceptable substitution for passing it.