A challenge-response test used for determining human users is called CAPTCHA.

A CAPTCHA (an acronym for "Completely Automated Public Turing test to tell Computers and Humans Apart") is a type of challenge-response test used in computing to determine whether or not the user is human.

Several modules offer captcha implementations; the CAPTCHA and reCAPTCHA modules are two of the most popular.