Easy
You just have a proctored exam where all the students enter the examination room with only pencil + paper and 2 hrs and write us up an essay.
The AI bot is excluded!
(When I did my PMP exam they took my belt & shoes and made me go through a metal detector! And again if I visited the toilet facility!)