This is like any open-book exam. Make the time limit reasonable such that if they know the stuff, they can get it done while referring to a few things in a source, but if they don't know it, there's no way they can look it all up in the available time.