Of course they don't directly evaluate competency. Just like a math test doesn't directly evaluate the ability to do math (real math, as done by mathematicians - not schoolwork). The hope is that you can evaluate some other thing that's positively correlated with the desired property and is easier to measure.
But you can study for the interview just like you study for the test.
But you can study for the interview just like you study for the test.