There are various forms of “random” selection. The most common is a explosives residue swab (of palms and bags), which seems to be done every x people in a line. Another is the dreaded SSSS (secondary security screening selection), which shows up on your boarding pass.