The US instituted similar measures in the form of "literacy tests"[0] to disenfranchise non-white voters during the Jim Crow era. The questions are intentionally confusing and ambiguous, such that anyone taking them is likely to fail no matter what[1][2]. Whites were exempted from taking the test thanks to a grandfather clause (the origin of the term, incidentally, though now it usually applies to cellphone contracts) that meant you were exempt from the test if your grandfather could vote which of course was only true for well-off white citizens, or other workarounds with similar end results.
[0] https://en.wikipedia.org/wiki/Literacy_test