A good designed test shouldn't depend on rote memorization, so it would require much less intrusive spying.
Example: design a database schema for a grocery store with such and such requirements... you either know or don't know how to do it but you won't find the answer on the web.