You are kinder to the folks offering this course than I am. Specific port numbers and command line arguments should be trivial to look up. Memorizing them shows on the one hand, that one is good at memorization, or on the other hand that if one is both very experienced with this, but also disinclined to use command aliases, wrappers, or any other of the basic tools used by just about anyone who routinely uses command lines. I'd expect experienced, competent people to fail the exam unless they put significant effort into cramming less-than-useful facts into their head just before the exam, to predictably forget them shortly thereafter. Though at least being multiple choice would tend to make it easier.